Skip to content

Commit fbf0296

Browse files
committed
drm/i915: Stop setting SNB min-freq-table 0 on powersave setup
The min-freq-table is an array of values that match each CPU frequency to an equivalent GPU frequency. Setting a single value of 0 on init is both illegal (generates an error from the PCU) and nonsensical. Let's see if we survive without that error. Signed-off-by: Chris Wilson <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Ville Syrjälä <[email protected]>
1 parent d4cb3fd commit fbf0296

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/gpu/drm/i915/intel_pm.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5589,10 +5589,6 @@ static void gen6_enable_rps(struct drm_i915_private *dev_priv)
55895589
I915_WRITE(GEN6_RP_DOWN_TIMEOUT, 50000);
55905590
I915_WRITE(GEN6_RP_IDLE_HYSTERSIS, 10);
55915591

5592-
ret = sandybridge_pcode_write(dev_priv, GEN6_PCODE_WRITE_MIN_FREQ_TABLE, 0);
5593-
if (ret)
5594-
DRM_DEBUG_DRIVER("Failed to set the min frequency\n");
5595-
55965592
reset_rps(dev_priv, gen6_set_rps);
55975593

55985594
rc6vids = 0;

0 commit comments

Comments
 (0)