From: Alex Deucher Date: Fri, 12 Jul 2024 22:20:37 +0000 (-0400) Subject: drm/amdgpu/gfx12: enable wave kill for compute queues X-Git-Tag: v6.12-rc1~126^2~17^2~321 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=af4808ac40dbf668183d0b69ef6b31e62e1fc5df;p=thirdparty%2Fkernel%2Flinux.git drm/amdgpu/gfx12: enable wave kill for compute queues It should work the same for compute as well as gfx. Reviewed-by: Christian König Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c index f384be0d1800c..567f9196d6a0a 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c @@ -5081,6 +5081,7 @@ static const struct amdgpu_ring_funcs gfx_v12_0_ring_funcs_compute = { .emit_wreg = gfx_v12_0_ring_emit_wreg, .emit_reg_wait = gfx_v12_0_ring_emit_reg_wait, .emit_reg_write_reg_wait = gfx_v12_0_ring_emit_reg_write_reg_wait, + .soft_recovery = gfx_v12_0_ring_soft_recovery, .emit_mem_sync = gfx_v12_0_emit_mem_sync, };