]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: round robin through clear_entities in amdgpu_fill_buffer
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tue, 3 Feb 2026 10:22:10 +0000 (11:22 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 30 Mar 2026 19:16:27 +0000 (15:16 -0400)
commite2b0c863d3861c3c564d837ba60cd8765fe0163b
tree38dc3582cf0060bac4b9722cccfde368abc519c3
parentab5dd4dcc57effc8ab8b4185740a0e3441754f13
drm/amdgpu: round robin through clear_entities in amdgpu_fill_buffer

This makes clear of different BOs run in parallel. Partial jobs to
clear a single BO still execute sequentially.

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_object.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h