Home
last modified time | relevance | path

Searched refs:I915_GTT_PAGE_SHIFT (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A Dgtt.c115 ret = intel_gvt_ggtt_gmadr_g2h(vgpu, g_index << I915_GTT_PAGE_SHIFT, in intel_gvt_ggtt_index_g2h()
120 *h_index = h_addr >> I915_GTT_PAGE_SHIFT; in intel_gvt_ggtt_index_g2h()
130 ret = intel_gvt_ggtt_gmadr_h2g(vgpu, h_index << I915_GTT_PAGE_SHIFT, in intel_gvt_ggtt_h2g_index()
135 *g_index = g_addr >> I915_GTT_PAGE_SHIFT; in intel_gvt_ggtt_h2g_index()
479 unsigned long x = (gma >> I915_GTT_PAGE_SHIFT); in gma_to_ggtt_pte_index()
634 if (vgpu_gmadr_is_aperture(mm->vgpu, index << I915_GTT_PAGE_SHIFT)) { in ggtt_set_host_entry()
637 } else if (vgpu_gmadr_is_hidden(mm->vgpu, index << I915_GTT_PAGE_SHIFT)) { in ggtt_set_host_entry()
664 spt->guest_page.gfn << I915_GTT_PAGE_SHIFT, in ppgtt_spt_get_entry()
693 spt->guest_page.gfn << I915_GTT_PAGE_SHIFT, in ppgtt_spt_set_entry()
744 dma_unmap_page(kdev, spt->shadow_page.mfn << I915_GTT_PAGE_SHIFT, 4096, in ppgtt_free_spt()
[all …]
H A Dscheduler.c147 (LRC_STATE_PN << I915_GTT_PAGE_SHIFT); in populate_shadow_context()
228 I915_GTT_PAGE_SHIFT)); in populate_shadow_context()
236 dst = context_base + (i << I915_GTT_PAGE_SHIFT); in populate_shadow_context()
251 dst = context_base + (i << I915_GTT_PAGE_SHIFT); in populate_shadow_context()
981 (LRC_STATE_PN << I915_GTT_PAGE_SHIFT); in update_guest_context()
990 I915_GTT_PAGE_SHIFT)); in update_guest_context()
998 src = context_base + (i << I915_GTT_PAGE_SHIFT); in update_guest_context()
1013 src = context_base + (i << I915_GTT_PAGE_SHIFT); in update_guest_context()
1641 (u32)((desc->lrca + 1) << I915_GTT_PAGE_SHIFT)); in intel_vgpu_create_workload()
H A Dgtt.h48 #define I915_GTT_PAGE_SHIFT 12 macro