mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 07:00:11 +01:00
drm/amdgpu: Add user queue HQD count to hw_ip info
Add a new field userq_num_hqds to drm_amdgpu_info_hw_ip to expose the number of available hardware queue descriptors (HQDs) for user queues. This allows userspace to query the maximum number of user queues that can be created for a particular IP block. the patch link in driver side: https://lists.freedesktop.org/archives/amd-gfx/2025-June/126686.html https://lists.freedesktop.org/archives/amd-gfx/2025-July/126981.html v2: rename userq_num_hqds to userq_num_slots (Marek) Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
289175512c
commit
e4bd1ba753
1 changed files with 2 additions and 0 deletions
|
|
@ -1484,6 +1484,8 @@ struct drm_amdgpu_info_hw_ip {
|
||||||
__u32 available_rings;
|
__u32 available_rings;
|
||||||
/** version info: bits 23:16 major, 15:8 minor, 7:0 revision */
|
/** version info: bits 23:16 major, 15:8 minor, 7:0 revision */
|
||||||
__u32 ip_discovery_version;
|
__u32 ip_discovery_version;
|
||||||
|
/* Userq available slots */
|
||||||
|
__u32 userq_num_slots;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* GFX metadata BO sizes and alignment info (in bytes) */
|
/* GFX metadata BO sizes and alignment info (in bytes) */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue