Searched refs:mem_glob (Results 1 – 6 of 6) sorted by relevance
/drivers/gpu/drm/vmwgfx/ |
D | ttm_object.c | 93 struct ttm_mem_global *mem_glob; member 352 struct ttm_mem_global *mem_glob = tfile->tdev->mem_glob; in ttm_ref_object_add() local 381 ret = ttm_mem_global_alloc(mem_glob, sizeof(*ref), in ttm_ref_object_add() 387 ttm_mem_global_free(mem_glob, sizeof(*ref)); in ttm_ref_object_add() 412 ttm_mem_global_free(mem_glob, sizeof(*ref)); in ttm_ref_object_add() 427 struct ttm_mem_global *mem_glob = tfile->tdev->mem_glob; in ttm_ref_object_release() local 438 ttm_mem_global_free(mem_glob, sizeof(*ref)); in ttm_ref_object_release() 526 ttm_object_device_init(struct ttm_mem_global *mem_glob, in ttm_object_device_init() argument 536 tdev->mem_glob = mem_glob; in ttm_object_device_init() 633 ttm_mem_global_free(tdev->mem_glob, tdev->dma_buf_size); in ttm_prime_dmabuf_release() [all …]
|
D | ttm_object.h | 308 ttm_object_device_init(struct ttm_mem_global *mem_glob,
|
D | vmwgfx_fence.c | 609 struct ttm_mem_global *mem_glob = vmw_mem_glob(fman->dev_priv); in vmw_user_fence_create() local 621 ret = ttm_mem_global_alloc(mem_glob, fman->user_fence_size, in vmw_user_fence_create() 665 ttm_mem_global_free(mem_glob, fman->user_fence_size); in vmw_user_fence_create()
|
/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc_dma.c | 890 struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob; in ttm_dma_populate() local 901 if (ttm_check_under_lowerlimit(mem_glob, num_pages, ctx)) in ttm_dma_populate() 929 ret = ttm_mem_global_alloc_page(mem_glob, ttm->pages[i], in ttm_dma_populate() 966 ret = ttm_mem_global_alloc_page(mem_glob, ttm->pages[i], in ttm_dma_populate() 995 struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob; in ttm_dma_unpopulate() local 1016 ttm_mem_global_free_page(mem_glob, d_page->p, in ttm_dma_unpopulate() 1045 ttm_mem_global_free_page(mem_glob, d_page->p, in ttm_dma_unpopulate()
|
D | ttm_page_alloc.c | 1031 struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob; in ttm_pool_unpopulate_helper() local 1041 ttm_mem_global_free_page(mem_glob, ttm->pages[i], PAGE_SIZE); in ttm_pool_unpopulate_helper() 1052 struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob; in ttm_pool_populate() local 1059 if (ttm_check_under_lowerlimit(mem_glob, ttm->num_pages, ctx)) in ttm_pool_populate() 1070 ret = ttm_mem_global_alloc_page(mem_glob, ttm->pages[i], in ttm_pool_populate()
|
D | ttm_bo.c | 167 ttm_mem_global_free(bdev->glob->mem_glob, acc_size); in ttm_bo_release_list() 1299 struct ttm_mem_global *mem_glob = bdev->glob->mem_glob; in ttm_bo_init_reserved() local 1302 ret = ttm_mem_global_alloc(mem_glob, acc_size, ctx); in ttm_bo_init_reserved() 1319 ttm_mem_global_free(mem_glob, acc_size); in ttm_bo_init_reserved() 1661 glob->mem_glob = &ttm_mem_glob; in ttm_bo_global_init() 1662 glob->mem_glob->bo_glob = glob; in ttm_bo_global_init()
|