drm/amd/display: revert wait in pipelock
authorJun Lei <Jun.Lei@amd.com>
Tue, 23 Jul 2019 20:56:03 +0000 (16:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2019 16:45:48 +0000 (11:45 -0500)
commit617089d5837a3aa4167a9c4afb34929e0d52805d
tree2fad973ba8df0869648cfd4d6d8da750f6190c4d
parent9a00d0ff92f4c718054b5c068e255ecc61ef48bb
drm/amd/display: revert wait in pipelock

[why]
Previous workaround to prevent a vsync flip to be converted
to immediate flip is no longer needed, and is risky because
there are cases where it can result in infinite loop.

[how]
Remove wait loop (which is potentially infinite) before locking
pipe

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c