]> 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 17:11:13 +0000 (13:11 -0400)
commit28c86f73084c99e672a456312120dedcb7e27771
tree0e373ae3f4c59e3e57ee3f94d62cd33f77c9b63f
parentc3850627c59cf3ba107ff25a200c6539e8b167d3
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