aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_pm.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2012-06-14 14:04:49 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-06-18 12:41:14 -0400
commit6edaa7fcf287b92fb231a9e23cd6b5b0fc3dddb2 (patch)
tree6a7f3696b02c91982e855387654b9897e75d47e6 /drivers/gpu/drm/i915/intel_pm.c
parentb4ae3f22d238617ca11610b29fde16cf8c0bc6e0 (diff)
drm/i915: add TDL unit clock gating disable for VLV
Another required workaround for a potential hang: WaDisableTDLUnitClockGating. v2: only apply this to VLV, IVB doesn't need it anymore (Eugeni) References: https://bugs.freedesktop.org/show_bug.cgi?id=50245 Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Eugeni Dodonov <eugeni.dodonov@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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 83c0e226f50c..47c1a3e9b4af 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -3512,6 +3512,7 @@ static void valleyview_init_clock_gating(struct drm_device *dev)
3512 */ 3512 */
3513 I915_WRITE(GEN6_UCGCTL2, 3513 I915_WRITE(GEN6_UCGCTL2,
3514 GEN7_VDSUNIT_CLOCK_GATE_DISABLE | 3514 GEN7_VDSUNIT_CLOCK_GATE_DISABLE |
3515 GEN7_TDLUNIT_CLOCK_GATE_DISABLE |
3515 GEN6_RCZUNIT_CLOCK_GATE_DISABLE | 3516 GEN6_RCZUNIT_CLOCK_GATE_DISABLE |
3516 GEN6_RCPBUNIT_CLOCK_GATE_DISABLE | 3517 GEN6_RCPBUNIT_CLOCK_GATE_DISABLE |
3517 GEN6_RCCUNIT_CLOCK_GATE_DISABLE); 3518 GEN6_RCCUNIT_CLOCK_GATE_DISABLE);