drm/amd/display: re-enable wait in pipelock, but add timeout
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Nov 2019 15:02:44 +0000 (10:02 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Dec 2019 16:46:33 +0000 (11:46 -0500)
commit627f75d18910b287472593a4a2c41de9a386f5a2
tree68683f2c33b03e8b96a12283aab4b49a097792e0
parent30c517736e1a31a3edcdbfc791c83bc565d437ca
drm/amd/display: re-enable wait in pipelock, but add timeout

Removing this causes hangs in some games, so re-add it, but add
a timeout so we don't hang while switching flip types.

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=205169
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=112266
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c