Home
last modified time | relevance | path

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

/netbsd/sys/external/bsd/drm2/dist/drm/i915/gt/
H A Dintel_lrc_reg.h46 const u64 addr__ = px_dma(ppgtt->pd); \
H A Dintel_gtt.h207 #define px_dma(px) (px_base(px)->map->dm_segs[0].ds_addr) macro
209 #define px_dma(px) (px_base(px)->daddr) macro
548 return px_dma(pt ?: px_base(&ppgtt->vm.scratch[ppgtt->vm.top])); in i915_page_dir_dma_addr()
H A Dgen6_ppgtt.c29 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()
H A Dgen8_ppgtt.c48 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()
H A Dintel_gtt.c498 if (!px_dma(&vm->scratch[0])) /* set to 0 on clones */ in free_scratch()
502 if (!px_dma(&vm->scratch[i])) in free_scratch()
H A Dintel_ggtt.c967 ggtt->vm.pte_encode(px_dma(&ggtt->vm.scratch[0]), in ggtt_probe_common()
/netbsd/sys/external/bsd/drm2/dist/drm/i915/gvt/
H A Dscheduler.c378 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()
/netbsd/sys/external/bsd/drm2/dist/drm/i915/gem/
H A Di915_gem_context.c1119 const dma_addr_t pd_daddr = px_dma(ppgtt->pd); in emit_ppgtt_update()