Home
last modified time | relevance | path

Searched refs:used_visible_size (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/gpu/drm/i915/
H A Di915_ttm_buddy_manager.c102 bman_res->used_visible_size = PFN_UP(bman_res->base.size); in i915_ttm_buddy_man_alloc()
114 bman_res->used_visible_size += in i915_ttm_buddy_man_alloc()
120 if (bman_res->used_visible_size) in i915_ttm_buddy_man_alloc()
121 bman->visible_avail -= bman_res->used_visible_size; in i915_ttm_buddy_man_alloc()
145 bman->visible_avail += bman_res->used_visible_size; in i915_ttm_buddy_man_free()
174 return bman_res->used_visible_size > 0; in i915_ttm_buddy_man_intersects()
207 return bman_res->used_visible_size == PFN_UP(res->size); in i915_ttm_buddy_man_compatible()
H A Di915_ttm_buddy_manager.h35 unsigned long used_visible_size; member
/linux/drivers/gpu/drm/xe/
H A Dxe_ttm_vram_mgr.c158 vres->used_visible_size = size; in xe_ttm_vram_mgr_new()
168 vres->used_visible_size += in xe_ttm_vram_mgr_new()
174 mgr->visible_avail -= vres->used_visible_size; in xe_ttm_vram_mgr_new()
218 mgr->visible_avail += vres->used_visible_size; in xe_ttm_vram_mgr_del()
260 return vres->used_visible_size > 0; in xe_ttm_vram_mgr_intersects()
290 return vres->used_visible_size == size; in xe_ttm_vram_mgr_compatible()
385 if (vres->used_visible_size < res->size) in xe_ttm_vram_mgr_alloc_sgt()
H A Dxe_ttm_vram_mgr_types.h47 u64 used_visible_size; member
H A Dxe_bo.c460 if (vres->used_visible_size < mem->size) in xe_ttm_io_mem_reserve()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm.c650 return bman_res->used_visible_size == PFN_UP(bman_res->base.size); in i915_ttm_resource_mappable()