aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>2024-12-06 13:16:14 +0100
committerAlex Deucher <alexander.deucher@amd.com>2024-12-18 12:17:32 -0500
commit0014952b1754b0dba3ea87d2d3b9784fdcec9f95 (patch)
tree595b4142a31943ddc9500fefdf3b9f8153a20241 /drivers/gpu/drm/amd/amdgpu/cik_sdma.c
parentdrm/amdgpu: don't access invalid sched (diff)
downloadwireguard-linux-0014952b1754b0dba3ea87d2d3b9784fdcec9f95.tar.xz
wireguard-linux-0014952b1754b0dba3ea87d2d3b9784fdcec9f95.zip
drm/amdgpu: drop the amdgpu_device argument from amdgpu_ib_free
It's unused. Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cik_sdma.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/cik_sdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c b/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
index a5cd950c94be..d9bd8f3f17e2 100644
--- a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
+++ b/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
@@ -698,7 +698,7 @@ static int cik_sdma_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);