Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 1/4] drm-uapi/amdgpu: Add num_userq_slots to hw_ip_info structure
@ 2025-07-08  7:47 Jesse.Zhang
  2025-07-08  7:47 ` [PATCH i-g-t 2/4] lib/amdgpu: add multi-IP block write command submission helper Jesse.Zhang
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Jesse.Zhang @ 2025-07-08  7:47 UTC (permalink / raw)
  To: igt-dev; +Cc: Vitaly Prosyak, Alex Deucher, Christian Koenig, Jesse.Zhang

Add a new field num_userq_slots to struct drm_amdgpu_info_hw_ip to expose
the number of available user queue slots per hardware IP block. This
enables userspace to query and utilize user queues more effectively.

The field will be used by the amdgpu driver to communicate the number
of available user-mode queue slots to userspace applications

Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
---
 include/drm-uapi/amdgpu_drm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/drm-uapi/amdgpu_drm.h b/include/drm-uapi/amdgpu_drm.h
index ddcda5d3b..b38f27d69 100644
--- a/include/drm-uapi/amdgpu_drm.h
+++ b/include/drm-uapi/amdgpu_drm.h
@@ -1465,6 +1465,7 @@ struct drm_amdgpu_info_hw_ip {
 	__u32  available_rings;
 	/** version info: bits 23:16 major, 15:8 minor, 7:0 revision */
 	__u32  ip_discovery_version;
+	__u32  num_userq_slots;
 };
 
 /* GFX metadata BO sizes and alignment info (in bytes) */
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-07-10 19:17 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-08  7:47 [PATCH i-g-t 1/4] drm-uapi/amdgpu: Add num_userq_slots to hw_ip_info structure Jesse.Zhang
2025-07-08  7:47 ` [PATCH i-g-t 2/4] lib/amdgpu: add multi-IP block write command submission helper Jesse.Zhang
2025-07-08  7:47 ` [PATCH i-g-t 3/4] tests/amdgpu: Add test coverage for all user-mode queues across IP blocks Jesse.Zhang
2025-07-10  5:58   ` Dixit, Ashutosh
2025-07-10 11:23     ` vitaly prosyak
2025-07-10 16:17       ` Kamil Konieczny
2025-07-10 19:17         ` vitaly prosyak
2025-07-08  7:47 ` [PATCH i-g-t 4/4] lib/amdgpu: Use available_rings mask for user queues Jesse.Zhang
2025-07-08 23:18   ` vitaly prosyak
2025-07-08  8:31 ` ✓ i915.CI.BAT: success for series starting with [i-g-t,1/4] drm-uapi/amdgpu: Add num_userq_slots to hw_ip_info structure Patchwork
2025-07-08  8:40 ` ✓ Xe.CI.BAT: " Patchwork
2025-07-08  9:47 ` ✓ Xe.CI.Full: " Patchwork
2025-07-08  9:57 ` ✗ i915.CI.Full: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox