diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2014-08-29 07:14:07 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-03 05:05:27 -0400 |
commit | 6c65a587b123ab17389b0563cdc42668847ad652 (patch) | |
tree | 5d625aed9a785dc09824bde6b6a59707edcfab53 | |
parent | 69769f9a422bfc62e17399da3590c5e31ac37f24 (diff) |
drm/i915: Don't use WaGsvRC0ResidenncyMethod on chv
WaGsvRC0ResidenncyMethod is for vlv, it doesn't deal with chv
appropriately (eg. doesn't limit rps values to even numbers).
Fix a typo in the w/a name while at it.
Cc: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | drivers/gpu/drm/i915/i915_irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c index efc79605f791..ecb5c33a2ea0 100644 --- a/drivers/gpu/drm/i915/i915_irq.c +++ b/drivers/gpu/drm/i915/i915_irq.c | |||
@@ -4692,8 +4692,8 @@ void intel_irq_init(struct drm_device *dev) | |||
4692 | INIT_WORK(&dev_priv->l3_parity.error_work, ivybridge_parity_work); | 4692 | INIT_WORK(&dev_priv->l3_parity.error_work, ivybridge_parity_work); |
4693 | 4693 | ||
4694 | /* Let's track the enabled rps events */ | 4694 | /* Let's track the enabled rps events */ |
4695 | if (IS_VALLEYVIEW(dev)) | 4695 | if (IS_VALLEYVIEW(dev) && !IS_CHERRYVIEW(dev)) |
4696 | /* WaGsvRC0ResidenncyMethod:VLV */ | 4696 | /* WaGsvRC0ResidencyMethod:vlv */ |
4697 | dev_priv->pm_rps_events = GEN6_PM_RP_UP_EI_EXPIRED; | 4697 | dev_priv->pm_rps_events = GEN6_PM_RP_UP_EI_EXPIRED; |
4698 | else | 4698 | else |
4699 | dev_priv->pm_rps_events = GEN6_PM_RPS_EVENTS; | 4699 | dev_priv->pm_rps_events = GEN6_PM_RPS_EVENTS; |