[Intel-gfx] [PATCH] drm/i915: Display WA2006604312 is needed from ICL onwards

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Mon Nov 4 11:50:09 UTC 2019


WA2006604312 is listed for devices from Icelake onward.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
---
 drivers/gpu/drm/i915/display/intel_display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index e29e80ae5698..71ac4fe5fb47 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -5981,7 +5981,7 @@ static bool needs_scalerclk_wa(struct drm_i915_private *dev_priv,
 			       const struct intel_crtc_state *crtc_state)
 {
 	/* Wa_2006604312:icl */
-	if (crtc_state->scaler_state.scaler_users > 0 && IS_ICELAKE(dev_priv))
+	if (crtc_state->scaler_state.scaler_users > 0 && INTEL_GEN(dev_priv) >= 11)
 		return true;
 
 	return false;
-- 
2.17.1



More information about the Intel-gfx mailing list