drm/i915: provide more error output when mode sets fail
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 19 Jul 2011 22:38:56 +0000 (15:38 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 29 Jul 2011 22:09:06 +0000 (15:09 -0700)
commit013a41ec541d5daa0c9f2b5126d2e820902c052d
tree29af246cd26868f2846f2a4b61e6a58ae5d0d5f5
parent358733e9047cafcc185ca19b8c369c659ac0c4cf
drm/i915: provide more error output when mode sets fail

If a mode set fails we may get a message from drm_crtc_helper if we're lucky,
but it won't tell us anything about *why* we failed to set a mode.  So
add a few DRM_ERRORs for the cases that shouldn't happen so we can debug
things more easily.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_display.c