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

index 2929c8972ea7315a60d38e4a130aae54b5325c98..d4e38edc9353bcb957bf4950a2992cb545b34dc2 100644 (file)
@@ -7244,6 +7244,7 @@ static const struct amdgpu_ring_funcs gfx_v9_0_ring_funcs_compute = {
        .emit_wreg = gfx_v9_0_ring_emit_wreg,
        .emit_reg_wait = gfx_v9_0_ring_emit_reg_wait,
        .emit_reg_write_reg_wait = gfx_v9_0_ring_emit_reg_write_reg_wait,
+       .soft_recovery = gfx_v9_0_ring_soft_recovery,
        .emit_mem_sync = gfx_v9_0_emit_mem_sync,
        .emit_wave_limit = gfx_v9_0_emit_wave_limit,
 };