mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
drm/i915: Drop stray clearing of rps->last_adj
We used to reset last_adj to 0 on crossing a power domain boundary, to slow down our rate of change. However, commit60548c554b("drm/i915: Interactive RPS mode") accidentally caused it to be reset on every frequency update, nerfing the fast response granted by the slow start algorithm. Fixes:60548c554b("drm/i915: Interactive RPS mode") Testcase: igt/pm_rps/mix-max-config-loaded Signed-off-by: Chris Wilson <[email protected]> Cc: Joonas Lahtinen <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
This commit is contained in:
@@ -6371,7 +6371,6 @@ static void gen6_set_rps_thresholds(struct drm_i915_private *dev_priv, u8 val)
|
||||
new_power = HIGH_POWER;
|
||||
rps_set_power(dev_priv, new_power);
|
||||
mutex_unlock(&rps->power.mutex);
|
||||
rps->last_adj = 0;
|
||||
}
|
||||
|
||||
void intel_rps_mark_interactive(struct drm_i915_private *i915, bool interactive)
|
||||
|
||||
Reference in New Issue
Block a user