Home
last modified time | relevance | path

Searched refs:mem_glob (Results 1 – 15 of 15) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/ttm/
Dttm_object.c93 struct ttm_mem_global *mem_glob; member
326 struct ttm_mem_global *mem_glob = tfile->tdev->mem_glob; in ttm_ref_object_add() local
348 ret = ttm_mem_global_alloc(mem_glob, sizeof(*ref), in ttm_ref_object_add()
354 ttm_mem_global_free(mem_glob, sizeof(*ref)); in ttm_ref_object_add()
379 ttm_mem_global_free(mem_glob, sizeof(*ref)); in ttm_ref_object_add()
394 struct ttm_mem_global *mem_glob = tfile->tdev->mem_glob; in ttm_ref_object_release() local
405 ttm_mem_global_free(mem_glob, sizeof(*ref)); in ttm_ref_object_release()
496 ttm_object_device_init(struct ttm_mem_global *mem_glob, in ttm_object_device_init() argument
506 tdev->mem_glob = mem_glob; in ttm_object_device_init()
604 ttm_mem_global_free(tdev->mem_glob, tdev->dma_buf_size); in ttm_prime_dmabuf_release()
[all …]
Dttm_bo.c161 ttm_mem_global_free(bdev->glob->mem_glob, acc_size); in ttm_bo_release_list()
1090 struct ttm_mem_global *mem_glob = bdev->glob->mem_glob; in ttm_bo_init() local
1093 ret = ttm_mem_global_alloc(mem_glob, acc_size, false, false); in ttm_bo_init()
1110 ttm_mem_global_free(mem_glob, acc_size); in ttm_bo_init()
1353 ttm_mem_unregister_shrink(glob->mem_glob, &glob->shrink); in ttm_bo_global_kobj_release()
1376 glob->mem_glob = bo_ref->mem_glob; in ttm_bo_global_init()
1388 ret = ttm_mem_register_shrink(glob->mem_glob, &glob->shrink); in ttm_bo_global_init()
Dttm_page_alloc.c866 struct ttm_mem_global *mem_glob = ttm->glob->mem_glob; in ttm_pool_populate() local
882 ret = ttm_mem_global_alloc_page(mem_glob, ttm->pages[i], in ttm_pool_populate()
909 ttm_mem_global_free_page(ttm->glob->mem_glob, in ttm_pool_unpopulate()
Dttm_page_alloc_dma.c876 struct ttm_mem_global *mem_glob = ttm->glob->mem_glob; in ttm_dma_populate() local
910 ret = ttm_mem_global_alloc_page(mem_glob, ttm->pages[i], in ttm_dma_populate()
976 ttm_mem_global_free_page(ttm->glob->mem_glob, in ttm_dma_unpopulate()
982 ttm_mem_global_free_page(ttm->glob->mem_glob, in ttm_dma_unpopulate()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_glue.c74 dev_priv->bo_global_ref.mem_glob = in vmw_ttm_global_init()
Dvmwgfx_fence.c596 struct ttm_mem_global *mem_glob = vmw_mem_glob(fman->dev_priv); in vmw_user_fence_create() local
604 ret = ttm_mem_global_alloc(mem_glob, fman->user_fence_size, in vmw_user_fence_create()
648 ttm_mem_global_free(mem_glob, fman->user_fence_size); in vmw_user_fence_create()
/linux-4.1.27/include/drm/ttm/
Dttm_object.h304 ttm_object_device_init(struct ttm_mem_global *mem_glob,
Dttm_bo_driver.h445 struct ttm_mem_global *mem_glob; member
469 struct ttm_mem_global *mem_glob; member
/linux-4.1.27/drivers/gpu/drm/cirrus/
Dcirrus_ttm.c67 cirrus->ttm.bo_global_ref.mem_glob = in cirrus_ttm_global_init()
/linux-4.1.27/drivers/gpu/drm/mgag200/
Dmgag200_ttm.c67 ast->ttm.bo_global_ref.mem_glob = in mgag200_ttm_global_init()
/linux-4.1.27/drivers/gpu/drm/ast/
Dast_ttm.c67 ast->ttm.bo_global_ref.mem_glob = in ast_ttm_global_init()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_ttm.c324 drm->ttm.bo_global_ref.mem_glob = global_ref->object; in nouveau_ttm_global_init()
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_ttm.c79 qdev->mman.bo_global_ref.mem_glob = in qxl_ttm_global_init()
/linux-4.1.27/drivers/gpu/drm/bochs/
Dbochs_mm.c46 bochs->ttm.bo_global_ref.mem_glob = in bochs_ttm_global_init()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_ttm.c95 rdev->mman.bo_global_ref.mem_glob = in radeon_ttm_global_init()