It was missing GLK and causing some CRC mismatches.

BSpec: 21664
Cc: Ville Syrjälä <ville.syrj...@linux.intel.com>
Signed-off-by: José Roberto de Souza <jose.so...@intel.com>
---
 drivers/gpu/drm/i915/display/intel_fbc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c 
b/drivers/gpu/drm/i915/display/intel_fbc.c
index 56bcd6c52a02..47a8b7a1870a 100644
--- a/drivers/gpu/drm/i915/display/intel_fbc.c
+++ b/drivers/gpu/drm/i915/display/intel_fbc.c
@@ -283,8 +283,8 @@ static void gen7_fbc_activate(struct drm_i915_private 
*dev_priv)
        u32 dpfc_ctl;
        int threshold = dev_priv->fbc.threshold;
 
-       /* Display WA #0529: skl, kbl, bxt. */
-       if (IS_GEN9_BC(dev_priv) || IS_BROXTON(dev_priv)) {
+       /* Display WA #0529: GEN9 */
+       if (IS_GEN(dev_priv, 9)) {
                u32 val = intel_de_read(dev_priv, CHICKEN_MISC_4);
 
                val &= ~(FBC_STRIDE_OVERRIDE | FBC_STRIDE_MASK);
@@ -1212,7 +1212,7 @@ void intel_fbc_enable(struct intel_atomic_state *state,
                goto out;
        }
 
-       if ((IS_GEN9_BC(dev_priv) || IS_BROXTON(dev_priv)) &&
+       if (IS_GEN(dev_priv, 9) &&
            plane_state->hw.fb->modifier != I915_FORMAT_MOD_X_TILED)
                cache->gen9_wa_cfb_stride =
                        DIV_ROUND_UP(cache->plane.src_w, 32 * fbc->threshold) * 
8;
-- 
2.26.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to