All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/fbc: Disable fbc with VT-d also with kbl and cfl
@ 2018-09-25 13:38 Mika Kuoppala
  2018-09-25 14:26 ` ✗ Fi.CI.BAT: failure for " Patchwork
  2018-09-25 15:15   ` Ville Syrjälä
  0 siblings, 2 replies; 7+ messages in thread
From: Mika Kuoppala @ 2018-09-25 13:38 UTC (permalink / raw)
  To: intel-gfx
  Cc: Mika Kuoppala, Paulo Zanoni, Ville Syrjälä,
	Chris Wilson, Rodrigo Vivi, stable

Using fbc with VT-d flickers also on kbl and cfl.

Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: <stable@vger.kernel.org> # v4.9+
Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
---
 drivers/gpu/drm/i915/intel_fbc.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_fbc.c b/drivers/gpu/drm/i915/intel_fbc.c
index 74d425c700ef..a149f08c1b79 100644
--- a/drivers/gpu/drm/i915/intel_fbc.c
+++ b/drivers/gpu/drm/i915/intel_fbc.c
@@ -1275,9 +1275,10 @@ static int intel_sanitize_fbc_option(struct drm_i915_private *dev_priv)
 
 static bool need_fbc_vtd_wa(struct drm_i915_private *dev_priv)
 {
-	/* WaFbcTurnOffFbcWhenHyperVisorIsUsed:skl,bxt */
+	/* WaFbcTurnOffFbcWhenHyperVisorIsUsed:skl,bxt,kbl,cfl */
 	if (intel_vtd_active() &&
-	    (IS_SKYLAKE(dev_priv) || IS_BROXTON(dev_priv))) {
+	    (IS_SKYLAKE(dev_priv) || IS_BROXTON(dev_priv) ||
+	     IS_KABYLAKE(dev_priv) || IS_COFFEELAKE(dev_priv))) {
 		DRM_INFO("Disabling framebuffer compression (FBC) to prevent screen flicker with VT-d enabled\n");
 		return true;
 	}
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-09-26 19:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-25 13:38 [PATCH] drm/i915/fbc: Disable fbc with VT-d also with kbl and cfl Mika Kuoppala
2018-09-25 14:26 ` ✗ Fi.CI.BAT: failure for " Patchwork
2018-09-25 15:15 ` [PATCH] " Ville Syrjälä
2018-09-25 15:15   ` Ville Syrjälä
2018-09-26 12:56   ` Mika Kuoppala
2018-09-26 13:40     ` Rodrigo Vivi
2018-09-26 13:40       ` Rodrigo Vivi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.