Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/gt/
H A Dgen8_ppgtt.c138 #define GEN8_PTE_SHIFT (ilog2(GEN8_PAGE_SIZE)) macro
142 #define __gen8_pte_shift(lvl) (GEN8_PTE_SHIFT + gen8_pd_shift(lvl))
201 return gen8_pdp_for_page_index(vm, addr >> GEN8_PTE_SHIFT); in gen8_pdp_for_page_address()
246 GEM_BUG_ON(end > vm->total >> GEN8_PTE_SHIFT); in __gen8_ppgtt_clear()
310 GEM_BUG_ON(!IS_ALIGNED(start, BIT_ULL(GEN8_PTE_SHIFT))); in gen8_ppgtt_clear()
311 GEM_BUG_ON(!IS_ALIGNED(length, BIT_ULL(GEN8_PTE_SHIFT))); in gen8_ppgtt_clear()
314 start >>= GEN8_PTE_SHIFT; in gen8_ppgtt_clear()
315 length >>= GEN8_PTE_SHIFT; in gen8_ppgtt_clear()
329 GEM_BUG_ON(end > vm->total >> GEN8_PTE_SHIFT); in __gen8_ppgtt_alloc()
394 GEM_BUG_ON(!IS_ALIGNED(start, BIT_ULL(GEN8_PTE_SHIFT))); in gen8_ppgtt_alloc()
[all …]