diff options
| author | Pierre-Eric Pelloux-Prayer <[email protected]> | 2024-12-06 12:16:14 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-12-18 17:17:32 +0000 |
| commit | 0014952b1754b0dba3ea87d2d3b9784fdcec9f95 (patch) | |
| tree | 595b4142a31943ddc9500fefdf3b9f8153a20241 /drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | |
| parent | drm/amdgpu: don't access invalid sched (diff) | |
| download | kernel-0014952b1754b0dba3ea87d2d3b9784fdcec9f95.tar.gz kernel-0014952b1754b0dba3ea87d2d3b9784fdcec9f95.zip | |
drm/amdgpu: drop the amdgpu_device argument from amdgpu_ib_free
It's unused.
Signed-off-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c index 23599a5d4a12..b764550834a0 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c @@ -1194,7 +1194,7 @@ static int sdma_v5_0_ring_test_ib(struct amdgpu_ring *ring, long timeout) r = -EINVAL; err1: - amdgpu_ib_free(adev, &ib, NULL); + amdgpu_ib_free(&ib, NULL); dma_fence_put(f); err0: if (!ring->is_mes_queue) |
