]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/userq: change queue id type to u32 from int
authorSunil Khatri <sunil.khatri@amd.com>
Thu, 26 Feb 2026 07:35:55 +0000 (13:05 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Mar 2026 21:41:19 +0000 (16:41 -0500)
commit2d60e9898a1d4f66f7ec1954e1f086490ce6560b
treeef45f76ec97fb752eaa14a52946699fb12e4746a
parent549b7a6d841f5848dee92e906f20adff0bf18d07
drm/amdgpu/userq: change queue id type to u32 from int

queue id always remain a positive value and should
be of type unsigned.

With this we also dont need to typecast the id to other
types specially in xarray functions.

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c