Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A Dgtt.h185 enum intel_gvt_gtt_type root_entry_type, u64 pdps[]);
280 u64 pdps[]);
283 enum intel_gvt_gtt_type root_entry_type, u64 pdps[]);
285 int intel_vgpu_put_ppgtt_mm(struct intel_vgpu *vgpu, u64 pdps[]);
H A Dscheduler.c60 ring_context->pdps[i].val = pdp[7 - i]; in set_context_pdp_root_pointer()
912 gpa = ring_context_gpa + RING_CTX_OFF(pdps[0].val); in update_guest_pdps()
922 u64 shadow_pdp = c->pdps[7].val | (u64) c->pdps[6].val << 32; in check_shadow_context_ppgtt()
1573 gpa = ring_context_gpa + RING_CTX_OFF(pdps[0].val); in read_guest_pdps()
1586 u64 pdps[GVT_RING_CTX_NR_PDPS]; in prepare_mm() local
1600 read_guest_pdps(workload->vgpu, workload->ring_context_gpa, (void *)pdps); in prepare_mm()
1602 mm = intel_vgpu_get_ppgtt_mm(workload->vgpu, root_entry_type, pdps); in prepare_mm()
H A Dexeclist.h155 struct execlist_mmio_pair pdps[8]; member
H A Dgtt.c1861 enum intel_gvt_gtt_type root_entry_type, u64 pdps[]) in intel_vgpu_create_ppgtt_mm() argument
1882 mm->ppgtt_mm.guest_pdps[0] = pdps[0]; in intel_vgpu_create_ppgtt_mm()
1884 memcpy(mm->ppgtt_mm.guest_pdps, pdps, in intel_vgpu_create_ppgtt_mm()
2602 u64 pdps[]) in intel_vgpu_find_ppgtt_mm() argument
2612 if (pdps[0] == mm->ppgtt_mm.guest_pdps[0]) in intel_vgpu_find_ppgtt_mm()
2616 if (!memcmp(pdps, mm->ppgtt_mm.guest_pdps, in intel_vgpu_find_ppgtt_mm()
2639 enum intel_gvt_gtt_type root_entry_type, u64 pdps[]) in intel_vgpu_get_ppgtt_mm() argument
2643 mm = intel_vgpu_find_ppgtt_mm(vgpu, pdps); in intel_vgpu_get_ppgtt_mm()
2647 mm = intel_vgpu_create_ppgtt_mm(vgpu, root_entry_type, pdps); in intel_vgpu_get_ppgtt_mm()
2664 int intel_vgpu_put_ppgtt_mm(struct intel_vgpu *vgpu, u64 pdps[]) in intel_vgpu_put_ppgtt_mm() argument
[all …]
H A Dcmd_parser.c863 u64 pdps[GEN8_3LVL_PDPES]; in cmd_pdp_mmio_update_handler() local
867 pdps[0] = (u64)cmd_val(s, 2) << 32; in cmd_pdp_mmio_update_handler()
868 pdps[0] |= cmd_val(s, 4); in cmd_pdp_mmio_update_handler()
870 mm = intel_vgpu_find_ppgtt_mm(vgpu, pdps); in cmd_pdp_mmio_update_handler()
H A Dhandlers.c1473 u64 *pdps; in handle_g2v_notification() local
1475 pdps = (u64 *)&vgpu_vreg64_t(vgpu, vgtif_reg(pdp[0])); in handle_g2v_notification()
1482 mm = intel_vgpu_get_ppgtt_mm(vgpu, root_entry_type, pdps); in handle_g2v_notification()
1486 return intel_vgpu_put_ppgtt_mm(vgpu, pdps); in handle_g2v_notification()