From d684a4caefcd4605518933602ee6ddf61cfb1bd2 Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 13 Aug 2024 00:06:00 +0000 Subject: [PATCH] drm/i915: Disable the "binder" From Ville Syrjala be5e8dc84f61ea79f4980fe4fb74fe9a0d0d2c33 in mainline linux --- sys/dev/pci/drm/i915/gt/intel_gtt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/pci/drm/i915/gt/intel_gtt.c b/sys/dev/pci/drm/i915/gt/intel_gtt.c index 799ea9585d7..20077473398 100644 --- a/sys/dev/pci/drm/i915/gt/intel_gtt.c +++ b/sys/dev/pci/drm/i915/gt/intel_gtt.c @@ -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) -- 2.20.1