From b0a4d9039ae282fcd1cd3abf38b6944d38b1d5af Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Tue, 13 Aug 2024 00:06:01 +0000 Subject: 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(-) (limited to 'sys') 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) -- cgit v1.2.3