drm/i915: Set softmin frequency on idle->busy transition
Subsystems (2)
PATCH v2 1/1 drm/i915: Set softmin frequency on idle->busy transition
If the GPU load is low enough, it's possible that we'll be stuck at idle frequency rather than transition into softmin frequency requested by userspace.
Since we assume that idle_freq <= min_freq_softlimit and valleyview_set_rps is already skipping write when requested_freq == cur_freq we can also remove vlv_set_idle function.
v2: Use intel_set_rps, drop vlv_set_idle
References: https://bugs.freedesktop.org/show_bug.cgi?id=89728
--- drivers/gpu/drm/i915/intel_pm.c | 33 +++++++-------------------------- 1 file changed, 7 insertions(+), 26 deletions(-)
drivers/gpu/drm/i915/intel_pm.c +7 -26
@@ -4798,6 +4798,7 @@ static void valleyview_set_rps(struct drm_i915_private *dev_priv, u8 val)WARN_ON (!mutex_is_locked (&dev_priv->rps.hw_lock));WARN_ON (val > dev_priv->rps.max_freq);WARN_ON (val < dev_priv->rps.min_freq); +WARN_ON (val < dev_priv->rps.idle_freq);if (WARN_ONCE (IS_CHERRYVIEW (dev_priv) && (val &1 ),"Odd GPU freq value\n" ))
@@ -4815,31 +4816,11 @@ static void valleyview_set_rps(struct drm_i915_private *dev_priv, u8 val)trace_intel_gpu_freq_change (intel_gpu_freq (dev_priv, val)); } -/* vlv_set_rps_idle: Set the frequency to idle, if Gfx clocks are down -* -* * If Gfx is Idle, then -* 1. Forcewake Media well. -* 2. Request idle freq. -* 3. Release Forcewake of Media well. -*/ -static void vlv_set_rps_idle (struct drm_i915_private *dev_priv) -{ -u32 val = dev_priv->rps.idle_freq; - -if (dev_priv->rps.cur_freq <= val) -return ; - -/* Wake up the media well, as that takes a lot less -* power than the Render well. */ -intel_uncore_forcewake_get (dev_priv,FORCEWAKE_MEDIA ); -valleyview_set_rps (dev_priv, val); -intel_uncore_forcewake_put (dev_priv,FORCEWAKE_MEDIA ); -} -void gen6_rps_busy (struct drm_i915_private *dev_priv) {mutex_lock (&dev_priv->rps.hw_lock);if (dev_priv->rps.enabled) { +intel_set_rps (dev_priv, dev_priv->rps.min_freq_softlimit);if (dev_priv->pm_rps_events & (GEN6_PM_RP_DOWN_EI_EXPIRED |GEN6_PM_RP_UP_EI_EXPIRED ))gen6_rps_reset_ei (dev_priv); I915_WRITE(GEN6_PMINTRMSK,
@@ -4852,10 +4833,7 @@ 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_priv) ||IS_CHERRYVIEW (dev_priv)) -vlv_set_rps_idle (dev_priv); -else -gen6_set_rps (dev_priv, dev_priv->rps.idle_freq); +intel_set_rps (dev_priv, dev_priv->rps.idle_freq); dev_priv->rps.last_adj =0 ;I915_WRITE (GEN6_PMINTRMSK ,0xffffffff ); }
@@ -4905,8 +4883,11 @@ void gen6_rps_boost(struct drm_i915_private *dev_priv,void intel_set_rps (struct drm_i915_private *dev_priv,u8 val) { -if (IS_VALLEYVIEW (dev_priv) ||IS_CHERRYVIEW (dev_priv)) +if (IS_VALLEYVIEW (dev_priv) ||IS_CHERRYVIEW (dev_priv)) { +intel_uncore_forcewake_get (dev_priv,FORCEWAKE_MEDIA );valleyview_set_rps (dev_priv, val); +intel_uncore_forcewake_put (dev_priv,FORCEWAKE_MEDIA ); + }else gen6_set_rps (dev_priv, val); }
Signature · 6 lines
2.8.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 22 lines · Michał Winiarski
If the GPU load is low enough, it's possible that we'll be stuck at idle frequency rather than transition into softmin frequency requested by userspace.
Since we assume thatidle_freq<=min_freq_softlimitandvalleyview_set_rpsis already skipping write whenrequested_freq==cur_freqwe can also removevlv_set_idlefunction.v2: Use
intel_set_rps, dropvlv_set_idleReferences: https://bugs.freedesktop.org/show_bug.cgi?id=89728
Cc Chris Wilson <[email protected]>Cc Imre Deak <[email protected]>Signed-off-by Michał Winiarski <[email protected]>--- drivers/gpu/drm/i915/intel_pm.c | 33 +++++++-------------------------- 1 file changed, 7 insertions(+), 26 deletions(-)drivers/gpu/drm/i915/intel_pm.c +0
-0
drivers/gpu/drm/i915/intel_pm.c static void valleyview_set_rps(struct drm_i915_private *dev_priv, u8 val) · line 4801
Quoted 4 lines
drivers/gpu/drm/i915/intel_pm.c +1
-0@@ -4798,6 +4798,7 @@ static void valleyview_set_rps(struct drm_i915_private *dev_priv, u8 val)WARN_ON (!mutex_is_locked (&dev_priv->rps.hw_lock));WARN_ON (val > dev_priv->rps.max_freq);WARN_ON (val < dev_priv->rps.min_freq); +WARN_ON (val < dev_priv->rps.idle_freq);
The hw range is min_freq, max_freq.
We assert earlier if idle_freq is out of range.
Quoted 22 lines
drivers/gpu/drm/i915/intel_pm.c +0
-15if (WARN_ONCE (IS_CHERRYVIEW (dev_priv) && (val &1 ),"Odd GPU freq value\n" ))@@ -4815,31 +4816,11 @@ static void valleyview_set_rps(struct drm_i915_private *dev_priv, u8 val)trace_intel_gpu_freq_change (intel_gpu_freq (dev_priv, val)); } -/* vlv_set_rps_idle: Set the frequency to idle, if Gfx clocks are down -* -* * If Gfx is Idle, then -* 1. Forcewake Media well. -* 2. Request idle freq. -* 3. Release Forcewake of Media well. -*/ -static void vlv_set_rps_idle (struct drm_i915_private *dev_priv) -{ -u32 val = dev_priv->rps.idle_freq; - -if (dev_priv->rps.cur_freq <= val) -return ; - -/* Wake up the media well, as that takes a lot less
drivers/gpu/drm/i915/intel_pm.c static void valleyview_set_rps(struct drm_i915_private *dev_priv, u8 val) · line 4822
Quoted 10 lines
drivers/gpu/drm/i915/intel_pm.c +0
-6-* power than the Render well. */ -intel_uncore_forcewake_get (dev_priv,FORCEWAKE_MEDIA ); -valleyview_set_rps (dev_priv, val); -intel_uncore_forcewake_put (dev_priv,FORCEWAKE_MEDIA ); -} -void gen6_rps_busy (struct drm_i915_private *dev_priv) {mutex_lock (&dev_priv->rps.hw_lock);if (dev_priv->rps.enabled) {
/* Ensure we start at the user's desired minimum frequency */
drivers/gpu/drm/i915/intel_pm.c static void valleyview_set_rps(struct drm_i915_private *dev_priv, u8 val) · line 4823
Quoted 1 line
drivers/gpu/drm/i915/intel_pm.c +1
-0+intel_set_rps (dev_priv, dev_priv->rps.min_freq_softlimit);
Only if cur_freq < min_freq_softlimit
Quoted 16 lines
drivers/gpu/drm/i915/intel_pm.c +1
-4if (dev_priv->pm_rps_events & (GEN6_PM_RP_DOWN_EI_EXPIRED |GEN6_PM_RP_UP_EI_EXPIRED ))gen6_rps_reset_ei (dev_priv); I915_WRITE(GEN6_PMINTRMSK,@@ -4852,10 +4833,7 @@ 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_priv) ||IS_CHERRYVIEW (dev_priv)) -vlv_set_rps_idle (dev_priv); -else -gen6_set_rps (dev_priv, dev_priv->rps.idle_freq); +intel_set_rps (dev_priv, dev_priv->rps.idle_freq); dev_priv->rps.last_adj =0 ;I915_WRITE (GEN6_PMINTRMSK ,0xffffffff ); }
drivers/gpu/drm/i915/intel_pm.c void gen6_rps_boost(struct drm_i915_private *dev_priv, · line 4887
Quoted 6 lines
drivers/gpu/drm/i915/intel_pm.c +2
-1@@ -4905,8 +4883,11 @@ void gen6_rps_boost(struct drm_i915_private *dev_priv,void intel_set_rps (struct drm_i915_private *dev_priv,u8 val) { -if (IS_VALLEYVIEW (dev_priv) ||IS_CHERRYVIEW (dev_priv)) +if (IS_VALLEYVIEW (dev_priv) ||IS_CHERRYVIEW (dev_priv)) { +intel_uncore_forcewake_get (dev_priv,FORCEWAKE_MEDIA );
And that is bogus. The comment that was removed doesn't actually reflect what the code was doing! Lowlevel set_rps itself is doing forcewake gets, using whatever domain is actually required to access the registers. -Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 10 lines · Chris Wilson
Review
Quoted 4 lines · Michał Winiarski
void
gen6_rps_busy(struct drm_i915_private *dev_priv){(quoted diff) +0
-0mutex_lock(&dev_priv->rps.hw_lock); if (dev_priv->rps.enabled) {/* Ensure we start at the user's desired minimum frequency */
drivers/gpu/drm/i915/intel_pm.c static void valleyview_set_rps(struct drm_i915_private *dev_priv, u8 val) · line 4823
Quoted 1 line
drivers/gpu/drm/i915/intel_pm.c +1
-0+intel_set_rps (dev_priv, dev_priv->rps.min_freq_softlimit);Only if
cur_freq<min_freq_softlimit
Actually thinking something like
intel_set_rps(dev_priv,
clamp(dev_priv->rps.cur_freq, dev_priv->rps.min_freq_softlimit, dev_priv->rps.max_freq_softlimit));
will do the trick. A request to set cur_freq will be filtered out by intel_set_rps.
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Ro.CI.BAT: success for drm/i915: Set softmin frequency on idle->busy transition
In reply to Michał Winiarski== Series Details ==
== Series Details ==
Series: drm/i915: Set softmin frequency on idle->busy transition
URL : https://patchwork.freedesktop.org/series/8790/
State : success
== Summary ==
Series 8790v1 drm/i915: Set softmin frequency on idle->busy transition
http://patchwork.freedesktop.org/api/1.0/series/8790/revisions/1/mbox
fi-skl-i7-6700k total:213 pass:188 dwarn:0 dfail:0 fail:0 skip:25 ro-bdw-i5-5250u total:213 pass:197 dwarn:1 dfail:0 fail:0 skip:15 ro-bdw-i7-5557U total:213 pass:198 dwarn:0 dfail:0 fail:0 skip:15 ro-bdw-i7-5600u total:213 pass:185 dwarn:0 dfail:0 fail:0 skip:28 ro-bsw-n3050 total:213 pass:172 dwarn:0 dfail:0 fail:2 skip:39 ro-byt-n2820 total:213 pass:173 dwarn:0 dfail:0 fail:3 skip:37 ro-hsw-i3-4010u total:213 pass:190 dwarn:0 dfail:0 fail:0 skip:23 ro-hsw-i7-4770r total:213 pass:190 dwarn:0 dfail:0 fail:0 skip:23 ro-ilk-i7-620lm total:213 pass:150 dwarn:0 dfail:0 fail:1 skip:62 ro-ilk1-i5-650 total:208 pass:150 dwarn:0 dfail:0 fail:1 skip:57 ro-ivb-i7-3770 total:213 pass:181 dwarn:0 dfail:0 fail:0 skip:32 ro-ivb2-i7-3770 total:213 pass:185 dwarn:0 dfail:0 fail:0 skip:28 ro-skl3-i5-6260u total:213 pass:201 dwarn:1 dfail:0 fail:0 skip:11 ro-snb-i7-2620M total:213 pass:174 dwarn:0 dfail:0 fail:1 skip:38
fi-bdw-i7-5557u failed to connect after reboot
fi-hsw-i7-4770k failed to connect after reboot
fi-skl-i5-6260u failed to connect after reboot
fi-snb-i7-2600 failed to connect after reboot
Results at /archive/results/CI_IGT_test/RO_Patchwork_1197/
3eb202e drm-intel-nightly: 2016y-06m-16d-12h-38m-37s UTC integration manifest 98ae632 drm/i915: Set softmin frequency on idle->busy transition
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 75 lines · Michał Winiarski
If the GPU load is low enough, it's possible that we'll be stuck at idle frequency rather than transition into softmin frequency requested by userspace.
Since we assume thatidle_freq<=min_freq_softlimitandvalleyview_set_rpsis already skipping write whenrequested_freq==cur_freqwe can also removevlv_set_idlefunction.v2: Use
intel_set_rps, dropvlv_set_idleReferences: https://bugs.freedesktop.org/show_bug.cgi?id=89728
Cc Chris Wilson <[email protected]>Cc Imre Deak <[email protected]>Signed-off-by Michał Winiarski <[email protected]>--- drivers/gpu/drm/i915/intel_pm.c | 33 +++++++-------------------------- 1 file changed, 7 insertions(+), 26 deletions(-)drivers/gpu/drm/i915/intel_pm.c +3
-25@@ -4798,6 +4798,7 @@ static void valleyview_set_rps(struct drm_i915_private *dev_priv, u8 val)WARN_ON (!mutex_is_locked (&dev_priv->rps.hw_lock));WARN_ON (val > dev_priv->rps.max_freq);WARN_ON (val < dev_priv->rps.min_freq); +WARN_ON (val < dev_priv->rps.idle_freq);if (WARN_ONCE (IS_CHERRYVIEW (dev_priv) && (val &1 ),"Odd GPU freq value\n" ))@@ -4815,31 +4816,11 @@ static void valleyview_set_rps(struct drm_i915_private *dev_priv, u8 val)trace_intel_gpu_freq_change (intel_gpu_freq (dev_priv, val)); } -/* vlv_set_rps_idle: Set the frequency to idle, if Gfx clocks are down -* -* * If Gfx is Idle, then -* 1. Forcewake Media well. -* 2. Request idle freq. -* 3. Release Forcewake of Media well. -*/ -static void vlv_set_rps_idle (struct drm_i915_private *dev_priv) -{ -u32 val = dev_priv->rps.idle_freq; - -if (dev_priv->rps.cur_freq <= val) -return ; - -/* Wake up the media well, as that takes a lot less -* power than the Render well. */ -intel_uncore_forcewake_get (dev_priv,FORCEWAKE_MEDIA ); -valleyview_set_rps (dev_priv, val); -intel_uncore_forcewake_put (dev_priv,FORCEWAKE_MEDIA ); -} -void gen6_rps_busy (struct drm_i915_private *dev_priv) {mutex_lock (&dev_priv->rps.hw_lock);if (dev_priv->rps.enabled) { +intel_set_rps (dev_priv, dev_priv->rps.min_freq_softlimit);if (dev_priv->pm_rps_events & (GEN6_PM_RP_DOWN_EI_EXPIRED |GEN6_PM_RP_UP_EI_EXPIRED ))gen6_rps_reset_ei (dev_priv); I915_WRITE(GEN6_PMINTRMSK,@@ -4852,10 +4833,7 @@ 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_priv) ||IS_CHERRYVIEW (dev_priv)) -vlv_set_rps_idle (dev_priv); -else -gen6_set_rps (dev_priv, dev_priv->rps.idle_freq); +intel_set_rps (dev_priv, dev_priv->rps.idle_freq); dev_priv->rps.last_adj =0 ;I915_WRITE (GEN6_PMINTRMSK ,0xffffffff ); }
drivers/gpu/drm/i915/intel_pm.c void gen6_rps_boost(struct drm_i915_private *dev_priv, · line 4889
Quoted 8 lines
drivers/gpu/drm/i915/intel_pm.c +3
-1@@ -4905,8 +4883,11 @@ void gen6_rps_boost(struct drm_i915_private *dev_priv,void intel_set_rps (struct drm_i915_private *dev_priv,u8 val) { -if (IS_VALLEYVIEW (dev_priv) ||IS_CHERRYVIEW (dev_priv)) +if (IS_VALLEYVIEW (dev_priv) ||IS_CHERRYVIEW (dev_priv)) { +intel_uncore_forcewake_get (dev_priv,FORCEWAKE_MEDIA );valleyview_set_rps (dev_priv, val); +intel_uncore_forcewake_put (dev_priv,FORCEWAKE_MEDIA );
Why should we take the extra hit from waking the media well for every RPS changes?
Quoted 11 lines
drivers/gpu/drm/i915/intel_pm.c +1
-0+ }else gen6_set_rps (dev_priv, val); }Signature · 6 lines
2.8.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 6 lines
Ville Syrjälä Intel OTC _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v3 1/1 drm/i915: Set softmin frequency on idle->busy transition
In reply to Michał WiniarskiIf the GPU load is low enough, it's possible that we'll be stuck at idle frequency rather than transition into softmin frequency requested by userspace.
v2: Use intel_set_rps, drop vlv_set_idle
v3: Back to vlv_set_idle, clamp to valid range
References: https://bugs.freedesktop.org/show_bug.cgi?id=89728
--- drivers/gpu/drm/i915/intel_pm.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/gpu/drm/i915/intel_pm.c +5 -0
@@ -4840,6 +4840,11 @@ void gen6_rps_busy(struct drm_i915_private *dev_priv) {mutex_lock (&dev_priv->rps.hw_lock);if (dev_priv->rps.enabled) { +/* Ensure we start at the user's desired frequency */ +intel_set_rps (dev_priv, +clamp (dev_priv->rps.cur_freq, + dev_priv->rps.min_freq_softlimit, + dev_priv->rps.max_freq_softlimit));if (dev_priv->pm_rps_events & (GEN6_PM_RP_DOWN_EI_EXPIRED |GEN6_PM_RP_UP_EI_EXPIRED ))gen6_rps_reset_ei (dev_priv); I915_WRITE(GEN6_PMINTRMSK,
Signature · 6 lines
2.8.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 21 lines · Michał Winiarski
If the GPU load is low enough, it's possible that we'll be stuck at idle frequency rather than transition into softmin frequency requested by userspace.
v2: Use
intel_set_rps, dropvlv_set_idle
v3: Back tovlv_set_idle, clamp to valid rangeReferences: https://bugs.freedesktop.org/show_bug.cgi?id=89728
Cc Chris Wilson <[email protected]>Cc Imre Deak <[email protected]>Cc Ville Syrjälä <[email protected]>Signed-off-by Michał Winiarski <[email protected]>--- drivers/gpu/drm/i915/intel_pm.c | 5 +++++ 1 file changed, 5 insertions(+)drivers/gpu/drm/i915/intel_pm.c +0
-0
drivers/gpu/drm/i915/intel_pm.c void gen6_rps_busy(struct drm_i915_private *dev_priv) · line 4847
Quoted 8 lines
drivers/gpu/drm/i915/intel_pm.c +5
-0@@ -4840,6 +4840,11 @@ void gen6_rps_busy(struct drm_i915_private *dev_priv) {mutex_lock (&dev_priv->rps.hw_lock);if (dev_priv->rps.enabled) { +/* Ensure we start at the user's desired frequency */ +intel_set_rps (dev_priv, +clamp (dev_priv->rps.cur_freq, + dev_priv->rps.min_freq_softlimit, + dev_priv->rps.max_freq_softlimit));
Make this last (after gen6_enable_rps_interrupts), then r.b
Moving it last means that we have onion placement with rps_idle, and we don't need a silly comment explaining the apparent duplication of the PMINTRMSK update.
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 37 lines · Chris Wilson
Quoted 36 lines · Michał Winiarski
If the GPU load is low enough, it's possible that we'll be stuck at idle
frequency rather than transition into softmin frequency requested by
userspace.v2: Use
intel_set_rps, dropvlv_set_idle
v3: Back tovlv_set_idle, clamp to valid rangeReferences: https://bugs.freedesktop.org/show_bug.cgi?id=89728
Cc Chris Wilson <[email protected]>Cc Imre Deak <[email protected]>Cc Ville Syrjälä <[email protected]>Signed-off-by Michał Winiarski <[email protected]>---
drivers/gpu/drm/i915/intel_pm.c | 5 +++++1 file changed, 5 insertions(+)drivers/gpu/drm/i915/intel_pm.c +5
-0@@ -4840,6 +4840,11 @@ void gen6_rps_busy(struct drm_i915_private *dev_priv) { mutex_lock(&dev_priv->rps.hw_lock); if (dev_priv->rps.enabled) { +/* Ensure we start at the user's desired frequency */ + intel_set_rps(dev_priv, + clamp(dev_priv->rps.cur_freq, + dev_priv- >rps.min_freq_softlimit, + dev_priv-
Quoted 8 lines
Quoted 1 line
Quoted 1 line
rps.max_freq_softlimit));
Make this last (after
gen6_enable_rps_interrupts), then r.bMoving it last means that we have onion placement with
rps_idle, and we
don't need a silly comment explaining the apparent duplication of the PMINTRMSK update.
-Chris
drm-intel tree is not doing gen6_enable_rps_interrupts there yet ;)
-Michał
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v4 1/1 drm/i915: Set softmin frequency on idle->busy transition
In reply to Michał WiniarskiIf the GPU load is low enough, it's possible that we'll be stuck at idle frequency rather than transition into softmin frequency requested by userspace.
v2: Use intel_set_rps, drop vlv_set_idle
v3: Back to vlv_set_idle, clamp to valid range
v4: Place intel_set_rps at the end
References: https://bugs.freedesktop.org/show_bug.cgi?id=89728
--- drivers/gpu/drm/i915/intel_pm.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/i915/intel_pm.c +6 -0
@@ -4844,6 +4844,12 @@ void gen6_rps_busy(struct drm_i915_private *dev_priv)gen6_rps_reset_ei (dev_priv);I915_WRITE (GEN6_PMINTRMSK ,gen6_rps_pm_mask (dev_priv, dev_priv->rps.cur_freq)); + +/* Ensure we start at the user's desired frequency */ +intel_set_rps (dev_priv, +clamp (dev_priv->rps.cur_freq, + dev_priv->rps.min_freq_softlimit, + dev_priv->rps.max_freq_softlimit)); }mutex_unlock (&dev_priv->rps.hw_lock); }
Signature · 6 lines
2.8.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 8 lines · Michał Winiarski
If the GPU load is low enough, it's possible that we'll be stuck at idle frequency rather than transition into softmin frequency requested by userspace.
v2: Use
intel_set_rps, dropvlv_set_idle
v3: Back tovlv_set_idle, clamp to valid range
v4: Placeintel_set_rpsat the end
Quoted 6 lines
References: https://bugs.freedesktop.org/show_bug.cgi?id=89728
Cc Chris Wilson <[email protected]>Cc Imre Deak <[email protected]>Cc Ville Syrjälä <[email protected]>Reviewed-by Chris Wilson <[email protected]>Signed-off-by Michał Winiarski <[email protected]>
Mind resending this so we get proper CI results? And include the output of pm_rps (since presumably we do fix a bug...)
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 16 lines · Chris Wilson
Quoted 8 lines · Michał Winiarski
If the GPU load is low enough, it's possible that we'll be stuck at idle frequency rather than transition into softmin frequency requested by userspace.
v2: Use
intel_set_rps, dropvlv_set_idle
v3: Back tovlv_set_idle, clamp to valid range
v4: Placeintel_set_rpsat the endQuoted 6 lines
References: https://bugs.freedesktop.org/show_bug.cgi?id=89728
Cc Chris Wilson <[email protected]>Cc Imre Deak <[email protected]>Cc Ville Syrjälä <[email protected]>Reviewed-by Chris Wilson <[email protected]>Signed-off-by Michał Winiarski <[email protected]>
Quoted 2 lines
Mind resending this so we get proper CI results? And include the output of
pm_rps(since presumably we do fix a bug...)
I gambled and pushed.
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Ro.CI.BAT: success for drm/i915: Set softmin frequency on idle->busy transition (rev2)
In reply to Michał Winiarski== Series Details ==
== Series Details ==
Series: drm/i915: Set softmin frequency on idle->busy transition (rev2)
URL : https://patchwork.freedesktop.org/series/8790/
State : success
== Summary ==
Series 8790v2 drm/i915: Set softmin frequency on idle->busy transition
http://patchwork.freedesktop.org/api/1.0/series/8790/revisions/2/mbox
fi-skl-i7-6700k total:223 pass:18 dwarn:0 dfail:0 fail:0 skip:205 fi-snb-i7-2600 total:223 pass:20 dwarn:0 dfail:0 fail:0 skip:203 ro-bdw-i5-5250u total:223 pass:20 dwarn:0 dfail:0 fail:0 skip:203 ro-bdw-i7-5557U total:223 pass:20 dwarn:0 dfail:0 fail:0 skip:203 ro-bdw-i7-5600u total:223 pass:14 dwarn:0 dfail:0 fail:0 skip:209 ro-byt-n2820 total:223 pass:17 dwarn:0 dfail:0 fail:0 skip:206 ro-hsw-i3-4010u total:223 pass:18 dwarn:0 dfail:0 fail:0 skip:205 ro-hsw-i7-4770r total:223 pass:18 dwarn:0 dfail:0 fail:0 skip:205 ro-ilk-i7-620lm total:223 pass:7 dwarn:0 dfail:0 fail:0 skip:216 ro-ilk1-i5-650 total:218 pass:11 dwarn:0 dfail:0 fail:0 skip:207 ro-ivb-i7-3770 total:223 pass:17 dwarn:0 dfail:0 fail:0 skip:206 ro-ivb2-i7-3770 total:223 pass:21 dwarn:0 dfail:0 fail:0 skip:202 ro-skl3-i5-6260u total:223 pass:20 dwarn:0 dfail:0 fail:0 skip:203 ro-snb-i7-2620M total:223 pass:20 dwarn:0 dfail:0 fail:0 skip:203
fi-hsw-i7-4770k failed to connect after reboot
fi-skl-i5-6260u failed to connect after reboot
ro-bsw-n3050 failed to connect after reboot
Results at /archive/results/CI_IGT_test/RO_Patchwork_1230/
43b4244 drm-intel-nightly: 2016y-06m-19d-22h-30m-37s UTC integration manifest efe88d7 drm/i915: Set softmin frequency on idle->busy transition
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Ro.CI.BAT: success for drm/i915: Set softmin frequency on idle->busy transition (rev3)
In reply to Michał Winiarski== Series Details ==
== Series Details ==
Series: drm/i915: Set softmin frequency on idle->busy transition (rev3)
URL : https://patchwork.freedesktop.org/series/8790/
State : success
== Summary ==
Series 8790v3 drm/i915: Set softmin frequency on idle->busy transition
http://patchwork.freedesktop.org/api/1.0/series/8790/revisions/3/mbox
ro-bdw-i5-5250u total:223 pass:20 dwarn:0 dfail:0 fail:0 skip:203 ro-bdw-i7-5557U total:223 pass:20 dwarn:0 dfail:0 fail:0 skip:203 ro-bdw-i7-5600u total:223 pass:14 dwarn:0 dfail:0 fail:0 skip:209 ro-hsw-i3-4010u total:223 pass:18 dwarn:0 dfail:0 fail:0 skip:205 ro-hsw-i7-4770r total:223 pass:18 dwarn:0 dfail:0 fail:0 skip:205 ro-ilk-i7-620lm total:223 pass:7 dwarn:0 dfail:0 fail:0 skip:216 ro-skl3-i5-6260u total:223 pass:20 dwarn:0 dfail:0 fail:0 skip:203
ro-bsw-n3050 failed to connect after reboot
ro-byt-n2820 failed to connect after reboot
ro-ilk1-i5-650 failed to connect after reboot
ro-ivb2-i7-3770 failed to connect after reboot
ro-ivb-i7-3770 failed to connect after reboot
ro-snb-i7-2620M failed to connect after reboot
Results at /archive/results/CI_IGT_test/RO_Patchwork_1234/
edc0e9e drm-intel-nightly: 2016y-06m-20d-09h-47m-30s UTC integration manifest 84b3df6 drm/i915: Set softmin frequency on idle->busy transition
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx