drm/i915: if transcoder disable fails, say which
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 13 Oct 2011 16:46:32 +0000 (09:46 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 21 Oct 2011 06:21:57 +0000 (23:21 -0700)
Just some extra debug output.

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 064c65980a9ab21d59e6ac97719543a8fdbc9dbf..921253cb4f85541c960680a56474d4696253a4e4 100644 (file)
@@ -1276,7 +1276,7 @@ static void intel_disable_transcoder(struct drm_i915_private *dev_priv,
        I915_WRITE(reg, val);
        /* wait for PCH transcoder off, transcoder state */
        if (wait_for((I915_READ(reg) & TRANS_STATE_ENABLE) == 0, 50))
-               DRM_ERROR("failed to disable transcoder\n");
+               DRM_ERROR("failed to disable transcoder %d\n", pipe);
 }
 
 /**