OSDN Git Service

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>
Mon, 2 Dec 2019 22:39:48 +0000 (17:39 -0500)
commit0e29be9e0bbbf9cb3d718c5c48382b1420ce0749
treedaef74f6b2590419efa626e4dae8594d6082f1c7
parent72b741af22d4e3dbce8a71bfd5d406b2b38ee058
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>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c