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

Khatri, Sunil Sunil.Khatri at amd.com
Wed Apr 30 06:20:16 UTC 2025


[AMD Official Use Only - AMD Internal Distribution Only]

Sure Vitaly.

Will share the patches as you suggested.

Regards
Sunil Khatri

From: Prosyak, Vitaly <Vitaly.Prosyak at amd.com>
Sent: Wednesday, April 30, 2025 3:29 AM
To: Khatri, Sunil <Sunil.Khatri at amd.com>; igt-dev at lists.freedesktop.org; Prosyak, Vitaly <Vitaly.Prosyak at amd.com>
Cc: Zhang, Jesse(Jie) <Jesse.Zhang at amd.com>
Subject: Re: [PATCH v2 1/5] drm-uapi/amdgpu: add UAPI query if user queues are supported

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><mailto: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><mailto:Vitaly.Prosyak at amd.com>

Cc: Jesse Zhang <jesse.zhang at amd.com><mailto:jesse.zhang at amd.com>

Signed-off-by: Sunil Khatri <sunil.khatri at amd.com><mailto: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/20250430/6ac084ff/attachment.htm>


More information about the igt-dev mailing list