]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amdgpu/gfx8: enable wave kill for compute queues
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Jul 2024 22:29:59 +0000 (18:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jul 2024 21:42:08 +0000 (17:42 -0400)
It should work the same for compute as well as gfx.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c

index b4658c7db0e1671bffa0f669bd11d741b332b0f3..a1963e6c5cab126a168f5cf17b6ed0f12a1f81e3 100644 (file)
@@ -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,
 };