[PATCH i-g-t 1/4] drm-uapi/amdgpu: Add num_userq_slots to hw_ip_info structure
Jesse.Zhang
Jesse.Zhang at amd.com
Tue Jul 8 07:47:47 UTC 2025
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 at 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
More information about the igt-dev
mailing list