OSDN Git Service

drm/amd/display: Only wait for flip pending on immediate flips
authorAric Cyr <aric.cyr@amd.com>
Thu, 29 Oct 2020 21:40:51 +0000 (17:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Nov 2020 19:25:20 +0000 (14:25 -0500)
commite9917ef822bdfa9b881c87934f160a3e48125f00
tree2860bc0f344507f451b6744b903f53168e4dd693
parent06d55ffaeaea9badfee7376100759f1f86397e94
drm/amd/display: Only wait for flip pending on immediate flips

[Why]
We want to make sure all immediate flips are completed before locking
the pipes, but not pipes that are not flip immediate as they will be
locked by the OTG

[How]
Skip non flip immediate pipes when checking for flip pending.

Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c