linux/drivers/gpu/drm/amd/display/dc/dcn10
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
..
dcn10_cm_common.c
dcn10_cm_common.h
dcn10_dpp.c drm/amd/display: remove set but not used variable 'pixel_width' 2020-04-30 16:49:09 -04:00
dcn10_dpp.h
dcn10_dpp_cm.c
dcn10_dpp_dscl.c
dcn10_dwb.c
dcn10_dwb.h
dcn10_hubbub.c drm/amd/display: Fix disable_stutter debug option 2020-05-21 12:37:19 -04:00
dcn10_hubbub.h
dcn10_hubp.c
dcn10_hubp.h
dcn10_hw_sequencer.c drm/amd/display: Fix potential integer wraparound resulting in a hang 2020-05-27 18:42:10 -04:00
dcn10_hw_sequencer.h drm/amd/display: Defer cursor lock until after VUPDATE 2020-05-21 12:48:43 -04:00
dcn10_hw_sequencer_debug.c
dcn10_hw_sequencer_debug.h
dcn10_init.c drm/amd/display: Defer cursor lock until after VUPDATE 2020-05-21 12:48:43 -04:00
dcn10_init.h
dcn10_ipp.c
dcn10_ipp.h
dcn10_link_encoder.c
dcn10_link_encoder.h
dcn10_mpc.c drm/amd/display: Use cursor locking to prevent flip delays 2020-04-28 16:19:56 -04:00
dcn10_mpc.h drm/amd/display: Use cursor locking to prevent flip delays 2020-04-28 16:19:56 -04:00
dcn10_opp.c
dcn10_opp.h
dcn10_optc.c
dcn10_optc.h
dcn10_resource.c drm/amd/display: Mode change with same timing causing long display blank 2020-05-05 13:11:06 -04:00
dcn10_resource.h
dcn10_stream_encoder.c drm/amd/display: remove set but not used variable 'speakers' in dcn10_stream_encoder.c 2020-04-30 16:49:14 -04:00
dcn10_stream_encoder.h
Makefile