Commit 56f99fdb authored by Eeli Haapalainen's avatar Eeli Haapalainen Committed by Greg Kroah-Hartman
Browse files

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")
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>
parent 823d7989
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment