drm/i915: provide more error output when mode sets fail
commita5071c2fd91f320bc40952df59517053a7346fa9
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 19 Jul 2011 22:38:56 +0000 (19 15:38 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 22 Jul 2011 03:18:24 +0000 (21 20:18 -0700)
tree2ca6e47bbf137d518753d25596373f28aaff7405
parent28a4a163b561c39ac0c798d420e0927f29e9d4c8
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