Searched refs:glob (Results 1 – 11 of 11) sorted by relevance
/drivers/gpu/drm/ttm/ |
D | ttm_memory.c | 44 struct ttm_mem_global *glob; member 92 spin_lock(&zone->glob->lock); in ttm_mem_zone_show() 103 spin_unlock(&zone->glob->lock); in ttm_mem_zone_show() 109 static void ttm_check_swapping(struct ttm_mem_global *glob); 129 spin_lock(&zone->glob->lock); in ttm_mem_zone_store() 142 spin_unlock(&zone->glob->lock); in ttm_mem_zone_store() 144 ttm_check_swapping(zone->glob); in ttm_mem_zone_store() 171 struct ttm_mem_global *glob = in ttm_mem_global_kobj_release() local 174 kfree(glob); in ttm_mem_global_kobj_release() 181 static bool ttm_zones_above_swap_target(struct ttm_mem_global *glob, in ttm_zones_above_swap_target() argument [all …]
|
D | ttm_bo.c | 108 struct ttm_bo_global *glob = in ttm_bo_global_show() local 112 (unsigned long) atomic_read(&glob->bo_count)); in ttm_bo_global_show() 152 atomic_dec(&bo->glob->bo_count); in ttm_bo_release_list() 161 ttm_mem_global_free(bdev->glob->mem_glob, acc_size); in ttm_bo_release_list() 180 list_add_tail(&bo->swap, &bo->glob->swap_lru); in ttm_bo_add_to_lru() 224 spin_lock(&bo->glob->lru_lock); in ttm_bo_del_sub_from_lru() 226 spin_unlock(&bo->glob->lru_lock); in ttm_bo_del_sub_from_lru() 237 struct ttm_bo_global *glob = bo->glob; in ttm_bo_add_ttm() local 253 page_flags, glob->dummy_read_page); in ttm_bo_add_ttm() 260 glob->dummy_read_page); in ttm_bo_add_ttm() [all …]
|
D | ttm_execbuf_util.c | 61 struct ttm_bo_global *glob; in ttm_eu_backoff_reservation() local 67 glob = entry->bo->glob; in ttm_eu_backoff_reservation() 69 spin_lock(&glob->lru_lock); in ttm_eu_backoff_reservation() 76 spin_unlock(&glob->lru_lock); in ttm_eu_backoff_reservation() 98 struct ttm_bo_global *glob; in ttm_eu_reserve_buffers() local 106 glob = entry->bo->glob; in ttm_eu_reserve_buffers() 167 spin_lock(&glob->lru_lock); in ttm_eu_reserve_buffers() 169 spin_unlock(&glob->lru_lock); in ttm_eu_reserve_buffers() 179 struct ttm_bo_global *glob; in ttm_eu_fence_buffer_objects() local 189 glob = bo->glob; in ttm_eu_fence_buffer_objects() [all …]
|
D | ttm_tt.c | 192 ttm->glob = bdev->glob; in ttm_tt_init() 224 ttm->glob = bdev->glob; in ttm_dma_tt_init()
|
D | ttm_page_alloc.c | 812 int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) in ttm_page_alloc_init() argument 837 &glob->kobj, "pool"); in ttm_page_alloc_init() 866 struct ttm_mem_global *mem_glob = ttm->glob->mem_glob; in ttm_pool_populate() 909 ttm_mem_global_free_page(ttm->glob->mem_glob, in ttm_pool_unpopulate()
|
D | ttm_page_alloc_dma.c | 876 struct ttm_mem_global *mem_glob = ttm->glob->mem_glob; 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() 1078 int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) in ttm_dma_page_alloc_init() argument 1099 &glob->kobj, "dma_pool"); in ttm_dma_page_alloc_init()
|
/drivers/gpu/drm/ |
D | drm_global.c | 42 static struct drm_global_item glob[DRM_GLOBAL_NUM]; variable 49 struct drm_global_item *item = &glob[i]; in drm_global_init() 60 struct drm_global_item *item = &glob[i]; in drm_global_release() 69 struct drm_global_item *item = &glob[ref->global_type]; in drm_global_item_ref() 98 struct drm_global_item *item = &glob[ref->global_type]; in drm_global_item_unref()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_buffer.c | 382 struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); in vmw_ttm_map_dma() local 407 ret = ttm_mem_global_alloc(glob, vmw_tt->sg_alloc_size, false, in vmw_ttm_map_dma() 425 ttm_mem_global_free(glob, over_alloc); in vmw_ttm_map_dma() 455 ttm_mem_global_free(glob, vmw_tt->sg_alloc_size); in vmw_ttm_map_dma() 627 struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); in vmw_ttm_populate() local 636 ret = ttm_mem_global_alloc(glob, size, false, true); in vmw_ttm_populate() 642 ttm_mem_global_free(glob, size); in vmw_ttm_populate() 654 struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); in vmw_ttm_unpopulate() local 668 ttm_mem_global_free(glob, size); in vmw_ttm_unpopulate()
|
/drivers/gpu/drm/qxl/ |
D | qxl_release.c | 435 struct ttm_bo_global *glob; in qxl_release_fence_buffer_objects() local 460 glob = bo->glob; in qxl_release_fence_buffer_objects() 462 spin_lock(&glob->lru_lock); in qxl_release_fence_buffer_objects() 472 spin_unlock(&glob->lru_lock); in qxl_release_fence_buffer_objects()
|
D | qxl_ttm.c | 455 struct ttm_bo_global *glob = rdev->mman.bdev.glob; in qxl_mm_dump_table() local 457 spin_lock(&glob->lru_lock); in qxl_mm_dump_table() 459 spin_unlock(&glob->lru_lock); in qxl_mm_dump_table()
|
/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 1001 struct ttm_bo_global *glob = rdev->mman.bdev.glob; in radeon_mm_dump_table() local 1003 spin_lock(&glob->lru_lock); in radeon_mm_dump_table() 1005 spin_unlock(&glob->lru_lock); in radeon_mm_dump_table()
|