summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2024-07-12 18:20:37 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-07-23 17:45:45 -0400
commitaf4808ac40dbf668183d0b69ef6b31e62e1fc5df (patch)
tree13696c36abf73f449b27b053c07ca5fd96f8354c /drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
parentf53f526f7050041718af84e33fc24f670e7dccdb (diff)
downloadlinux-af4808ac40dbf668183d0b69ef6b31e62e1fc5df.tar.gz
linux-af4808ac40dbf668183d0b69ef6b31e62e1fc5df.tar.bz2
linux-af4808ac40dbf668183d0b69ef6b31e62e1fc5df.zip
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 <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
index f384be0d1800..567f9196d6a0 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,
};