drm/i915: s/9/intel_freq_opcode(450)/
Subsystems (2)
PATCH 1/1 drm/i915: s/9/intel_freq_opcode(450)/
From: Ville Syrjälä <[email protected]>
Replace the hardcoded 9 with a call to intel_freq_opcode(450).
--- drivers/gpu/drm/i915/intel_pm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_pm.c +2 -2
@@ -4250,8 +4250,8 @@ static void gen6_init_rps_frequencies(struct drm_device *dev)if (dev_priv->rps.min_freq_softlimit ==0 ) {if (IS_HASWELL (dev) ||IS_BROADWELL (dev)) dev_priv->rps.min_freq_softlimit = -/* max(RPe, 450 MHz) */ -max (dev_priv->rps.efficient_freq, (u8 )9 ); +max_t (int, dev_priv->rps.efficient_freq, +intel_freq_opcode (dev_priv,450 ));else dev_priv->rps.min_freq_softlimit = dev_priv->rps.min_freq;
Signature · 6 lines
2.0.5 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Task id: 6052 -------------------------------------Summary-------------------------------------
Platform Delta drm-intel-nightly Series Applied
PNV 276/276 276/276 ILK 303/303 303/303 SNB 304/304 304/304 IVB 339/339 339/339 BYT 287/287 287/287 HSW 362/362 362/362 BDW 310/310 310/310
-------------------------------------Detailed-------------------------------------
Platform Test drm-intel-nightly Series Applied
Note: You need to pay more attention to line start with '*'
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 5 lines · On Wed, Mar 25, 2015 at 07:27:16PM +0200, [email protected] wrote:
From: Ville Syrjälä <[email protected]>
Replace the hardcoded 9 with a call to
intel_freq_opcode(450).Signed-off-by Ville Syrjälä <[email protected]>
Quoted 26 lines
--- drivers/gpu/drm/i915/intel_pm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/intel_pm.c +2
-2@@ -4250,8 +4250,8 @@ static void gen6_init_rps_frequencies(struct drm_device *dev)if (dev_priv->rps.min_freq_softlimit ==0 ) {if (IS_HASWELL (dev) ||IS_BROADWELL (dev)) dev_priv->rps.min_freq_softlimit = -/* max(RPe, 450 MHz) */ -max (dev_priv->rps.efficient_freq, (u8 )9 ); +max_t (int, dev_priv->rps.efficient_freq, +intel_freq_opcode (dev_priv,450 ));else dev_priv->rps.min_freq_softlimit = dev_priv->rps.min_freq;Signature · 6 lines
2.0.5 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Daniel Vetter
AppliedQuoted 8 lines · Damien Lespiau
Quoted 5 lines · On Wed, Mar 25, 2015 at 07:27:16PM +0200, [email protected] wrote:
From: Ville Syrjälä <[email protected]>
Replace the hardcoded 9 with a call to
intel_freq_opcode(450).Signed-off-by Ville Syrjälä <[email protected]>Reviewed-by Damien Lespiau <[email protected]>
Queued for -next, thanks for the patch.
-Daniel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx