Home
last modified time | relevance | path

Searched refs:visible_size (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/
Di915_ttm_buddy_manager.c22 unsigned long visible_size; member
86 if (lpfn <= bman->visible_size && n_pages > bman->visible_avail) { in i915_ttm_buddy_man_alloc()
101 if (lpfn <= bman->visible_size) { in i915_ttm_buddy_man_alloc()
110 if (start < bman->visible_size) { in i915_ttm_buddy_man_alloc()
115 min(end, bman->visible_size) - start; in i915_ttm_buddy_man_alloc()
235 (u64)bman->visible_size << PAGE_SHIFT >> 20); in i915_ttm_buddy_man_debug()
285 u64 size, u64 visible_size, u64 default_page_size, in i915_ttm_buddy_man_init() argument
304 bman->visible_size = visible_size >> PAGE_SHIFT; in i915_ttm_buddy_man_init()
305 bman->visible_avail = bman->visible_size; in i915_ttm_buddy_man_init()
351 WARN_ON_ONCE(bman->visible_avail != bman->visible_size); in i915_ttm_buddy_man_fini()
[all …]
Di915_ttm_buddy_manager.h54 u64 size, u64 visible_size,
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_ttm_vram_mgr.c118 if (lpfn <= mgr->visible_size >> PAGE_SHIFT && size > mgr->visible_avail) { in xe_ttm_vram_mgr_new()
157 if (lpfn <= mgr->visible_size >> PAGE_SHIFT) { in xe_ttm_vram_mgr_new()
165 if (start < mgr->visible_size) { in xe_ttm_vram_mgr_new()
169 min(end, mgr->visible_size) - start; in xe_ttm_vram_mgr_new()
238 (u64)mgr->visible_size >> 20); in xe_ttm_vram_mgr_debug()
259 if (!place->fpfn && place->lpfn == mgr->visible_size >> PAGE_SHIFT) in xe_ttm_vram_mgr_intersects()
289 if (!place->fpfn && place->lpfn == mgr->visible_size >> PAGE_SHIFT) in xe_ttm_vram_mgr_compatible()
324 WARN_ON_ONCE(mgr->visible_avail != mgr->visible_size); in ttm_vram_mgr_fini()
346 mgr->visible_size = io_size; in __xe_ttm_vram_mgr_init()
468 return mgr->visible_size; in xe_ttm_vram_get_cpu_visible_size()
[all …]
Dxe_ttm_vram_mgr_types.h27 u64 visible_size; member