summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra
diff options
context:
space:
mode:
authorAric Cyr <aric.cyr@amd.com>2020-05-12 11:48:48 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-05-27 18:42:10 -0400
commit185082b679b4bd6dfb69764eaa89213b26f6f703 (patch)
tree3d27954d6d7877c4d8eb79aabe481ecb49ef9e9d /drivers/gpu/drm/tegra
parent8d43e3966b31df1986342dc8b69072ee26f0589b (diff)
downloadlinux-185082b679b4bd6dfb69764eaa89213b26f6f703.tar.bz2
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>
Diffstat (limited to 'drivers/gpu/drm/tegra')
0 files changed, 0 insertions, 0 deletions