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_v4_4_2.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_v4_4_2.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c index 5e1cb1c2c0f8..4c8308b2878b 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c @@ -1130,7 +1130,7 @@ static int sdma_v4_4_2_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: amdgpu_device_wb_free(adev, index); |
