OSDN Git Service

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:18:10 +0000 (14:18 -0500)
commit4c6a9618076c2690a361e8bc32549720f2f42305
tree6f1b615c7e43d57d7661746aeaad2ae199733c55
parent351960b09850deaa6e74f4e5f39d53deb1114833
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