diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2012-04-11 12:23:33 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-04-12 15:14:12 -0400 |
commit | b6834bd63ec407444098be233122a25bf4f17c75 (patch) | |
tree | 3dc33540ecc3a17bf2bfcc89dbd5e33c321eeb5d /drivers | |
parent | bfa3384a9a84aaaa59443bbd776c142e7dba4b0f (diff) |
drm/i915: disable turbo on ValleyView for now
We'll probably need new init functions and will need to test it.
v2: fix impossible GEN6 && GEN7 condition, move to Daniel's new init function
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index aee389c442a4..58f4b02151f2 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -9541,7 +9541,7 @@ void intel_modeset_init_hw(struct drm_device *dev) | |||
9541 | intel_init_emon(dev); | 9541 | intel_init_emon(dev); |
9542 | } | 9542 | } |
9543 | 9543 | ||
9544 | if (IS_GEN6(dev) || IS_GEN7(dev)) { | 9544 | if ((IS_GEN6(dev) || IS_GEN7(dev)) && !IS_VALLEYVIEW(dev)) { |
9545 | gen6_enable_rps(dev_priv); | 9545 | gen6_enable_rps(dev_priv); |
9546 | gen6_update_ring_freq(dev_priv); | 9546 | gen6_update_ring_freq(dev_priv); |
9547 | } | 9547 | } |
@@ -9632,7 +9632,7 @@ void intel_modeset_cleanup(struct drm_device *dev) | |||
9632 | 9632 | ||
9633 | if (IS_IRONLAKE_M(dev)) | 9633 | if (IS_IRONLAKE_M(dev)) |
9634 | ironlake_disable_drps(dev); | 9634 | ironlake_disable_drps(dev); |
9635 | if (IS_GEN6(dev) || IS_GEN7(dev)) | 9635 | if ((IS_GEN6(dev) || IS_GEN7(dev)) && !IS_VALLEYVIEW(dev)) |
9636 | gen6_disable_rps(dev); | 9636 | gen6_disable_rps(dev); |
9637 | 9637 | ||
9638 | if (IS_IRONLAKE_M(dev)) | 9638 | if (IS_IRONLAKE_M(dev)) |