aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorGravatar Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> 2023-09-13 16:18:44 -0400
committerGravatar Alex Deucher <alexander.deucher@amd.com> 2023-11-17 00:46:01 -0500
commit1ffa8602e39b89469dc703ebab7a7e44c33da0f7 (patch)
tree59f1617450516c4813a547a49963249042a6823f /drivers/gpu/drm/amd/amdgpu
parentLinux 6.7-rc1 (diff)
downloadlinux-1ffa8602e39b89469dc703ebab7a7e44c33da0f7.tar.gz
linux-1ffa8602e39b89469dc703ebab7a7e44c33da0f7.tar.bz2
linux-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 <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 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions