summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2020-08-03 15:06:38 +0200
committerChristian König <christian.koenig@amd.com>2020-08-12 15:50:51 +0200
commite92ae67d6ed881e9c6d6d432eb6b5817f150a115 (patch)
tree119415f7a5796d9842243a7f37cd85c0a9b2637f /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parent13b0d4a9ae0c2d650993c48be797992eaf621332 (diff)
downloadlinux-stable-e92ae67d6ed881e9c6d6d432eb6b5817f150a115.tar.gz
linux-stable-e92ae67d6ed881e9c6d6d432eb6b5817f150a115.tar.bz2
linux-stable-e92ae67d6ed881e9c6d6d432eb6b5817f150a115.zip
drm/ttm: rename ttm_resource_manager_func callbacks
The names get/put are associated with reference counting in the Linux kernel, use alloc/free instead. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/384340/?series=80346&rev=1
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
index 7882efd275d1..ff70ae00e602 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
@@ -606,7 +606,7 @@ static void amdgpu_vram_mgr_debug(struct ttm_resource_manager *man,
}
static const struct ttm_resource_manager_func amdgpu_vram_mgr_func = {
- .get_node = amdgpu_vram_mgr_new,
- .put_node = amdgpu_vram_mgr_del,
- .debug = amdgpu_vram_mgr_debug
+ .alloc = amdgpu_vram_mgr_new,
+ .free = amdgpu_vram_mgr_del,
+ .debug = amdgpu_vram_mgr_debug
};