]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu: improve the userq seq BO free bit lookup
authorPrike Liang <Prike.Liang@amd.com>
Tue, 26 May 2026 02:25:26 +0000 (10:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jun 2026 18:55:31 +0000 (14:55 -0400)
commit5af28a22ce834544bb22efbba30ffb837098b2b8
treef20eea21f6cf1bf624748fadc118ee28330c0419
parent2a07f3fa4998e2ef248e1f55cd3776348758aec0
drm/amdgpu: improve the userq seq BO free bit lookup

Use find_next_zero_bit() to locate the next free seq slot bit
instead of the current walk, for more efficient bitmap scanning.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit ff905a9b6228de9eedd0db71ecb1bdde91fb898d)
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c