xserver/hw/xfree86/modes
Chris Wilson c760fb0154 hw/xfree86: Only report SetDesiredModes() failed if at least one modeset fails
commit 6703a7c7cf
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 8 20:24:32 2013 -0800

    hw/xfree86: Require only one working CRTC to start the server.

changed the logic to try to set the mode on all connected outputs rather
than abort upon the first failure. The return error code was then
tweaked such that it reported success if it set a mode on any crtc.
However, this confuses the headless case where we never enable any crtcs
and also, importantly, never fail to set a crtc.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59190

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Also-written-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 451ba4bd41)
2013-05-06 09:52:35 +10:00
..
Makefile.am displayid: Implement mode decoding. 2009-07-17 14:48:55 -04:00
xf86Crtc.c hw/xfree86: Only report SetDesiredModes() failed if at least one modeset fails 2013-05-06 09:52:35 +10:00
xf86Crtc.h xf86: store scanout pixmap in the xf86 struct as well. 2012-07-07 10:37:45 +01:00
xf86Cursors.c xf86: migrate to using xf86ScreenToScrn wrapper (v2) 2012-05-21 12:59:08 +01:00
xf86cvt.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86DiDGA.c xf86dga: handle DGAAvailable for gpu screens. (v2) 2012-07-07 10:37:10 +01:00
xf86DisplayIDModes.c Fix up formatting of initializers for arrays of structs 2012-08-06 15:22:53 -07:00
xf86EdidModes.c Fix up formatting of initializers for arrays of structs 2012-08-06 15:22:53 -07:00
xf86gtf.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86Modes.c xfree86: Strip dangling pointers from desiredMode 2012-07-11 15:55:22 -07:00
xf86Modes.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86RandR12.c randr: cleanup provider properly 2013-03-01 18:14:28 +10:00
xf86RandR12.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86Rename.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86Rotate.c xf86: make sure rotate calcs are done on the right screen boundaries 2012-07-07 10:37:45 +01:00