mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-27 03:49:57 -04:00
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>
This commit is contained in:
committed by
Alex Deucher
parent
4d30a83c74
commit
8f8cc3fb43
@@ -1190,7 +1190,7 @@ svm_range_unmap_from_gpu(struct amdgpu_device *adev, struct amdgpu_vm *vm,
|
||||
|
||||
return amdgpu_vm_bo_update_mapping(adev, adev, vm, false, true, NULL,
|
||||
start, last, init_pte_value, 0,
|
||||
NULL, NULL, fence, NULL);
|
||||
NULL, NULL, fence);
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -1282,8 +1282,7 @@ svm_range_map_to_gpu(struct kfd_process_device *pdd, struct svm_range *prange,
|
||||
prange->start + i, pte_flags,
|
||||
last_start - prange->start,
|
||||
NULL, dma_addr,
|
||||
&vm->last_update,
|
||||
NULL);
|
||||
&vm->last_update);
|
||||
|
||||
for (j = last_start - prange->start; j <= i; j++)
|
||||
dma_addr[j] |= last_domain;
|
||||
|
||||
Reference in New Issue
Block a user