Skip to content

Commit 5549d25

Browse files
sdeepak2jnikula
authored andcommitted
drm/i915: Drop early VLV WA to fix Voltage not getting dropped to Vmin
Drop WA to fix Voltage not getting dropped to Vmin when Gfx is power gated for latest VLV revision. Workaround fixed in Latest VLV revision. Forcing Gfx clk up not needed, and Requesting the min freq should bring bring the voltage Vnn. v2: Drop WA for Latest VLV revision (Ville) Signed-off-by: Deepak S <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> [Jani: modified code comment, reformatted the commit message a bit.] Signed-off-by: Jani Nikula <[email protected]>
1 parent 84b4e04 commit 5549d25

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

drivers/gpu/drm/i915/intel_pm.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3209,6 +3209,14 @@ void gen6_set_rps(struct drm_device *dev, u8 val)
32093209
*/
32103210
static void vlv_set_rps_idle(struct drm_i915_private *dev_priv)
32113211
{
3212+
struct drm_device *dev = dev_priv->dev;
3213+
3214+
/* Latest VLV doesn't need to force the gfx clock */
3215+
if (dev->pdev->revision >= 0xd) {
3216+
valleyview_set_rps(dev_priv->dev, dev_priv->rps.min_freq_softlimit);
3217+
return;
3218+
}
3219+
32123220
/*
32133221
* When we are idle. Drop to min voltage state.
32143222
*/

0 commit comments

Comments
 (0)