[PATCH i-g-t 1/3] include/drm-uapi: add AQL compute queue flag to DRM header
Jesse.Zhang
Jesse.Zhang at amd.com
Fri Apr 25 03:31:12 UTC 2025
Add a new flag `AMDGPU_USERQ_CREATE_FLAGS_QUEUE_AQL_COMPUTE` to indicate
that a compute queue should use the AQL (AMD Queue Language) packet format
instead of the traditional PM4 format. This is required for upcoming
HSA-compatible compute queue support.
Signed-off-by: Jesse.Zhang <Jesse.Zhang at amd.com>
---
include/drm-uapi/amdgpu_drm.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/drm-uapi/amdgpu_drm.h b/include/drm-uapi/amdgpu_drm.h
index 3f4813879..75ccbc7fe 100644
--- a/include/drm-uapi/amdgpu_drm.h
+++ b/include/drm-uapi/amdgpu_drm.h
@@ -338,6 +338,8 @@ union drm_amdgpu_ctx {
#define AMDGPU_USERQ_CREATE_FLAGS_QUEUE_PRIORITY_HIGH 3 /* admin only */
/* for queues that need access to protected content */
#define AMDGPU_USERQ_CREATE_FLAGS_QUEUE_SECURE (1 << 2)
+/* for compute queues that need AQL rather than PM4 packet format */
+#define AMDGPU_USERQ_CREATE_FLAGS_QUEUE_AQL_COMPUTE (1 << 3)
/*
* This structure is a container to pass input configuration
--
2.49.0
More information about the igt-dev
mailing list