Skip to content

Commit 4a7624f

Browse files
sdeepak2danvet
authored andcommitted
drm/i915/chv: Extend set idle rps wa to chv
It is observed on BSW that requesting a new frequency from Punit does nothing when the GPU is in rc6, and if we let GPU enter rc6 with a high frequency, Vnn remains slightly higher than at minimum frequency. Extending vlv_set_rps_idle() workaround on CHV/BSW. v2: Update commit msg (Ville) suggested-by: Ville Syrjälä <[email protected]> Signed-off-by: Deepak S <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
1 parent a7f6e23 commit 4a7624f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

drivers/gpu/drm/i915/intel_pm.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4106,15 +4106,8 @@ static void valleyview_set_rps(struct drm_device *dev, u8 val)
41064106
*/
41074107
static void vlv_set_rps_idle(struct drm_i915_private *dev_priv)
41084108
{
4109-
struct drm_device *dev = dev_priv->dev;
41104109
u32 val = dev_priv->rps.idle_freq;
41114110

4112-
/* CHV don't need to force the gfx clock */
4113-
if (IS_CHERRYVIEW(dev)) {
4114-
valleyview_set_rps(dev_priv->dev, val);
4115-
return;
4116-
}
4117-
41184111
if (dev_priv->rps.cur_freq <= val)
41194112
return;
41204113

0 commit comments

Comments
 (0)