summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-08-13 00:06:01 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-08-13 00:06:01 +0000
commitb0a4d9039ae282fcd1cd3abf38b6944d38b1d5af (patch)
tree79699842cf4fcea1b5feb3064e41531739ab2716 /sys
parent1797a9b943468aa31cf662a752a7abe189052f0d (diff)
drm/i915: Disable the "binder"
From Ville Syrjala be5e8dc84f61ea79f4980fe4fb74fe9a0d0d2c33 in mainline linux
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/i915/gt/intel_gtt.c3
1 files changed, 2 insertions, 1 deletions
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)