diff options
author | Wyatt Wood <wyatt.wood@amd.com> | 2021-09-21 09:17:27 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-10-04 15:23:02 -0400 |
commit | 64df665ffed8dc54a25ac1eedd4955eb56b08081 (patch) | |
tree | c05a4a7de9f182b2ef04e3cf96d272c51b6d402b /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
parent | 519607a2f7798decb9c891a4f706aaf780f5a677 (diff) | |
download | linux-64df665ffed8dc54a25ac1eedd4955eb56b08081.tar.gz linux-64df665ffed8dc54a25ac1eedd4955eb56b08081.tar.bz2 linux-64df665ffed8dc54a25ac1eedd4955eb56b08081.zip |
drm/amd/display: Prevent using DMUB rptr that is out-of-bounds
[Why]
Running into bugchecks during stress test where rptr is 0xFFFFFFFF.
Typically this is caused by a hard hang, and can come from HW outside
of DCN.
[How]
To prevent bugchecks when writing the DMUB rptr, fist check that the
rptr is valid.
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Wyatt Wood <wyatt.wood@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/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions