]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: add missing lock in amdgpu_benchmark_do_move
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tue, 18 Nov 2025 14:15:04 +0000 (15:15 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Feb 2026 19:16:30 +0000 (14:16 -0500)
commit30f2daedf4d8adfa331b05fcce06746e643e1f18
tree586de4ad89d365510e8100c33307ecca5593377a
parent3d9eea6d000b34a087d02b1614931cff039d7f26
drm/amdgpu: add missing lock in amdgpu_benchmark_do_move

Taking the entity lock is required to guarantee the ordering of
execution. The next commit will add a check that the lock is
held.

Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@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_benchmark.c