]> www.infradead.org Git - users/dwmw2/linux.git/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)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Nov 2024 20:55:20 +0000 (15:55 -0500)
commitcdc6705f98ea3f854a60ba8c9b19228e197ae384
tree72468c9a3b048bf1f9b5c66475e03b49c462d784
parent4217ef9ab763dbf8af2b0ecd3f74c0caa135668c
drm/amdkfd: Use the correct wptr size

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
drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c