diff options
| author | Eric Huang <[email protected]> | 2021-06-01 22:36:34 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-06-04 16:40:01 +0000 |
| commit | 075e8080c1a7571563171a07fa9ce47c4bc80044 (patch) | |
| tree | e7d7a3d48abad6ec21131a6f1ab8535b6b2820f7 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/amdkfd: Add heavy-weight TLB flush after unmapping (diff) | |
| download | kernel-075e8080c1a7571563171a07fa9ce47c4bc80044.tar.gz kernel-075e8080c1a7571563171a07fa9ce47c4bc80044.zip | |
drm/amdgpu: Add table_freed parameter to amdgpu_vm_bo_update
It is to pass the flag to KFD, and optimize table_freed in
amdgpu_vm_bo_update_mapping.
Signed-off-by: Eric Huang <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c index 73c76a3e2b12..88ea77b1e68a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c @@ -613,7 +613,7 @@ static void amdgpu_gem_va_update_vm(struct amdgpu_device *adev, if (operation == AMDGPU_VA_OP_MAP || operation == AMDGPU_VA_OP_REPLACE) { - r = amdgpu_vm_bo_update(adev, bo_va, false); + r = amdgpu_vm_bo_update(adev, bo_va, false, NULL); if (r) goto error; } |
