Lines Matching refs:fpfn
63 if (tbo->base.size >> PAGE_SHIFT > (lpfn - place->fpfn)) in xe_ttm_vram_mgr_new()
83 if (place->fpfn || lpfn != man->size >> PAGE_SHIFT) in xe_ttm_vram_mgr_new()
124 if (place->fpfn + (size >> PAGE_SHIFT) != place->lpfn && in xe_ttm_vram_mgr_new()
129 lpfn = max_t(unsigned long, place->fpfn + (size >> PAGE_SHIFT), lpfn); in xe_ttm_vram_mgr_new()
140 err = drm_buddy_alloc_blocks(mm, (u64)place->fpfn << PAGE_SHIFT, in xe_ttm_vram_mgr_new()
256 if (!place->fpfn && !place->lpfn) in xe_ttm_vram_mgr_intersects()
259 if (!place->fpfn && place->lpfn == mgr->visible_size >> PAGE_SHIFT) in xe_ttm_vram_mgr_intersects()
263 unsigned long fpfn = in xe_ttm_vram_mgr_intersects() local
265 unsigned long lpfn = fpfn + in xe_ttm_vram_mgr_intersects()
268 if (place->fpfn < lpfn && place->lpfn > fpfn) in xe_ttm_vram_mgr_intersects()
286 if (!place->fpfn && !place->lpfn) in xe_ttm_vram_mgr_compatible()
289 if (!place->fpfn && place->lpfn == mgr->visible_size >> PAGE_SHIFT) in xe_ttm_vram_mgr_compatible()
293 unsigned long fpfn = in xe_ttm_vram_mgr_compatible() local
295 unsigned long lpfn = fpfn + in xe_ttm_vram_mgr_compatible()
298 if (fpfn < place->fpfn || lpfn > place->lpfn) in xe_ttm_vram_mgr_compatible()