]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu/gfx8: reset compute ring wptr on the GPU on resume
authorEeli Haapalainen <eeli.haapalainen@protonmail.com>
Mon, 14 Jul 2025 05:13:09 +0000 (08:13 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jul 2025 06:58:25 +0000 (08:58 +0200)
commit07ed3ff608bd7840d99bae26598ded0c49f319f4
tree2350e1dc4574960cbe4f6c6a817b6f1f4b7471a8
parentef55eea43ace2177111d1eacb9a676eeb9cdf7da
drm/amdgpu/gfx8: reset compute ring wptr on the GPU on resume

commit 83261934015c434fabb980a3e613b01d9976e877 upstream.

Commit 42cdf6f687da ("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: 42cdf6f687da ("drm/amdgpu/gfx8: always restore kcq MQDs")
Signed-off-by: Eeli Haapalainen <eeli.haapalainen@protonmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 2becafc319db3d96205320f31cc0de4ee5a93747)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c