summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJesse Zhang <jesse.zhang@amd.com>2025-07-04 10:17:43 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-07-16 23:17:36 +0300
commit9ffab039bcb0bbfade0e659552d2fb912347a871 (patch)
treee43eb42742e098a2b6a167ffb225116659d18220 /include
parent78d0a27ae0e2e70b22895f4b388cc0ab88e3c6ca (diff)
downloadlinux-9ffab039bcb0bbfade0e659552d2fb912347a871.tar.xz
drm/amdgpu: Replace HQD terminology with slots naming
The term "HQD" is CP-specific and doesn't accurately describe the queue resources for other IP blocks like SDMA, VCN, or VPE. This change: 1. Renames `num_hqds` to `num_slots` in amdgpu_kms.c to better reflect the generic nature of the resource counting 2. Updates the UAPI struct member from `userq_num_hqds` to `userq_num_slots` 3. Maintains the same functionality while using more appropriate terminology Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/drm/amdgpu_drm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 66c4a03ac9f9..bdedbaccf776 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -1493,8 +1493,8 @@ struct drm_amdgpu_info_hw_ip {
__u32 available_rings;
/** version info: bits 23:16 major, 15:8 minor, 7:0 revision */
__u32 ip_discovery_version;
- /* Userq available hqds */
- __u32 userq_num_hqds;
+ /* Userq available slots */
+ __u32 userq_num_slots;
};
/* GFX metadata BO sizes and alignment info (in bytes) */