From 614f8d7391d38e003da9e91e0d7d4cd2460191d2 Mon Sep 17 00:00:00 2001 From: Sunil Khatri Date: Mon, 28 Apr 2025 16:53:39 +0530 Subject: [PATCH] drm/amdgpu: add UAPI to query if user queues are supported MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add uapi support for user queues query inline with kernel changes. https://lists.freedesktop.org/archives/amd-gfx/2025-April/122559.html Reviewed-by: Marek Olšák marek.olsak@amd.com Reviewed-by: Yogesh Mohan Marimuthu yogesh.mohanmarimuthu@amd.com Reviewed-by: Alex Deucher alexander.deucher@amd.com Signed-off-by: Sunil Khatri --- include/drm/amdgpu_drm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h index 145c44fa..8db4df39 100644 --- a/include/drm/amdgpu_drm.h +++ b/include/drm/amdgpu_drm.h @@ -1465,6 +1465,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 {