drm/amd/display: Wait for flip to complete
authorAlvin Lee <alvin.lee2@amd.com>
Mon, 24 Jun 2019 13:49:44 +0000 (09:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:17:19 +0000 (14:17 -0500)
commit39fee5f60ce069cfba55fc3a8ba55faacae330b9
treea446afb261d32d0a4cd306ec4d520240ca735c24
parent09fc26c1718fe7a552866d4eda84e2cc5f9c9c78
drm/amd/display: Wait for flip to complete

[why]
In pipe split issue occurs when we program immediate flip while vsync flip is pending

[how]
Don't program immediate flip until flip is no longer pending

Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Reviewed-by: Jaehyun Chung <Jaehyun.Chung@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c