]> git.hungrycats.org Git - linux/commit
drm/amdkfd: Use the correct wptr size
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 11 Nov 2024 14:41:38 +0000 (20:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2024 09:33:11 +0000 (10:33 +0100)
commit70e6599a9e78384d22c3feb95da46514e5e5ee41
tree7265672074eebc74e307d7d42f8286bf2842adb1
parentd50b5a7ac7f56cb816dab2879f05ebe9962daa3e
drm/amdkfd: Use the correct wptr size

commit cdc6705f98ea3f854a60ba8c9b19228e197ae384 upstream.

Write pointer could be 32-bit or 64-bit. Use the correct size during
initialization.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c