aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2022-02-01 15:25:52 +0000
committerAlex Deucher <[email protected]>2022-02-07 22:14:10 +0000
commite56694f718f0f6694c18d7595e61533a2663335e (patch)
treeed4d382732de0ffa028b2ed98176276f298655c2 /drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
parentdrm/amdgpu: add some lockdep checks to the VM code (diff)
downloadkernel-e56694f718f0f6694c18d7595e61533a2663335e.tar.gz
kernel-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 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Acked-by: Daniel Vetter <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
index da21e60bb827..c6d4d41c4393 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
@@ -98,7 +98,7 @@ int amdgpu_map_static_csa(struct amdgpu_device *adev, struct amdgpu_vm *vm,
if (r) {
DRM_ERROR("failed to do bo_map on static CSA, err=%d\n", r);
- amdgpu_vm_bo_rmv(adev, *bo_va);
+ amdgpu_vm_bo_del(adev, *bo_va);
ttm_eu_backoff_reservation(&ticket, &list);
return r;
}