History

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

Jesse Zhang committed 1 year ago

Commit 9ffab031 parent 78d0a272 files · +7 −7Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/drm/amdgpu_drm.h+2−2
@@ -1493,8 +1493,8 @@ struct drm_amdgpu_info_hw_ip { · 1492 unmodified lines
1493 __u32 available_rings;1493 __u32 available_rings;
1494 /** version info: bits 23:16 major, 15:8 minor, 7:0 revision */1494 /** version info: bits 23:16 major, 15:8 minor, 7:0 revision */
1495 __u32 ip_discovery_version;1495 __u32 ip_discovery_version;
1496 /* Userq available hqds */1496 /* Userq available slots */
1497 __u32 userq_num_hqds;1497 __u32 userq_num_slots;
1498};1498};
1499 1499
1500/* GFX metadata BO sizes and alignment info (in bytes) */1500/* GFX metadata BO sizes and alignment info (in bytes) */