]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu/gfx12: fix wptr reset in KGQ init
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Jan 2026 23:13:16 +0000 (18:13 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Feb 2026 15:57:44 +0000 (16:57 +0100)
commitd9790cf8bbe803de1fe95dc88c1eee8f5f8940b5
tree3929b4771908c78e145b2b28ac6b87dd121dae50
parent4867b512bb7f5db2a848912d41124aa0335358c8
drm/amdgpu/gfx12: fix wptr reset in KGQ init

commit 9077d32a4b570fa20500aa26e149981c366c965d upstream.

wptr is a 64 bit value and we need to update the
full value, not just 32 bits. Align with what we
already do for KCQs.

Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Jesse Zhang <jesse.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit a2918f958d3f677ea93c0ac257cb6ba69b7abb7c)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c