]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix potential infinite loop in fbc path
authorRoman Li <Roman.Li@amd.com>
Tue, 5 Jun 2018 18:24:53 +0000 (14:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:39 +0000 (16:38 -0500)
commit8b8a8b85c837e78a7382e888ceaaf9e6d2a8d4b0
treef6d166362f847e6fc806415c1079a546349628a9
parent5f2545d3826bbca4be02fa153dc67895c961b046
drm/amd/display: fix potential infinite loop in fbc path

- Fixing integer overflow bug in wait_for_fbc_state_changed()
- Correct the max value of retries for the corresponding warning

Signed-off-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.c