From: Paulo Zanoni Date: Mon, 14 Sep 2015 18:20:01 +0000 (-0300) Subject: drm/i915: don't apply WaFbcAsynchFlipDisableFbcQueue on SKL X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=40f4022ef67f30cc0b7ee7453926d1803277d1af;p=openwrt%2Fstaging%2Fblogic.git drm/i915: don't apply WaFbcAsynchFlipDisableFbcQueue on SKL This WA is only for HSW/BDW. Reviewed-by: Ville Syrjälä Signed-off-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_fbc.c b/drivers/gpu/drm/i915/intel_fbc.c index 2b75003eb79e..56cf11094a04 100644 --- a/drivers/gpu/drm/i915/intel_fbc.c +++ b/drivers/gpu/drm/i915/intel_fbc.c @@ -277,7 +277,7 @@ static void gen7_fbc_enable(struct intel_crtc *crtc) I915_WRITE(ILK_DISPLAY_CHICKEN1, I915_READ(ILK_DISPLAY_CHICKEN1) | ILK_FBCQ_DIS); - } else { + } else if (IS_HASWELL(dev_priv) || IS_BROADWELL(dev_priv)) { /* WaFbcAsynchFlipDisableFbcQueue:hsw,bdw */ I915_WRITE(CHICKEN_PIPESL_1(crtc->pipe), I915_READ(CHICKEN_PIPESL_1(crtc->pipe)) |