]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5392e8cac54268c382aba9d55318cdd6ae498c7a
tree29af246cd26868f2846f2a4b61e6a58ae5d0d5f5
parent408677967b56a5044412a63396aef2275541a481
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