drm/amdgpu: Replace HQD terminology with slots naming
authorJesse Zhang <jesse.zhang@amd.com>
Fri, 4 Jul 2025 07:17:43 +0000 (15:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Jul 2025 20:17:36 +0000 (16:17 -0400)
commit9ffab039bcb0bbfade0e659552d2fb912347a871
treee43eb42742e098a2b6a167ffb225116659d18220
parent78d0a27ae0e2e70b22895f4b388cc0ab88e3c6ca
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
include/uapi/drm/amdgpu_drm.h