drm/i915: Disable the "binder"
authorjsg <jsg@openbsd.org>
Tue, 13 Aug 2024 00:06:00 +0000 (00:06 +0000)
committerjsg <jsg@openbsd.org>
Tue, 13 Aug 2024 00:06:00 +0000 (00:06 +0000)
From Ville Syrjala
be5e8dc84f61ea79f4980fe4fb74fe9a0d0d2c33 in mainline linux

sys/dev/pci/drm/i915/gt/intel_gtt.c

index 799ea95..2007747 100644 (file)
@@ -24,7 +24,8 @@
 bool i915_ggtt_require_binder(struct drm_i915_private *i915)
 {
        /* Wa_13010847436 & Wa_14019519902 */
-       return MEDIA_VER_FULL(i915) == IP_VER(13, 0);
+       return !i915_direct_stolen_access(i915) &&
+               MEDIA_VER_FULL(i915) == IP_VER(13, 0);
 }
 
 static bool intel_ggtt_update_needs_vtd_wa(struct drm_i915_private *i915)