]> 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:41:14 +0000 (10:41 +0100)
commitff34c909ed3fb97c70f14ded56c9565fcf3272a2
tree5e010ab02a3dc1d18ce93228fd7bc5b959fbdcae
parent5ddcb50b700221fa7d7be2adcb3d7d7afe8633dd
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