Commit 72768dd6 authored by Eeli Haapalainen's avatar Eeli Haapalainen Committed by Greg Kroah-Hartman
Browse files

UPSTREAM: drm/amdgpu/gfx8: reset compute ring wptr on the GPU on resume

commit 83261934 upstream.

Commit 42cdf6f6 ("drm/amdgpu/gfx8: always restore kcq MQDs") made the
ring pointer always to be reset on resume from suspend. This caused compute
rings to fail since the reset was done without also resetting it for the
firmware. Reset wptr on the GPU to avoid a disconnect between the driver
and firmware wptr.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3911


Fixes: 42cdf6f6 ("drm/amdgpu/gfx8: always restore kcq MQDs")
Change-Id: Iad550bb0ac1fa90690951a1885a94b36fbd6e211
Signed-off-by: default avatarEeli Haapalainen <eeli.haapalainen@protonmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 2becafc3)
Cc: stable@vger.kernel.org
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 228ad2ab)
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent bc77a6a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment