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 drm/amd/display: programming last delta in output transfer function LUT to a correct value 2020-02-25 11:05:51 -05:00
dcn10_cm_common.h
dcn10_dpp_cm.c drm/amd/display: Fix double buffering in dcn2 ICSC 2020-01-16 14:13:16 -05:00
dcn10_dpp_dscl.c drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
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 drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dcn10_dwb.c drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
dcn10_dwb.h drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
dcn10_hubbub.c drm/amd/display: Fix disable_stutter debug option 2020-05-21 12:37:19 -04:00
dcn10_hubbub.h drm/amd/display: optimize prgoram wm and clks 2020-02-25 11:09:37 -05:00
dcn10_hubp.c drm/amd/display: Add HW rotation cursor changes to dcn10 2020-04-22 18:11:48 -04:00
dcn10_hubp.h drm/amd/display: update chroma viewport wa 2019-12-18 16:09:08 -05:00
dcn10_hw_sequencer_debug.c drm/amd/display: refactor dump_clk_registers 2019-07-18 14:18:09 -05:00
dcn10_hw_sequencer_debug.h drm/amd/display: cleanup of function pointer tables 2019-11-19 10:12:53 -05:00
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_init.c drm/amd/display: Defer cursor lock until after VUPDATE 2020-05-21 12:48:43 -04:00
dcn10_init.h drm/amd/display: cleanup of function pointer tables 2019-11-19 10:12:53 -05:00
dcn10_ipp.c drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dcn10_ipp.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dcn10_link_encoder.c drm/amd/display: determine USB C DP2 mode only when USB DP Alt is enabled 2020-04-09 10:43:17 -04:00
dcn10_link_encoder.h drm/amd/display: determine USB C DP2 mode only when USB DP Alt is enabled 2020-04-09 10:43:17 -04:00
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 drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dcn10_opp.h drm/amd/display: Subsample mode suboptimal for YCbCr4:2:2 2019-09-13 17:54:53 -05:00
dcn10_optc.c drm/amd/display: Revert to old formula in set_vtg_params 2020-04-09 10:43:17 -04:00
dcn10_optc.h drm/amd/display: add optc get crc support for timings with ODM/DSC 2020-04-22 18:11:47 -04:00
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 drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
Makefile drm/amd/display: cleanup of function pointer tables 2019-11-19 10:12:53 -05:00