Searched refs:mem_glob (Results 1 – 17 of 17) sorted by relevance
/drivers/gpu/drm/ttm/ |
D | ttm_object.c | 93 struct ttm_mem_global *mem_glob; member 327 struct ttm_mem_global *mem_glob = tfile->tdev->mem_glob; in ttm_ref_object_add() local 352 ret = ttm_mem_global_alloc(mem_glob, sizeof(*ref), in ttm_ref_object_add() 358 ttm_mem_global_free(mem_glob, sizeof(*ref)); in ttm_ref_object_add() 383 ttm_mem_global_free(mem_glob, sizeof(*ref)); in ttm_ref_object_add() 398 struct ttm_mem_global *mem_glob = tfile->tdev->mem_glob; in ttm_ref_object_release() local 409 ttm_mem_global_free(mem_glob, sizeof(*ref)); in ttm_ref_object_release() 500 ttm_object_device_init(struct ttm_mem_global *mem_glob, in ttm_object_device_init() argument 510 tdev->mem_glob = mem_glob; in ttm_object_device_init() 606 ttm_mem_global_free(tdev->mem_glob, tdev->dma_buf_size); in ttm_prime_dmabuf_release() [all …]
|
D | ttm_bo.c | 160 ttm_mem_global_free(bdev->glob->mem_glob, acc_size); in ttm_bo_release_list() 1152 struct ttm_mem_global *mem_glob = bdev->glob->mem_glob; in ttm_bo_init_reserved() local 1155 ret = ttm_mem_global_alloc(mem_glob, acc_size, false, false); in ttm_bo_init_reserved() 1172 ttm_mem_global_free(mem_glob, acc_size); in ttm_bo_init_reserved() 1473 ttm_mem_unregister_shrink(glob->mem_glob, &glob->shrink); in ttm_bo_global_kobj_release() 1497 glob->mem_glob = bo_ref->mem_glob; in ttm_bo_global_init() 1510 ret = ttm_mem_register_shrink(glob->mem_glob, &glob->shrink); in ttm_bo_global_init()
|
D | ttm_page_alloc.c | 871 struct ttm_mem_global *mem_glob = ttm->glob->mem_glob; in ttm_pool_populate() local 887 ret = ttm_mem_global_alloc_page(mem_glob, ttm->pages[i], in ttm_pool_populate() 914 ttm_mem_global_free_page(ttm->glob->mem_glob, in ttm_pool_unpopulate()
|
D | ttm_page_alloc_dma.c | 881 struct ttm_mem_global *mem_glob = ttm->glob->mem_glob; in ttm_dma_populate() local 915 ret = ttm_mem_global_alloc_page(mem_glob, ttm->pages[i], in ttm_dma_populate() 980 ttm_mem_global_free_page(ttm->glob->mem_glob, in ttm_dma_unpopulate() 986 ttm_mem_global_free_page(ttm->glob->mem_glob, in ttm_dma_unpopulate()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ttm_glue.c | 74 dev_priv->bo_global_ref.mem_glob = in vmw_ttm_global_init()
|
D | vmwgfx_fence.c | 590 struct ttm_mem_global *mem_glob = vmw_mem_glob(fman->dev_priv); in vmw_user_fence_create() local 598 ret = ttm_mem_global_alloc(mem_glob, fman->user_fence_size, in vmw_user_fence_create() 642 ttm_mem_global_free(mem_glob, fman->user_fence_size); in vmw_user_fence_create()
|
/drivers/gpu/drm/virtio/ |
D | virtgpu_ttm.c | 82 vgdev->mman.bo_global_ref.mem_glob = in virtio_gpu_ttm_global_init()
|
/drivers/staging/vboxvideo/ |
D | vbox_ttm.c | 67 vbox->ttm.bo_global_ref.mem_glob = vbox->ttm.mem_global_ref.object; in vbox_ttm_global_init()
|
/drivers/gpu/drm/mgag200/ |
D | mgag200_ttm.c | 68 ast->ttm.bo_global_ref.mem_glob = in mgag200_ttm_global_init()
|
/drivers/gpu/drm/cirrus/ |
D | cirrus_ttm.c | 68 cirrus->ttm.bo_global_ref.mem_glob = in cirrus_ttm_global_init()
|
/drivers/gpu/drm/ast/ |
D | ast_ttm.c | 68 ast->ttm.bo_global_ref.mem_glob = in ast_ttm_global_init()
|
/drivers/gpu/drm/qxl/ |
D | qxl_ttm.c | 78 qdev->mman.bo_global_ref.mem_glob = in qxl_ttm_global_init()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_ttm.c | 316 drm->ttm.bo_global_ref.mem_glob = global_ref->object; in nouveau_ttm_global_init()
|
/drivers/gpu/drm/hisilicon/hibmc/ |
D | hibmc_ttm.c | 58 hibmc->bo_global_ref.mem_glob = in hibmc_ttm_global_init()
|
/drivers/gpu/drm/bochs/ |
D | bochs_mm.c | 46 bochs->ttm.bo_global_ref.mem_glob = in bochs_ttm_global_init()
|
/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 95 rdev->mman.bo_global_ref.mem_glob = in radeon_ttm_global_init()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ttm.c | 93 adev->mman.bo_global_ref.mem_glob = in amdgpu_ttm_global_init()
|