From: Alex Deucher Date: Fri, 12 Jul 2024 22:29:59 +0000 (-0400) Subject: drm/amdgpu/gfx8: enable wave kill for compute queues X-Git-Tag: v6.12-rc1~126^2~17^2~334 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7e60ecc2b70adb41b92752cbcd749040e00b57b8;p=thirdparty%2Fkernel%2Flinux.git drm/amdgpu/gfx8: 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_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index b4658c7db0e16..a1963e6c5cab1 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c @@ -6955,6 +6955,7 @@ static const struct amdgpu_ring_funcs gfx_v8_0_ring_funcs_compute = { .insert_nop = amdgpu_ring_insert_nop, .pad_ib = amdgpu_ring_generic_pad_ib, .emit_wreg = gfx_v8_0_ring_emit_wreg, + .soft_recovery = gfx_v8_0_ring_soft_recovery, .emit_mem_sync = gfx_v8_0_emit_mem_sync_compute, .emit_wave_limit = gfx_v8_0_emit_wave_limit, };