[PATCH v2 1/5] drm-uapi/amdgpu: add UAPI query if user queues are supported

vitaly prosyak vprosyak at amd.com
Tue Apr 29 21:58:57 UTC 2025


The series of 5 patches looks good to me. Just a small suggestion: please combine patches 3, 4, and 5 into a single patch, since they all relate to the usage of |asic_userq_readiness| and only touch three tests.

Reviewed-by Vitaly Prosyak <vitaly.prosyak at amd.com>


On 2025-04-29 06:36, Sunil Khatri wrote:
> 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 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/igt-dev/attachments/20250429/aa1b3d22/attachment.htm>


More information about the igt-dev mailing list