]> 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 17:57:24 +0000 (13:57 -0400)
commitff905a9b6228de9eedd0db71ecb1bdde91fb898d
treecba726eab35e21916969d8cdead78c827e02f8a4
parentc21487ce5fa112b6faef271e4a97c5e4a8d7194c
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c