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:Eeli Haapalainen <eeli.haapalainen@protonmail.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 2becafc3) Cc: stable@vger.kernel.org Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 228ad2ab) Signed-off-by:
Greg Kroah-Hartman <gregkh@google.com>
Loading