diff mbox series

[2/2,SRU,OEM-OSP1-B] UBUNTU: SAUCE: drm/i915/fbc: disable framebuffer compression on IceLake

Message ID 20190828074218.15518-3-vicamo.yang@canonical.com
State New
Headers show
Series drm/i915/fbc: disable framebuffer compression on IceLake | expand

Commit Message

You-Sheng Yang Aug. 28, 2019, 7:42 a.m. UTC
BugLink: https://bugs.launchpad.net/ubuntu/bug/1840236

This is the same thing to commit
edf87a92e112ede83916155a156e41787ea11186 but found on IceLake platforms
as well.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111484
Signed-off-by: You-Sheng Yang <vicamo.yang@canonical.com>
---
 drivers/gpu/drm/i915/intel_fbc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/intel_fbc.c b/drivers/gpu/drm/i915/intel_fbc.c
index 6d3c5057b2413..8babbd3e3459a 100644
--- a/drivers/gpu/drm/i915/intel_fbc.c
+++ b/drivers/gpu/drm/i915/intel_fbc.c
@@ -1280,7 +1280,8 @@  static int intel_sanitize_fbc_option(struct drm_i915_private *dev_priv)
 		return 0;
 
 	/* https://bugs.freedesktop.org/show_bug.cgi?id=108085 */
-	if (IS_GEMINILAKE(dev_priv))
+	/* https://bugs.freedesktop.org/show_bug.cgi?id=111484 */
+	if (IS_GEMINILAKE(dev_priv) || IS_ICELAKE(dev_priv))
 		return 0;
 
 	if (IS_BROADWELL(dev_priv) || INTEL_GEN(dev_priv) >= 9)