drm/i915: Don't use WaGsvRC0ResidenncyMethod on chv
Subsystems (2)
PATCH 1/1 drm/i915: Don't use WaGsvRC0ResidenncyMethod on chv
From: Ville Syrjälä <[email protected]>
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.
--- drivers/gpu/drm/i915/i915_irq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/i915_irq.c +2 -2
@@ -4692,8 +4692,8 @@ void intel_irq_init(struct drm_device *dev)INIT_WORK (&dev_priv->l3_parity.error_work, ivybridge_parity_work);/* Let's track the enabled rps events */ -if (IS_VALLEYVIEW (dev)) -/* WaGsvRC0ResidenncyMethod:VLV */ +if (IS_VALLEYVIEW (dev) && !IS_CHERRYVIEW (dev)) +/* WaGsvRC0ResidencyMethod:vlv */ dev_priv->pm_rps_events =GEN6_PM_RP_UP_EI_EXPIRED ;else dev_priv->pm_rps_events =GEN6_PM_RPS_EVENTS ;
Signature · 6 lines
1.8.5.5 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 6 lines · On Fri, Aug 29, 2014 at 02:14:07PM +0300, [email protected] wrote:
From: Ville Syrjälä <[email protected]>
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.
You could review my changes for the vlv manual calculations that would fix it for chv as well...
-Chris
Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
Quoted 10 lines · Chris Wilson
Quoted 6 lines · On Fri, Aug 29, 2014 at 02:14:07PM +0300, [email protected] wrote:
From: Ville Syrjälä <[email protected]>
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.
You could review my changes for the vlv manual calculations that would fix it for chv as well...
IIRC I glanced at them but there was too much noise in some of the patches for my poor brain so I gave up.
Signature · 2 lines
Ville Syrjälä Intel OTC
Chris Wilson
Reviewed-byQuoted 7 lines · Ville Syrjälä
Quoted 6 lines · Chris Wilson
Quoted 5 lines · On Fri, Aug 29, 2014 at 02:14:07PM +0300, [email protected] wrote:
From: Ville Syrjälä <[email protected]>
WaGsvRC0ResidenncyMethod is for vlv, it doesn't deal with chv appropriately (eg. doesn't limit rps values to even numbers).
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Fix a typo in the w/a name while at it.
You could review my changes for the vlv manual calculations that would fix it for chv as well...
IIRC I glanced at them but there was too much noise in some of the patches for my poor brain so I gave up.
Could you clarify whether you mean WaGsvRC0ResidenncyMethod is only intended for vlv (fixed for chv), or whether just the implementation is currently only for chv.
If the former, and the code is no longer required,
-Chris
Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
Quoted 13 lines · Chris Wilson
Quoted 12 lines · Ville Syrjälä
Quoted 10 lines · Chris Wilson
Quoted 6 lines · On Fri, Aug 29, 2014 at 02:14:07PM +0300, [email protected] wrote:
From: Ville Syrjälä <[email protected]>
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.
You could review my changes for the vlv manual calculations that would fix it for chv as well...
Quoted 6 lines
Quoted 2 lines
IIRC I glanced at them but there was too much noise in some of the patches for my poor brain so I gave up.
Could you clarify whether you mean WaGsvRC0ResidenncyMethod is only intended for vlv (fixed for chv), or whether just the implementation is currently only for chv.
At least the w/a isn't listed for chv currently.
Quoted 7 lines
If the former, and the code is no longer required,
Reviewed-by Chris Wilson <[email protected]>-Chris
Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
Signature · 2 lines
Ville Syrjälä Intel OTC
Quoted 10 lines · Chris Wilson
Quoted 6 lines · On Fri, Aug 29, 2014 at 02:14:07PM +0300, [email protected] wrote:
From: Ville Syrjälä <[email protected]>
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.
You could review my changes for the vlv manual calculations that would fix it for chv as well...
-Chris
Hi Chris,
I have reviewed your patch. It should directly work for CHV. We still need Ville patch, as "WaGsvRC0ResidenncyMethod (EI_expired)" interrupts are not needed for chv. I can test your patch on CHV, if someone else can test you patch on VLV, i can add my r-b
Thanks
Deepak
Quoted 19 lines · On Friday 29 August 2014 04:44 PM, [email protected] wrote:
From: Ville Syrjälä <[email protected]>
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 <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/i915_irq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/i915_irq.c +0
-0
drivers/gpu/drm/i915/i915_irq.c void intel_irq_init(struct drm_device *dev) · line 4699
Quoted 10 lines
drivers/gpu/drm/i915/i915_irq.c +2
-2@@ -4692,8 +4692,8 @@ void intel_irq_init(struct drm_device *dev)INIT_WORK (&dev_priv->l3_parity.error_work, ivybridge_parity_work);/* Let's track the enabled rps events */ -if (IS_VALLEYVIEW (dev)) -/* WaGsvRC0ResidenncyMethod:VLV */ +if (IS_VALLEYVIEW (dev) && !IS_CHERRYVIEW (dev)) +/* WaGsvRC0ResidencyMethod:vlv */ dev_priv->pm_rps_events =GEN6_PM_RP_UP_EI_EXPIRED ;else dev_priv->pm_rps_events =GEN6_PM_RPS_EVENTS ;
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx