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
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -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) */ |