diff options
| author | Yunxiang Li <[email protected]> | 2024-12-19 15:14:10 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2024-12-19 15:56:25 +0000 |
| commit | a541a6e865ecd8dfd8df6eeb134cc20e7139d329 (patch) | |
| tree | fa03973b396ea636bf166b912b3b856f136a81a6 /drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | |
| parent | Documentation/gpu: Clarify drm memory stats definition (diff) | |
| download | kernel-a541a6e865ecd8dfd8df6eeb134cc20e7139d329.tar.gz kernel-a541a6e865ecd8dfd8df6eeb134cc20e7139d329.zip | |
drm/amdgpu: remove unused function parameter
amdgpu_vm_bo_invalidate doesn't use the adev parameter and not all
callers have a reference to adev handy, so remove it for cleanliness.
Signed-off-by: Yunxiang Li <[email protected]>
Reviewed-by: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c index 8e81a83d37d8..b14440490225 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c @@ -345,7 +345,7 @@ amdgpu_dma_buf_move_notify(struct dma_buf_attachment *attach) /* FIXME: This should be after the "if", but needs a fix to make sure * DMABuf imports are initialized in the right VM list. */ - amdgpu_vm_bo_invalidate(adev, bo, false); + amdgpu_vm_bo_invalidate(bo, false); if (!bo->tbo.resource || bo->tbo.resource->mem_type == TTM_PL_SYSTEM) return; |
