]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amdgpu/gfx7: enable wave kill for compute queues
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Jul 2024 22:29:20 +0000 (18:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jul 2024 21:42:03 +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_v7_0.c

index d84589137df9125709525895f11892e7745020ca..5fbdef04c9aaef1bb78428c73c836d419349cbf1 100644 (file)
@@ -5002,6 +5002,7 @@ static const struct amdgpu_ring_funcs gfx_v7_0_ring_funcs_compute = {
        .insert_nop = amdgpu_ring_insert_nop,
        .pad_ib = amdgpu_ring_generic_pad_ib,
        .emit_wreg = gfx_v7_0_ring_emit_wreg,
+       .soft_recovery = gfx_v7_0_ring_soft_recovery,
        .emit_mem_sync = gfx_v7_0_emit_mem_sync_compute,
 };