mirror_ubuntu-kernels/drivers/gpu/drm/amd/display/dmub
Wyatt Wood 64df665ffe 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>
2021-10-04 15:23:02 -04:00
..
inc drm/amd/display: [FW Promotion] Release 0.0.86 2021-09-28 09:30:13 -04:00
src drm/amd/display: Prevent using DMUB rptr that is out-of-bounds 2021-10-04 15:23:02 -04:00
dmub_srv_stat.h drm/amd/display: Support for DMUB AUX 2021-03-02 14:05:41 -05:00
dmub_srv.h drm/amd/display: Prevent using DMUB rptr that is out-of-bounds 2021-10-04 15:23:02 -04:00