diff options
author | Christian König <christian.koenig@amd.com> | 2022-03-17 14:29:22 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-03-25 17:40:52 +0100 |
commit | 8f8cc3fb43508a2b1682e3809d6d39ce1871a5ee (patch) | |
tree | 06466efff2167fa9624c62ff555393532c61fb30 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |
parent | drm/amdkfd: use tlb_seq from the VM subsystem for SVM as well v2 (diff) | |
download | linux-8f8cc3fb43508a2b1682e3809d6d39ce1871a5ee.tar.xz linux-8f8cc3fb43508a2b1682e3809d6d39ce1871a5ee.zip |
drm/amdgpu: remove table_freed param from the VM code
Better to leave the decision when to flush the VM changes in the TLB to
the VM code.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Philip Yang<Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h index 38a1eab1ff74..6b7682fe84f8 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h @@ -410,10 +410,10 @@ int amdgpu_vm_bo_update_mapping(struct amdgpu_device *adev, uint64_t flags, uint64_t offset, struct ttm_resource *res, dma_addr_t *pages_addr, - struct dma_fence **fence, bool *free_table); + struct dma_fence **fence); int amdgpu_vm_bo_update(struct amdgpu_device *adev, struct amdgpu_bo_va *bo_va, - bool clear, bool *table_freed); + bool clear); bool amdgpu_vm_evictable(struct amdgpu_bo *bo); void amdgpu_vm_bo_invalidate(struct amdgpu_device *adev, struct amdgpu_bo *bo, bool evicted); |