diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2023-09-13 16:18:44 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-11-17 00:46:01 -0500 |
commit | 1ffa8602e39b89469dc703ebab7a7e44c33da0f7 (patch) | |
tree | 59f1617450516c4813a547a49963249042a6823f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (diff) |
drm/amd/display: Guard against invalid RPTR/WPTR being set
[WHY]
HW can return invalid values on register read, guard against these being
set and causing us to access memory out of range and page fault.
[HOW]
Guard at sync_inbox1 and guard at pushing commands.
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Hansen Dsouza <hansen.dsouza@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions