linux_dsm_epyc7002/drivers/gpu/drm/amd
Aric Cyr 185082b679 drm/amd/display: Fix potential integer wraparound resulting in a hang
[Why]
If VUPDATE_END is before VUPDATE_START the delay calculated can become
very large, causing a soft hang.

[How]
Take the absolute value of the difference between START and END.

Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-05-27 18:42:10 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu: fix device attribute node create failed with multi gpu 2020-05-26 15:51:45 -04:00
amdkfd drm/amdkfd: report the real PCI bus number 2020-05-21 12:48:42 -04:00
display drm/amd/display: Fix potential integer wraparound resulting in a hang 2020-05-27 18:42:10 -04:00
include drm/amdgpu: add apu flags (v2) 2020-05-22 13:41:53 -04:00
powerplay drm/amdgpu: add apu flags (v2) 2020-05-22 13:41:53 -04:00