Skip to contentSkip to conversation

drm/amdgpu/mes12: Implement reset gfx/compute queue function by mmio

PATCH In review [email protected] 1 participant 1 message Dec 10, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 4/7 drm/amdgpu/mes12: Implement reset gfx/compute queue function by mmio

Reset gfx/compute queue through mmio based on me_id and queue_id.

---
 drivers/gpu/drm/amd/amdgpu/gfx_v12_0.h |  2 +
 drivers/gpu/drm/amd/amdgpu/mes_v12_0.c | 88 +++++++++++++++++++++++++-
 2 files changed, 89 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.h +2 -0
index bcc9c72ccbde..f7184b2dc4e8 100644
@@ -26,4 +26,6 @@
 
 extern const struct amdgpu_ip_block_version gfx_v12_0_ip_block;
 
+int gfx_v12_0_request_gfx_index_mutex(struct amdgpu_device *adev,
+				      bool req);
 #endif
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c +87 -1

106 lines not on this page · raw message

Signature · 1 line
2.25.1