aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-09-07 16:51:02 -0400
committerChris Wilson <chris@chris-wilson.co.uk>2010-09-07 16:55:52 -0400
commitbc41606aefa8b17000619f510d5809e6c4003d65 (patch)
treef596640e3f76cb64f2e1aef48d74209c6ca9ea63 /drivers/gpu
parent8554048070906579ec9fa19ac381deddd2d7b155 (diff)
Revert "drm/i915: Enable RC6 on Ironlake."
This reverts commit ce17178094f368d9e3f39b2cb4303da5ed633dd4. This commit has been independently bisected a few times as being the cause of a s2ram failure. Reported-and-tested-by: Kyle McMartin <kyle@mcmartin.ca> Reported-and-tested-by: Andy Isaacson <adi@hexapodia.org> Cc: Zou Nan hai <nanhai.zou@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/intel_display.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 40cc5da264a..e0d1952fd3c 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -5696,8 +5696,7 @@ void intel_init_clock_gating(struct drm_device *dev)
5696 ILK_DPFC_DIS2 | 5696 ILK_DPFC_DIS2 |
5697 ILK_CLK_FBC); 5697 ILK_CLK_FBC);
5698 } 5698 }
5699 if (IS_GEN6(dev)) 5699 return;
5700 return;
5701 } else if (IS_G4X(dev)) { 5700 } else if (IS_G4X(dev)) {
5702 uint32_t dspclk_gate; 5701 uint32_t dspclk_gate;
5703 I915_WRITE(RENCLK_GATE_D1, 0); 5702 I915_WRITE(RENCLK_GATE_D1, 0);
@@ -5758,11 +5757,9 @@ void intel_init_clock_gating(struct drm_device *dev)
5758 OUT_RING(MI_FLUSH); 5757 OUT_RING(MI_FLUSH);
5759 ADVANCE_LP_RING(); 5758 ADVANCE_LP_RING();
5760 } 5759 }
5761 } else { 5760 } else
5762 DRM_DEBUG_KMS("Failed to allocate render context." 5761 DRM_DEBUG_KMS("Failed to allocate render context."
5763 "Disable RC6\n"); 5762 "Disable RC6\n");
5764 return;
5765 }
5766 } 5763 }
5767 5764
5768 if (I915_HAS_RC6(dev) && drm_core_check_feature(dev, DRIVER_MODESET)) { 5765 if (I915_HAS_RC6(dev) && drm_core_check_feature(dev, DRIVER_MODESET)) {