Searched refs:px_dma (Results 1 – 8 of 8) sorted by relevance
46 const u64 addr__ = px_dma(ppgtt->pd); \
207 #define px_dma(px) (px_base(px)->map->dm_segs[0].ds_addr) macro209 #define px_dma(px) (px_base(px)->daddr) macro548 return px_dma(pt ?: px_base(&ppgtt->vm.scratch[ppgtt->vm.top])); in i915_page_dir_dma_addr()
29 GEN6_PDE_ADDR_ENCODE(px_dma(pt)) | GEN6_PDE_VALID); in gen6_write_pde()31 iowrite32(GEN6_PDE_ADDR_ENCODE(px_dma(pt)) | GEN6_PDE_VALID, in gen6_write_pde()284 vm->pte_encode(px_dma(&vm->scratch[0]), in gen6_ppgtt_init_scratch()
48 const u64 daddr = px_dma(ppgtt->pd); in gen8_ppgtt_notify_vgt()674 px_dma(&vm->scratch[0]) = 0; /* no xfer of ownership */ in gen8_init_scratch()683 gen8_pte_encode(px_dma(&vm->scratch[0]), in gen8_init_scratch()692 gen8_pde_encode(px_dma(&vm->scratch[i]), in gen8_init_scratch()
498 if (!px_dma(&vm->scratch[0])) /* set to 0 on clones */ in free_scratch()502 if (!px_dma(&vm->scratch[i])) in free_scratch()
967 ggtt->vm.pte_encode(px_dma(&ggtt->vm.scratch[0]), in ggtt_probe_common()
378 px_dma(ppgtt->pd) = mm->ppgtt_mm.shadow_pdps[0]; in set_context_ppgtt_from_shadow()384 px_dma(pd) = mm->ppgtt_mm.shadow_pdps[i]; in set_context_ppgtt_from_shadow()1141 px_dma(ppgtt->pd) = s->i915_context_pml4; in i915_context_ppgtt_root_restore()1147 px_dma(pd) = s->i915_context_pdps[i]; in i915_context_ppgtt_root_restore()1202 s->i915_context_pml4 = px_dma(ppgtt->pd); in i915_context_ppgtt_root_save()1208 s->i915_context_pdps[i] = px_dma(pd); in i915_context_ppgtt_root_save()
1119 const dma_addr_t pd_daddr = px_dma(ppgtt->pd); in emit_ppgtt_update()