Re: [PATCH] drm/i915/chv: Drop WaGsvBringDownFreqInRc6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Monday 14 July 2014 08:47 PM, Jesse Barnes wrote:
On Tue, 15 Jul 2014 13:03:55 +0530
Deepak S <deepak.s@xxxxxxxxxxxxxxx> wrote:

On Saturday 28 June 2014 11:26 AM, deepak.s@xxxxxxxxxxxxxxx wrote:
From: Deepak S <deepak.s@xxxxxxxxxxxxxxx>

Drop WaGsvBringDownFreq on CHV.
When in RC6 requesting the min freq should be fine to bring the
voltage down.

Signed-off-by: Deepak S <deepak.s@xxxxxxxxxxxxxxx>
---
   drivers/gpu/drm/i915/intel_pm.c | 4 +++-
   1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 6b6cfd4..4875f745 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -3253,7 +3253,9 @@ void gen6_rps_idle(struct drm_i915_private *dev_priv)
mutex_lock(&dev_priv->rps.hw_lock);
   	if (dev_priv->rps.enabled) {
-		if (IS_VALLEYVIEW(dev))
+		if (IS_CHERRYVIEW(dev))
+			valleyview_set_rps(dev_priv->dev, dev_priv->rps.min_freq_softlimit);
+		else if (IS_VALLEYVIEW(dev))
   			vlv_set_rps_idle(dev_priv);
   		else
   			gen6_set_rps(dev_priv->dev, dev_priv->rps.min_freq_softlimit);
Hi Jesse,

can you please review this patch?
Reviewed-by: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>

Thanks for reviewing

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux