/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
H A D | gtt.h | 176 enum intel_gvt_gtt_type root_entry_type, u64 pdps[]); 271 u64 pdps[]); 274 enum intel_gvt_gtt_type root_entry_type, u64 pdps[]); 276 int intel_vgpu_put_ppgtt_mm(struct intel_vgpu *vgpu, u64 pdps[]);
|
H A D | gtt.c | 1895 * @pdps: guest pdps. 1903 enum intel_gvt_gtt_type root_entry_type, u64 pdps[]) in intel_vgpu_create_ppgtt_mm() 1924 mm->ppgtt_mm.guest_pdps[0] = pdps[0]; in intel_vgpu_create_ppgtt_mm() 1926 memcpy(mm->ppgtt_mm.guest_pdps, pdps, in intel_vgpu_create_ppgtt_mm() 2647 * @pdps: pdp root array 2655 u64 pdps[]) in intel_vgpu_find_ppgtt_mm() 2665 if (pdps[0] == mm->ppgtt_mm.guest_pdps[0]) in intel_vgpu_find_ppgtt_mm() 2669 if (!memcmp(pdps, mm->ppgtt_mm.guest_pdps, in intel_vgpu_find_ppgtt_mm() 2684 * @pdps 1902 intel_vgpu_create_ppgtt_mm(struct intel_vgpu *vgpu, enum intel_gvt_gtt_type root_entry_type, u64 pdps[]) intel_vgpu_create_ppgtt_mm() argument 2654 intel_vgpu_find_ppgtt_mm(struct intel_vgpu *vgpu, u64 pdps[]) intel_vgpu_find_ppgtt_mm() argument 2691 intel_vgpu_get_ppgtt_mm(struct intel_vgpu *vgpu, enum intel_gvt_gtt_type root_entry_type, u64 pdps[]) intel_vgpu_get_ppgtt_mm() argument 2717 intel_vgpu_put_ppgtt_mm(struct intel_vgpu *vgpu, u64 pdps[]) intel_vgpu_put_ppgtt_mm() argument [all...] |
H A D | execlist.h | 152 * pdps[8]={ pdp3_UDW, pdp3_LDW, pdp2_UDW, pdp2_LDW, 155 struct execlist_mmio_pair pdps[8]; member
|
H A D | scheduler.c | 56 ring_context->pdps[i].val = pdp[7 - i]; in set_context_pdp_root_pointer() 863 gpa = ring_context_gpa + RING_CTX_OFF(pdps[0].val); in update_guest_pdps() 874 u64 shadow_pdp = c->pdps[7].val | (u64) c->pdps[6].val << 32; in check_shadow_context_ppgtt() 1529 gpa = ring_context_gpa + RING_CTX_OFF(pdps[0].val); in read_guest_pdps() 1542 u64 pdps[GVT_RING_CTX_NR_PDPS]; in prepare_mm() local 1556 read_guest_pdps(workload->vgpu, workload->ring_context_gpa, (void *)pdps); in prepare_mm() 1558 mm = intel_vgpu_get_ppgtt_mm(workload->vgpu, root_entry_type, pdps); in prepare_mm()
|
H A D | cmd_parser.c | 898 u64 pdps[GEN8_3LVL_PDPES]; in cmd_pdp_mmio_update_handler() local 902 pdps[0] = (u64)cmd_val(s, 2) << 32; in cmd_pdp_mmio_update_handler() 903 pdps[0] |= cmd_val(s, 4); in cmd_pdp_mmio_update_handler() 905 mm = intel_vgpu_find_ppgtt_mm(vgpu, pdps); in cmd_pdp_mmio_update_handler()
|
H A D | handlers.c | 1222 u64 *pdps; in handle_g2v_notification() local 1224 pdps = (u64 *)&vgpu_vreg64_t(vgpu, vgtif_reg(pdp[0])); in handle_g2v_notification() 1231 mm = intel_vgpu_get_ppgtt_mm(vgpu, root_entry_type, pdps); in handle_g2v_notification() 1235 return intel_vgpu_put_ppgtt_mm(vgpu, pdps); in handle_g2v_notification()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/ |
H A D | gtt.h | 185 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 D | gtt.c | 1853 * @pdps: guest pdps. 1861 enum intel_gvt_gtt_type root_entry_type, u64 pdps[]) in intel_vgpu_create_ppgtt_mm() 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() 2594 * @pdps: pdp root array 2602 u64 pdps[]) in intel_vgpu_find_ppgtt_mm() 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() 2631 * @pdps 1860 intel_vgpu_create_ppgtt_mm(struct intel_vgpu *vgpu, enum intel_gvt_gtt_type root_entry_type, u64 pdps[]) intel_vgpu_create_ppgtt_mm() argument 2601 intel_vgpu_find_ppgtt_mm(struct intel_vgpu *vgpu, u64 pdps[]) intel_vgpu_find_ppgtt_mm() argument 2638 intel_vgpu_get_ppgtt_mm(struct intel_vgpu *vgpu, enum intel_gvt_gtt_type root_entry_type, u64 pdps[]) intel_vgpu_get_ppgtt_mm() argument 2664 intel_vgpu_put_ppgtt_mm(struct intel_vgpu *vgpu, u64 pdps[]) intel_vgpu_put_ppgtt_mm() argument [all...] |
H A D | execlist.h | 152 * pdps[8]={ pdp3_UDW, pdp3_LDW, pdp2_UDW, pdp2_LDW, 155 struct execlist_mmio_pair pdps[8]; member
|
H A D | scheduler.c | 60 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 D | handlers.c | 1473 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()
|
H A D | cmd_parser.c | 863 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()
|