]> git.ipfire.org Git - thirdparty/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 16:01:42 +0000 (12:01 -0400)
commit181307acf8ea597ad63fd574b44d0f98a329a61b
treec508bb6dbb71fb4528db59ddd1121980beb5046d
parent0b8a1600ab50f331aeeba47c777a1b34cba606bf
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>
(cherry picked from commit ef7dc711a664b0c548ecfdf13a00436b7446b8e7)
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c