[PATCH v3 1/4] drm-uapi/amdgpu: add UAPI query if user queues are supported
Sunil Khatri
sunil.khatri at amd.com
Wed Apr 30 06:28:32 UTC 2025
Add UAPI support of userq mask of ip's supporting userqueues on a
asic.
The changes have been pulled from below kernel commit.
https://lists.freedesktop.org/archives/amd-gfx/2025-April/122559.html
Cc: Prosyak, Vitaly <Vitaly.Prosyak at amd.com>
Cc: Jesse Zhang <jesse.zhang at amd.com>
Signed-off-by: Sunil Khatri <sunil.khatri at amd.com>
---
include/drm-uapi/amdgpu_drm.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/drm-uapi/amdgpu_drm.h b/include/drm-uapi/amdgpu_drm.h
index 3f4813879..ddcda5d3b 100644
--- a/include/drm-uapi/amdgpu_drm.h
+++ b/include/drm-uapi/amdgpu_drm.h
@@ -1446,6 +1446,9 @@ struct drm_amdgpu_info_device {
__u32 csa_size;
/* context save area base virtual alignment for gfx11 */
__u32 csa_alignment;
+ /* Userq IP mask (1 << AMDGPU_HW_IP_*) */
+ __u32 userq_ip_mask;
+ __u32 pad;
};
struct drm_amdgpu_info_hw_ip {
--
2.43.0
More information about the igt-dev
mailing list