summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2019-06-11 11:49:47 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2019-06-11 11:49:47 +0000
commit99cf63709f5029d18db2bdd5e174b34f64c6c1fa (patch)
tree01300f6f986afc804933fa5b6dd9bcbb76f08816 /sys/dev
parent6679355c93d3cd3af10f7e741abc75cb0a020d0b (diff)
drm/i915/fbc: disable framebuffer compression on GeminiLake
From Daniel Drake 360e00e290a355219425b5ea0ca62d9df3261fa1 in linux 4.19.y/4.19.50 396dd8143bdd94bd1c358a228a631c8c895a1126 in mainline linux
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/i915/intel_fbc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915/intel_fbc.c b/sys/dev/pci/drm/i915/intel_fbc.c
index 5d80c6c7a3e..1c3e1b1bddb 100644
--- a/sys/dev/pci/drm/i915/intel_fbc.c
+++ b/sys/dev/pci/drm/i915/intel_fbc.c
@@ -1267,6 +1267,10 @@ static int intel_sanitize_fbc_option(struct drm_i915_private *dev_priv)
if (!HAS_FBC(dev_priv))
return 0;
+ /* https://bugs.freedesktop.org/show_bug.cgi?id=108085 */
+ if (IS_GEMINILAKE(dev_priv))
+ return 0;
+
if (IS_BROADWELL(dev_priv) || INTEL_GEN(dev_priv) >= 9)
return 1;