]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Jul 2025 20:17:28 +0000 (16:17 -0400)
commit2becafc319db3d96205320f31cc0de4ee5a93747
tree555c2cb4688600f78487c114e640b11a1e6e8ece
parentd524d40e3a6152a3ea1125af729f8cd8ca65efde
drm/amdgpu/gfx8: reset compute ring wptr on the GPU on resume

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>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c