diff options
author | Christian König <christian.koenig@amd.com> | 2022-02-01 16:25:52 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-02-07 23:14:10 +0100 |
commit | e56694f718f0f6694c18d7595e61533a2663335e (patch) | |
tree | ed4d382732de0ffa028b2ed98176276f298655c2 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | drm/amdgpu: add some lockdep checks to the VM code (diff) | |
download | linux-e56694f718f0f6694c18d7595e61533a2663335e.tar.xz linux-e56694f718f0f6694c18d7595e61533a2663335e.zip |
drm/amdgpu: rename amdgpu_vm_bo_rmv to _del
Some people complained about the name and this matches much
more Linux naming conventions for object functions.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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 c0d8f40a5b45..bab6500728cb 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c @@ -222,7 +222,7 @@ static void amdgpu_gem_object_close(struct drm_gem_object *obj, if (!bo_va || --bo_va->ref_count) goto out_unlock; - amdgpu_vm_bo_rmv(adev, bo_va); + amdgpu_vm_bo_del(adev, bo_va); if (!amdgpu_vm_ready(vm)) goto out_unlock; |