aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_pm.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2015-02-26 13:20:39 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-04-10 02:55:59 -0400
commitf9fc42f4bd9a6b9d63f8587325c7f53a6b788d8e (patch)
tree5a411800f1314f69a804b010a6aba612bdd79ca2 /drivers/gpu/drm/i915/intel_pm.c
parent669506e781d12939ad270b4c281189de119d1319 (diff)
drm/i915/skl: Implement WaDisableVFUnitClockGating
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
-rw-r--r--drivers/gpu/drm/i915/intel_pm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index d76d6ab3775f..67e1e61c50e7 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -75,6 +75,10 @@ static void skl_init_clock_gating(struct drm_device *dev)
75 I915_WRITE(GEN8_UCGCTL6, I915_READ(GEN8_UCGCTL6) | 75 I915_WRITE(GEN8_UCGCTL6, I915_READ(GEN8_UCGCTL6) |
76 GEN8_GAPSUNIT_CLOCK_GATE_DISABLE | 76 GEN8_GAPSUNIT_CLOCK_GATE_DISABLE |
77 GEN8_SDEUNIT_CLOCK_GATE_DISABLE); 77 GEN8_SDEUNIT_CLOCK_GATE_DISABLE);
78
79 /* WaDisableVFUnitClockGating:skl */
80 I915_WRITE(GEN6_UCGCTL2, I915_READ(GEN6_UCGCTL2) |
81 GEN6_VFUNIT_CLOCK_GATE_DISABLE);
78 } 82 }
79 83
80 if (INTEL_REVID(dev) <= SKL_REVID_D0) { 84 if (INTEL_REVID(dev) <= SKL_REVID_D0) {