diff options
author | Christian König <christian.koenig@amd.com> | 2020-08-03 15:06:38 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2020-08-12 15:50:51 +0200 |
commit | e92ae67d6ed881e9c6d6d432eb6b5817f150a115 (patch) | |
tree | 119415f7a5796d9842243a7f37cd85c0a9b2637f /drivers/gpu/drm/vmwgfx/vmwgfx_thp.c | |
parent | drm/hisilicon: Code refactoring for hibmc_drv_de (diff) | |
download | linux-dev-e92ae67d6ed881e9c6d6d432eb6b5817f150a115.tar.xz linux-dev-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/vmwgfx/vmwgfx_thp.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_thp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c b/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c index f594e2e6ab7e..3c00a9e7cfcc 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c @@ -177,7 +177,7 @@ static void vmw_thp_debug(struct ttm_resource_manager *man, } const struct ttm_resource_manager_func vmw_thp_func = { - .get_node = vmw_thp_get_node, - .put_node = vmw_thp_put_node, + .alloc = vmw_thp_get_node, + .free = vmw_thp_put_node, .debug = vmw_thp_debug }; |