]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix counter in wait_for_no_pipes_pending
authorRoman Li <roman.li@amd.com>
Wed, 26 Feb 2020 22:30:29 +0000 (17:30 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 May 2020 20:13:15 +0000 (16:13 -0400)
commitcb33d3704554d3be14d4fd7c40006a52724fe967
tree7b0bd90315cd133c0ca533945eaf185b44e236ab
parent3207948daa5a20766f3860cb5f0a862a70d35b25
drm/amd/display: fix counter in wait_for_no_pipes_pending

[Why]
Wait counter is not being reset for each pipe.

[How]
Move counter reset into pipe loop scope.

Signed-off-by: Roman Li <roman.li@amd.com>
Reviewed-by: Zhan Liu <Zhan.Liu@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c