drm/amdgpu: remove direct_submit arg from amdgpu_copy_buffer

It was always false.

Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Pierre-Eric Pelloux-Prayer
2025-09-19 09:13:12 +02:00
committed by Alex Deucher
parent 7b0813f32a
commit 73aa1550df
4 changed files with 10 additions and 16 deletions

View File

@@ -39,7 +39,7 @@ static int amdgpu_benchmark_do_move(struct amdgpu_device *adev, unsigned size,
for (i = 0; i < n; i++) {
struct amdgpu_ring *ring = adev->mman.buffer_funcs_ring;
r = amdgpu_copy_buffer(ring, saddr, daddr, size, NULL, &fence,
false, false, 0);
false, 0);
if (r)
goto exit_do_move;
r = dma_fence_wait(fence, false);