]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/userq: use array instead of list for userq_vas
authorSunil Khatri <sunil.khatri@amd.com>
Wed, 20 May 2026 11:09:49 +0000 (16:39 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 May 2026 14:50:02 +0000 (10:50 -0400)
commitef7dc711a664b0c548ecfdf13a00436b7446b8e7
tree837854ea99cd99efabb1d4da355278fe527603c2
parent4ad65d610096498c8e265615aba42b3c47441bb5
drm/amdgpu/userq: use array instead of list for userq_vas

Use arrays instead of list for userq_vas since we have fixed no
of bos. Also, we dont have to worry to free that memory later
since this array would be free along with queue only.

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c