]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1f0abfc022db3714bcd052030828ced7bacd4fc3
tree68683f2c33b03e8b96a12283aab4b49a097792e0
parent28b0ec93dcbfeef8eadc37a3ecc09ce30529a656
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