Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/ttm/
Dttm_object.c94 struct ttm_mem_global *mem_glob; member
328 struct ttm_mem_global *mem_glob = tfile->tdev->mem_glob; in ttm_ref_object_add() local
357 ret = ttm_mem_global_alloc(mem_glob, sizeof(*ref), in ttm_ref_object_add()
363 ttm_mem_global_free(mem_glob, sizeof(*ref)); in ttm_ref_object_add()
388 ttm_mem_global_free(mem_glob, sizeof(*ref)); in ttm_ref_object_add()
403 struct ttm_mem_global *mem_glob = tfile->tdev->mem_glob; in ttm_ref_object_release() local
414 ttm_mem_global_free(mem_glob, sizeof(*ref)); in ttm_ref_object_release()
505 ttm_object_device_init(struct ttm_mem_global *mem_glob, in ttm_object_device_init() argument
515 tdev->mem_glob = mem_glob; in ttm_object_device_init()
611 ttm_mem_global_free(tdev->mem_glob, tdev->dma_buf_size); in ttm_prime_dmabuf_release()
[all …]
Dttm_page_alloc_dma.c892 struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob; in ttm_dma_populate() local
903 if (ttm_check_under_lowerlimit(mem_glob, num_pages, ctx)) in ttm_dma_populate()
931 ret = ttm_mem_global_alloc_page(mem_glob, ttm->pages[i], in ttm_dma_populate()
968 ret = ttm_mem_global_alloc_page(mem_glob, ttm->pages[i], in ttm_dma_populate()
997 struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob; in ttm_dma_unpopulate() local
1018 ttm_mem_global_free_page(mem_glob, d_page->p, in ttm_dma_unpopulate()
1047 ttm_mem_global_free_page(mem_glob, d_page->p, in ttm_dma_unpopulate()
Dttm_page_alloc.c1030 struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob; in ttm_pool_unpopulate_helper() local
1040 ttm_mem_global_free_page(mem_glob, ttm->pages[i], PAGE_SIZE); in ttm_pool_unpopulate_helper()
1051 struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob; in ttm_pool_populate() local
1058 if (ttm_check_under_lowerlimit(mem_glob, ttm->num_pages, ctx)) in ttm_pool_populate()
1069 ret = ttm_mem_global_alloc_page(mem_glob, ttm->pages[i], in ttm_pool_populate()
Dttm_bo.c158 ttm_mem_global_free(bdev->glob->mem_glob, acc_size); in ttm_bo_release_list()
1126 struct ttm_mem_global *mem_glob = bdev->glob->mem_glob; in ttm_bo_init_reserved() local
1129 ret = ttm_mem_global_alloc(mem_glob, acc_size, ctx); in ttm_bo_init_reserved()
1146 ttm_mem_global_free(mem_glob, acc_size); in ttm_bo_init_reserved()
1470 glob->mem_glob = bo_ref->mem_glob; in ttm_bo_global_init()
1471 glob->mem_glob->bo_glob = glob; in ttm_bo_global_init()
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_glue.c74 dev_priv->bo_global_ref.mem_glob = in vmw_ttm_global_init()
Dvmwgfx_fence.c604 struct ttm_mem_global *mem_glob = vmw_mem_glob(fman->dev_priv); in vmw_user_fence_create() local
616 ret = ttm_mem_global_alloc(mem_glob, fman->user_fence_size, in vmw_user_fence_create()
660 ttm_mem_global_free(mem_glob, fman->user_fence_size); in vmw_user_fence_create()
/Linux-v4.19/include/drm/ttm/
Dttm_bo_driver.h393 struct ttm_mem_global *mem_glob; member
417 struct ttm_mem_global *mem_glob; member
Dttm_object.h308 ttm_object_device_init(struct ttm_mem_global *mem_glob,
/Linux-v4.19/drivers/gpu/drm/nouveau/
Dnouveau_ttm.c208 drm->ttm.bo_global_ref.mem_glob = global_ref->object; in nouveau_ttm_global_init()
/Linux-v4.19/drivers/gpu/drm/virtio/
Dvirtgpu_ttm.c82 vgdev->mman.bo_global_ref.mem_glob = in virtio_gpu_ttm_global_init()
/Linux-v4.19/drivers/staging/vboxvideo/
Dvbox_ttm.c67 vbox->ttm.bo_global_ref.mem_glob = vbox->ttm.mem_global_ref.object; in vbox_ttm_global_init()
/Linux-v4.19/drivers/gpu/drm/mgag200/
Dmgag200_ttm.c68 ast->ttm.bo_global_ref.mem_glob = in mgag200_ttm_global_init()
/Linux-v4.19/drivers/gpu/drm/ast/
Dast_ttm.c68 ast->ttm.bo_global_ref.mem_glob = in ast_ttm_global_init()
/Linux-v4.19/drivers/gpu/drm/cirrus/
Dcirrus_ttm.c68 cirrus->ttm.bo_global_ref.mem_glob = in cirrus_ttm_global_init()
/Linux-v4.19/drivers/gpu/drm/qxl/
Dqxl_ttm.c78 qdev->mman.bo_global_ref.mem_glob = in qxl_ttm_global_init()
/Linux-v4.19/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_ttm.c58 hibmc->bo_global_ref.mem_glob = in hibmc_ttm_global_init()
/Linux-v4.19/drivers/gpu/drm/bochs/
Dbochs_mm.c46 bochs->ttm.bo_global_ref.mem_glob = in bochs_ttm_global_init()
/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_ttm.c95 rdev->mman.bo_global_ref.mem_glob = in radeon_ttm_global_init()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c122 adev->mman.bo_global_ref.mem_glob = in amdgpu_ttm_global_init()