drm/i915: Fix rc6 options debug info
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Thu, 15 May 2014 17:58:10 +0000 (20:58 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 15 May 2014 21:15:45 +0000 (23:15 +0200)
by correctly displaying result and requested.

Suggested-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c

index bc23ab9491247bfa0433c632f38e21bc94c629a8..9ed2eb470ac95ae05370d10acf57d638c5816bf3 100644 (file)
@@ -3350,7 +3350,7 @@ static int sanitize_rc6_option(const struct drm_device *dev, int enable_rc6)
 
                if ((enable_rc6 & mask) != enable_rc6)
                        DRM_INFO("Adjusting RC6 mask to %d (requested %d, valid %d)\n",
-                                enable_rc6, enable_rc6 & mask, mask);
+                                enable_rc6 & mask, enable_rc6, mask);
 
                return enable_rc6 & mask;
        }