Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/
Di915_gem_gtt.c540 struct i915_page_directory_pointer *pdp) in __pdp_init() argument
545 pdp->page_directory = kmalloc_array(pdpes, sizeof(*pdp->page_directory), in __pdp_init()
547 if (unlikely(!pdp->page_directory)) in __pdp_init()
551 pdp->page_directory[i] = vm->scratch_pd; in __pdp_init()
556 static void __pdp_fini(struct i915_page_directory_pointer *pdp) in __pdp_fini() argument
558 kfree(pdp->page_directory); in __pdp_fini()
559 pdp->page_directory = NULL; in __pdp_fini()
570 struct i915_page_directory_pointer *pdp; in alloc_pdp() local
575 pdp = kzalloc(sizeof(*pdp), GFP_KERNEL); in alloc_pdp()
576 if (!pdp) in alloc_pdp()
[all …]
Di915_gem_gtt.h389 struct i915_page_directory_pointer pdp; /* GEN8+ */ member
490 #define gen8_for_each_pdpe(pd, pdp, start, length, iter) \ argument
493 (pd = (pdp)->page_directory[iter], true); \
498 #define gen8_for_each_pml4e(pdp, pml4, start, length, iter) \ argument
501 (pdp = (pml4)->pdps[iter], true); \
534 return px_dma(ppgtt->pdp.page_directory[n]); in i915_page_dir_dma_addr()
Di915_pvinfo.h100 } pdp[4]; member
Di915_gpu_error.c449 i, ee->vm_info.pdp[i]); in error_print_engine()
1256 ee->vm_info.pdp[i] = in error_record_engine_registers()
1258 ee->vm_info.pdp[i] <<= 32; in error_record_engine_registers()
1259 ee->vm_info.pdp[i] |= in error_record_engine_registers()
Di915_debugfs.c2141 u64 pdp = I915_READ(GEN8_RING_PDP_UDW(engine, i)); in gen8_ppgtt_info() local
2142 pdp <<= 32; in gen8_ppgtt_info()
2143 pdp |= I915_READ(GEN8_RING_PDP_LDW(engine, i)); in gen8_ppgtt_info()
2144 seq_printf(m, "\tPDP%d 0x%016llx\n", i, pdp); in gen8_ppgtt_info()
Di915_drv.h997 u64 pdp[4]; member
/drivers/net/
Dgtp.c112 struct pdp_ctx *pdp; in gtp0_pdp_find() local
116 hlist_for_each_entry_rcu(pdp, head, hlist_tid) { in gtp0_pdp_find()
117 if (pdp->gtp_version == GTP_V0 && in gtp0_pdp_find()
118 pdp->u.v0.tid == tid) in gtp0_pdp_find()
119 return pdp; in gtp0_pdp_find()
128 struct pdp_ctx *pdp; in gtp1_pdp_find() local
132 hlist_for_each_entry_rcu(pdp, head, hlist_tid) { in gtp1_pdp_find()
133 if (pdp->gtp_version == GTP_V1 && in gtp1_pdp_find()
134 pdp->u.v1.i_tei == tid) in gtp1_pdp_find()
135 return pdp; in gtp1_pdp_find()
[all …]
/drivers/gpu/drm/i915/gvt/
Dexeclist.c567 u64 ring_context_gpa, u32 pdp[8]) in read_guest_pdps()
576 gpa + i * 8, &pdp[7 - i], 4); in read_guest_pdps()
585 u32 pdp[8]; in prepare_mm() local
596 read_guest_pdps(workload->vgpu, workload->ring_context_gpa, pdp); in prepare_mm()
598 mm = intel_vgpu_find_ppgtt_mm(workload->vgpu, page_table_level, pdp); in prepare_mm()
604 pdp, page_table_level, 0); in prepare_mm()
Dgtt.c2200 u64 *pdp = (u64 *)&vgpu_vreg64(vgpu, vgtif_reg(pdp[0])); in intel_vgpu_g2v_create_ppgtt_mm() local
2206 mm = intel_vgpu_find_ppgtt_mm(vgpu, page_table_level, pdp); in intel_vgpu_g2v_create_ppgtt_mm()
2211 pdp, page_table_level, 0); in intel_vgpu_g2v_create_ppgtt_mm()
2235 u64 *pdp = (u64 *)&vgpu_vreg64(vgpu, vgtif_reg(pdp[0])); in intel_vgpu_g2v_destroy_ppgtt_mm() local
2241 mm = intel_vgpu_find_ppgtt_mm(vgpu, page_table_level, pdp); in intel_vgpu_g2v_destroy_ppgtt_mm()
Dscheduler.c46 u32 pdp[8]) in set_context_pdp_root_pointer()
52 pdp_pair[i].val = pdp[7 - i]; in set_context_pdp_root_pointer()
Dhandlers.c1190 case _vgtif_reg(pdp[0].lo): in pvinfo_mmio_write()
1191 case _vgtif_reg(pdp[0].hi): in pvinfo_mmio_write()
1192 case _vgtif_reg(pdp[1].lo): in pvinfo_mmio_write()
1193 case _vgtif_reg(pdp[1].hi): in pvinfo_mmio_write()
1194 case _vgtif_reg(pdp[2].lo): in pvinfo_mmio_write()
1195 case _vgtif_reg(pdp[2].hi): in pvinfo_mmio_write()
1196 case _vgtif_reg(pdp[3].lo): in pvinfo_mmio_write()
1197 case _vgtif_reg(pdp[3].hi): in pvinfo_mmio_write()