Skip to contentSkip to conversation

drm/i915: fix typo in gen6_enable_rps

PATCH In review Eugeni Dodonov 3 participants 3 messages Jul 4, 2012 – Jul 5, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: fix typo in gen6_enable_rps

Noticed by Chris Wilson, this got through in the last iteration of the rps for Haswell patch.

---
 drivers/gpu/drm/i915/intel_pm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_pm.c +1 -1
index 0350bab..e697df7 100644
@@ -2460,7 +2460,7 @@ static void gen6_enable_rps(struct drm_device *dev)
 		   GEN6_RP_MEDIA_IS_GFX |
 		   GEN6_RP_ENABLE |
 		   GEN6_RP_UP_BUSY_AVG |
-		   (IS_HASWELL(dev)) ? GEN7_RP_DOWN_IDLE_AVG : GEN6_RP_DOWN_IDLE_CONT);
+		   (IS_HASWELL(dev) ? GEN7_RP_DOWN_IDLE_AVG : GEN6_RP_DOWN_IDLE_CONT));
 
 	if (wait_for((I915_READ(GEN6_PCODE_MAILBOX) & GEN6_PCODE_READY) == 0,
 		     500))
Signature · 1 line
1.7.11.1
#1 lore raw
Quoted 2 lines · Eugeni Dodonov

Noticed by Chris Wilson, this got through in the last iteration of the rps for Haswell patch.

That's the fix. Hopefully there is enough time for Daniel to rewrite history and spare our blushes.
-Chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
#2 lore raw
Quoted 6 lines · Chris Wilson
Quoted 2 lines · Eugeni Dodonov

Noticed by Chris Wilson, this got through in the last iteration of the rps for Haswell patch.

That's the fix. Hopefully there is enough time for Daniel to rewrite history and spare our blushes.

History is fixed, it never happened.
-Daniel

Signature · 3 lines
Daniel Vetter
Mail: [email protected]
Mobile: +41 (0)79 365 57 48