]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/i915: fix debug output for 3 pipe configs
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 12 Oct 2011 17:49:14 +0000 (10:49 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 21 Oct 2011 06:21:54 +0000 (23:21 -0700)
We can have more than just A and B these days.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Tested-By: Eugeni Dodonov <eugeni.dodonov@intel.com>
Reviewed-By: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_display.c

index c9bbf5e8fbe80886e5dac3f277d33b8bf5db7540..880d44e3835374342a22cce318c9c79d3228f711 100644 (file)
@@ -5549,7 +5549,7 @@ static int ironlake_crtc_mode_set(struct drm_crtc *crtc,
        /* Set up the display plane register */
        dspcntr = DISPPLANE_GAMMA_ENABLE;
 
-       DRM_DEBUG_KMS("Mode for pipe %c:\n", pipe == 0 ? 'A' : 'B');
+       DRM_DEBUG_KMS("Mode for pipe %d:\n", pipe);
        drm_mode_debug_printmodeline(mode);
 
        /* PCH eDP needs FDI, but CPU eDP does not */