xserver-multidpi/hw/xfree86/modes
Chris Wilson 451ba4bd41 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>
2013-04-29 09:10:06 -07:00
..
Makefile.am Eliminate the use of xf86Rename.h 2013-04-24 10:22:20 -07:00
xf86Crtc.c hw/xfree86: Only report SetDesiredModes() failed if at least one modeset fails 2013-04-29 09:10:06 -07:00
xf86Crtc.h Eliminate the use of xf86Rename.h 2013-04-24 10:22:20 -07: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 Define prototypes for hw/xfree86/modes/xf86Modes.c only in xf86Modes.h. 2013-04-08 09:19:34 -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 Eliminate the use of xf86Rename.h 2013-04-24 10:22:20 -07:00
xf86RandR12.c Define prototypes for hw/xfree86/modes/xf86Modes.c only in xf86Modes.h. 2013-04-08 09:19:34 -07:00
xf86RandR12.h Eliminate the use of xf86Rename.h 2013-04-24 10:22:20 -07:00
xf86Rotate.c xf86: make sure rotate calcs are done on the right screen boundaries 2012-07-07 10:37:45 +01:00