Lines Matching refs:pde
21 u64 pde = addr | GEN8_PAGE_PRESENT | GEN8_PAGE_RW; in gen8_pde_encode() local
24 pde |= PPAT_CACHED_PDE; in gen8_pde_encode()
26 pde |= PPAT_UNCACHED; in gen8_pde_encode()
28 return pde; in gen8_pde_encode()
208 void **pde = pd->entry; in __gen8_ppgtt_cleanup() local
211 if (!*pde) in __gen8_ppgtt_cleanup()
214 __gen8_ppgtt_cleanup(vm, *pde, GEN8_PDES, lvl - 1); in __gen8_ppgtt_cleanup()
215 } while (pde++, --count); in __gen8_ppgtt_cleanup()
898 struct i915_page_directory *pde; in gen8_preallocate_top_level_pdp() local
901 pde = alloc_pd(vm); in gen8_preallocate_top_level_pdp()
902 if (IS_ERR(pde)) in gen8_preallocate_top_level_pdp()
903 return PTR_ERR(pde); in gen8_preallocate_top_level_pdp()
905 err = map_pt_dma(vm, pde->pt.base); in gen8_preallocate_top_level_pdp()
907 free_pd(vm, pde); in gen8_preallocate_top_level_pdp()
911 fill_px(pde, vm->scratch[1]->encode); in gen8_preallocate_top_level_pdp()
912 set_pd_entry(pd, idx, pde); in gen8_preallocate_top_level_pdp()
913 atomic_inc(px_used(pde)); /* keep pinned */ in gen8_preallocate_top_level_pdp()