aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2023-09-13 20:18:44 +0000
committerAlex Deucher <[email protected]>2023-11-17 05:46:01 +0000
commit1ffa8602e39b89469dc703ebab7a7e44c33da0f7 (patch)
tree59f1617450516c4813a547a49963249042a6823f /drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c
parentLinux 6.7-rc1 (diff)
downloadkernel-1ffa8602e39b89469dc703ebab7a7e44c33da0f7.tar.gz
kernel-1ffa8602e39b89469dc703ebab7a7e44c33da0f7.zip
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 <[email protected]> Cc: Alex Deucher <[email protected]> Cc: [email protected] Reviewed-by: Hansen Dsouza <[email protected]> Acked-by: Alex Hung <[email protected]> Signed-off-by: Nicholas Kazlauskas <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c')
0 files changed, 0 insertions, 0 deletions