drm/i915/skl: Fix stepping check for a couple of W/As
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 26 Feb 2015 18:20:38 +0000 (18:20 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Apr 2015 06:55:59 +0000 (08:55 +0200)
Both WaDisableSDEUnitClockGating and WaSetGAPSunitClckGateDisable are
needed on B0 as well.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c

index cd91407e1f932cc8bcf352906a9ad757273afcab..d76d6ab3775fab096865df5e3fd08c569d1378b5 100644 (file)
@@ -67,7 +67,7 @@ static void skl_init_clock_gating(struct drm_device *dev)
 
        gen9_init_clock_gating(dev);
 
-       if (INTEL_REVID(dev) == SKL_REVID_A0) {
+       if (INTEL_REVID(dev) <= SKL_REVID_B0) {
                /*
                 * WaDisableSDEUnitClockGating:skl
                 * WaSetGAPSunitClckGateDisable:skl