diff mbox

[2/2] drm/i915: Remove CNL A0 exclusive WA.

Message ID 20180220190919.2970-2-rodrigo.vivi@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Rodrigo Vivi Feb. 20, 2018, 7:09 p.m. UTC
We never added any other CNL A0 workaround because we never
got any A0 platform.

So besides never being executed it is not valid for
reference anymore since it is not applicable to ICL.

So let's start some clean up here.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mahesh Kumar <mahesh1.kumar@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 drivers/gpu/drm/i915/intel_pm.c | 5 -----
 1 file changed, 5 deletions(-)
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 1c2f824b1238..17ff3b200010 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -4718,11 +4718,6 @@  static void cnl_compute_transition_wm(struct intel_crtc_state *cstate,
 				trans_offset_b;
 	} else {
 		res_blocks = wm_l0->plane_res_b + trans_offset_b;
-
-		/* WA BUG:1938466 add one block for non y-tile planes */
-		if (IS_CNL_REVID(dev_priv, CNL_REVID_A0, CNL_REVID_A0))
-			res_blocks += 1;
-
 	}
 
 	res_blocks += 1;