Skip to contentSkip to conversation

amd-gfx Digest, Vol 98, Issue 217

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:40 PM
To: [email protected] <[email protected]>
Subject: amd-gfx Digest, Vol 98, Issue 217

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 1/6] drm/amdgpu/gfx: add bad opcode interrupt (Alex Deucher)
2. [PATCH 5/6] drm/amdgpu/gfx9: Enable bad opcode interrupt (Alex Deucher)
3. [PATCH 3/6] drm/amdgpu/gfx10: Enable bad opcode interrupt (Alex Deucher)

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

Message: 1
Date: Wed, 17 Jul 2024 16:40:06 -0400
From: Alex Deucher <[email protected]>
To: <[email protected]>
Cc: Alex Deucher <[email protected]>
Subject: [PATCH 1/6] drm/amdgpu/gfx: add bad opcode interrupt
Message-ID: <[email protected]>
Content-Type: text/plain

Add the irq source for bad opcodes.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h +1 -0
index ddda94e49db4..86d3fa7eef90 100644
@@ -391,6 +391,7 @@ struct amdgpu_gfx {
         struct amdgpu_irq_src           eop_irq;
         struct amdgpu_irq_src           priv_reg_irq;
         struct amdgpu_irq_src           priv_inst_irq;
+       struct amdgpu_irq_src           bad_op_irq;
         struct amdgpu_irq_src           cp_ecc_error_irq;
         struct amdgpu_irq_src           sq_irq;
         struct amdgpu_irq_src           rlc_gc_fed_irq;

--
2.45.2

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

Message: 2
Date: Wed, 17 Jul 2024 16:40:10 -0400
From: Alex Deucher <[email protected]>
To: <[email protected]>
Cc: Alex Deucher <[email protected]>
Subject: [PATCH 5/6] drm/amdgpu/gfx9: Enable bad opcode interrupt
Message-ID: <[email protected]>
Content-Type: text/plain

For the bad opcode case, it will cause CP/ME hang.
The firmware will prevent the ME side from hanging by raising a bad opcode interrupt. And the driver needs to perform a vmid reset when receiving the interrupt.

---
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 65 +++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +65 -0

107 lines not on this page · raw message

--
2.45.2

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

Message: 3
Date: Wed, 17 Jul 2024 16:40:08 -0400
From: Alex Deucher <[email protected]>
To: <[email protected]>
Cc: Jesse Zhang <[email protected]>, Alex Deucher
<[email protected]>
Subject: [PATCH 3/6] drm/amdgpu/gfx10: Enable bad opcode interrupt
Message-ID: <[email protected]>
Content-Type: text/plain

From: Jesse Zhang <[email protected]>

For the bad opcode case, it will cause CP/ME hang.
The firmware will prevent the ME side from hanging by raising a bad opcode interrupt. And the driver needs to perform a vmid reset when receiving the interrupt.

v2: update irq naming (drop priv) (Alex)

---
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 74 ++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +74 -0

116 lines not on this page · raw message

--
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 217
****************************************