Skip to contentSkip to conversation

amd-gfx Digest, Vol 98, Issue 214

DISCUSSION Prosyak, Vitaly 1 participant 1 message Aug 8, 2024 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Prosyak, Vitaly

author Acked-by
#1 lore raw

[AMD Official Use Only - AMD Internal Distribution Only]

________________________________
From: amd-gfx <[email protected]> on behalf of [email protected] <[email protected]>
Sent: Wednesday, July 17, 2024 4:38 PM
To: [email protected] <[email protected]>
Subject: amd-gfx Digest, Vol 98, Issue 214

Send amd-gfx mailing list submissions to
[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
or, via email, send a message with subject or body 'help' to
[email protected]

You can reach the person managing the list at
[email protected]

When replying, please edit your Subject line so it is more specific than "Re: Contents of amd-gfx digest..."

Today's Topics:

1. [PATCH 2/7] drm/amdgpu/gfx8: enable wave kill for compute queues (Alex Deucher)
2. [PATCH 3/7] drm/amdgpu/gfx9: enable wave kill for compute queues (Alex Deucher)
3. [PATCH 1/7] drm/amdgpu/gfx7: enable wave kill for compute queues (Alex Deucher)
4. [PATCH 6/7] drm/amdgpu/gfx11: enable wave kill for compute queues (Alex Deucher)

----------------------------------------------------------------------

Message: 1
Date: Wed, 17 Jul 2024 16:37:35 -0400
From: Alex Deucher <[email protected]>
To: <[email protected]>
Cc: Alex Deucher <[email protected]>
Subject: [PATCH 2/7] drm/amdgpu/gfx8: enable wave kill for compute
queues
Message-ID: <[email protected]>
Content-Type: text/plain

It should work the same for compute as well as gfx.

---
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +1 -0
index b4658c7db0e1..a1963e6c5cab 100644
@@ -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,
 };

--
2.45.2

------------------------------

Message: 2
Date: Wed, 17 Jul 2024 16:37:36 -0400
From: Alex Deucher <[email protected]>
To: <[email protected]>
Cc: Alex Deucher <[email protected]>
Subject: [PATCH 3/7] drm/amdgpu/gfx9: enable wave kill for compute
queues
Message-ID: <[email protected]>
Content-Type: text/plain

It should work the same for compute as well as gfx.

---
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +1 -0
index 2929c8972ea7..d4e38edc9353 100644
@@ -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,
 };

--
2.45.2

------------------------------

Message: 3
Date: Wed, 17 Jul 2024 16:37:34 -0400
From: Alex Deucher <[email protected]>
To: <[email protected]>
Cc: Alex Deucher <[email protected]>
Subject: [PATCH 1/7] drm/amdgpu/gfx7: enable wave kill for compute
queues
Message-ID: <[email protected]>
Content-Type: text/plain

It should work the same for compute as well as gfx.

---
 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +1 -0
index d84589137df9..5fbdef04c9aa 100644
@@ -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,
 };
 

--
2.45.2

------------------------------

Message: 4
Date: Wed, 17 Jul 2024 16:37:39 -0400
From: Alex Deucher <[email protected]>
To: <[email protected]>
Cc: Alex Deucher <[email protected]>
Subject: [PATCH 6/7] drm/amdgpu/gfx11: enable wave kill for compute
queues
Message-ID: <[email protected]>
Content-Type: text/plain

It should work the same for compute as well as gfx.

---
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +1 -0
index dcef39907449..554aae995f41 100644
@@ -6603,6 +6603,7 @@ static const struct amdgpu_ring_funcs gfx_v11_0_ring_funcs_compute = {
         .emit_wreg = gfx_v11_0_ring_emit_wreg,
         .emit_reg_wait = gfx_v11_0_ring_emit_reg_wait,
         .emit_reg_write_reg_wait = gfx_v11_0_ring_emit_reg_write_reg_wait,
+       .soft_recovery = gfx_v11_0_ring_soft_recovery,
         .emit_mem_sync = gfx_v11_0_emit_mem_sync,
 };
 

--
2.45.2

------------------------------

Subject: Digest Footer

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

------------------------------

End of amd-gfx Digest, Vol 98, Issue 214
****************************************