[PATCH i-g-t 1/3] include/drm-uapi: add AQL compute queue flag to DRM header
Deucher, Alexander
Alexander.Deucher at amd.com
Fri Apr 25 20:14:09 UTC 2025
[Public]
> -----Original Message-----
> From: Jesse.Zhang <Jesse.Zhang at amd.com>
> Sent: Thursday, April 24, 2025 11:31 PM
> To: igt-dev at lists.freedesktop.org
> Cc: Prosyak, Vitaly <Vitaly.Prosyak at amd.com>; Deucher, Alexander
> <Alexander.Deucher at amd.com>; Koenig, Christian
> <Christian.Koenig at amd.com>; Khatri, Sunil <Sunil.Khatri at amd.com>; Zhang,
> Jesse(Jie) <Jesse.Zhang at amd.com>
> Subject: [PATCH i-g-t 1/3] include/drm-uapi: add AQL compute queue flag to DRM
> header
>
> 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.
Let's hold off on the AQL support for now. There are additional requirements for AQL that need to be solved before we commit to this API.
Alex
>
> 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