Searched refs:I915_GTT_PAGE_SHIFT (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/i915/gvt/ |
D | gtt.c | 116 ret = intel_gvt_ggtt_gmadr_g2h(vgpu, g_index << I915_GTT_PAGE_SHIFT, in intel_gvt_ggtt_index_g2h() 121 *h_index = h_addr >> I915_GTT_PAGE_SHIFT; in intel_gvt_ggtt_index_g2h() 131 ret = intel_gvt_ggtt_gmadr_h2g(vgpu, h_index << I915_GTT_PAGE_SHIFT, in intel_gvt_ggtt_h2g_index() 136 *g_index = g_addr >> I915_GTT_PAGE_SHIFT; in intel_gvt_ggtt_h2g_index() 480 unsigned long x = (gma >> I915_GTT_PAGE_SHIFT); in gma_to_ggtt_pte_index() 635 if (vgpu_gmadr_is_aperture(mm->vgpu, index << I915_GTT_PAGE_SHIFT)) { in ggtt_set_host_entry() 638 } else if (vgpu_gmadr_is_hidden(mm->vgpu, index << I915_GTT_PAGE_SHIFT)) { in ggtt_set_host_entry() 665 spt->guest_page.gfn << I915_GTT_PAGE_SHIFT, in ppgtt_spt_get_entry() 694 spt->guest_page.gfn << I915_GTT_PAGE_SHIFT, in ppgtt_spt_set_entry() 745 dma_unmap_page(kdev, spt->shadow_page.mfn << I915_GTT_PAGE_SHIFT, 4096, in ppgtt_free_spt() [all …]
|
D | scheduler.c | 147 (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()
|
D | gtt.h | 48 #define I915_GTT_PAGE_SHIFT 12 macro
|