From: jsg Date: Tue, 13 Aug 2024 00:10:51 +0000 (+0000) Subject: drm/i915: Fix PTE decode during initial plane readout X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e4062bccc9e16a47f36013e0b1a4cd65f82352a1;p=openbsd drm/i915: Fix PTE decode during initial plane readout From Ville Syrjala 6b757e1d420cf01bc135212922906b8616b779d5 in mainline linux --- diff --git a/sys/dev/pci/drm/i915/display/intel_plane_initial.c b/sys/dev/pci/drm/i915/display/intel_plane_initial.c index 736072a8b2b..41a5936b903 100644 --- a/sys/dev/pci/drm/i915/display/intel_plane_initial.c +++ b/sys/dev/pci/drm/i915/display/intel_plane_initial.c @@ -71,7 +71,7 @@ initial_plane_vma(struct drm_i915_private *i915, return NULL; } - phys_base = pte & I915_GTT_PAGE_MASK; + phys_base = pte & GEN12_GGTT_PTE_ADDR_MASK; mem = i915->mm.regions[INTEL_REGION_LMEM_0]; /*