Find a file
Adam Jackson 083599c559 fbdevhw: iterate over all modes that match a mode. (v3)
So on RHEL5 anaconda sets an xorg.conf with a fixed 800x600 mode in it,
we run radeonfb and fbdev since ati won't work in userspace due to domain
issues in the older codebase.

On certain pseries blades the built-in KVM can't accept an 800x600-43 mode,
it requires the 800x600-60 mode, so we have to have the kernel radeonfb
driver reject the 800x600-43 mode when it sees it. However then fbdev
doesn't try any of the other 800x600 modes in the modelist, and we end up
getting a default 640x480 mode we don't want.

This patch changes the mode validation loop to continue on with the other modes
that match to find one that works.

v2: move code around to avoid extra loop, after comment from Jamey.
v3: move loop setup back into loop as per Jeremy's review.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
(cherry picked from commit 22605effd1)
2011-12-09 12:34:22 -08:00
composite composite: Update borderClip in compAllocPixmap() 2011-10-24 10:06:26 -07:00
config config: fix a log message 2011-10-14 15:34:35 +10:00
damageext damage: use DamageReportDamage for the initial borderClip damage report 2011-04-13 18:59:09 -07:00
dbe Clean up memory better when GetVisualInfo fails in ProcDbeGetVisualInfo 2011-05-02 20:38:16 -07:00
dix dix: Don't let a driver without a ProximityClassRec post events 2011-11-21 17:58:49 -08:00
doc Terminate the log with one last message. 2011-07-27 09:31:02 +10:00
exa EXA/mixed: Update sys_pitch in MPH even when there's no system memory copy. 2011-08-10 09:30:08 -07:00
fb Fix server crash due to invalid images 2011-10-09 01:35:49 -07:00
glx glx: Remove a few lingering traces of __GLXscreen.GLXVersion 2011-07-07 18:09:21 +01:00
hw fbdevhw: iterate over all modes that match a mode. (v3) 2011-12-09 12:34:22 -08:00
include record: Prevent out of bounds access when recording a reply. 2011-11-21 18:43:32 -08:00
m4 Use XORG_STRICT_OPTION from util-macros 1.14 to set -Werror flags 2011-05-27 19:51:05 -07:00
man Add xkeyboard-config to See Also of man pages referencing xkb 2011-06-21 17:54:43 -07:00
mi composite: Inhibit window background paint with manual subwindow redirection 2011-08-03 20:46:36 -07:00
miext rootless: Fix a server crash when choosing a color with the gimp color wheel 2011-11-21 18:44:34 -08:00
os record: Prevent out of bounds access when recording a reply. 2011-11-21 18:43:32 -08:00
randr randr: Make the RRConstrainCursorHarder logic the same as miPointerSetPosition 2011-11-28 09:00:52 -08:00
record record: Prevent out of bounds access when recording a reply. 2011-11-21 18:43:32 -08:00
render Merge remote-tracking branch 'jeremyhu/master' 2011-04-27 12:01:56 -07:00
test Disable check of double-aligned in test/input.c on Renesas SH 2011-10-14 15:35:31 +10:00
Xext Fix pixmap double-frees on error paths. 2011-10-04 19:59:27 -07:00
xfixes xfixes: Remove unused variable. 2011-06-16 00:44:03 +02:00
Xi Xi: allow passive keygrabs on the XIAll(Master)Devices fake devices 2011-11-21 17:58:31 -08:00
xkb xkb: add missing swaps for xkbGetDeviceInfoReply 2011-10-14 15:33:56 +10:00
.gitignore doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac configure.ac: 1.11.2.901 (1.11.3 RC1) 2011-11-28 00:07:29 -08:00
COPYING Add asprintf() implementation for platforms without it 2010-12-07 11:10:35 -08:00
devbook.am doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00
docbook.am docbook.am: --path is also required for xsltproc 2011-06-22 10:49:46 -07:00
fix-miregion Change region implementation names to eliminate the 'mi' prefix 2010-06-05 17:47:32 -07:00
fix-miregion-private Change region implementation names to eliminate the 'mi' prefix 2010-06-05 17:47:32 -07:00
fix-patch-whitespace Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
fix-region Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
Makefile.am man: relocate manual pages in the man subdir outside doc 2011-05-13 14:08:17 -07:00
manpages.am Xdmx.man: Show actual configured XKB defaults instead of old hardcoded values 2011-06-21 17:54:14 -07:00
README packaging: provide a default README file #24206 2010-01-27 14:00:17 -08:00
xorg-server.m4 macros: use PKG_CONFIG variable rather than executable name 2010-01-07 12:57:23 -08:00
xorg-server.pc.in config: declare xserver private dependencies in xorg-server.pc 2010-06-22 11:34:47 -07:00
xserver.ent.in doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00

					X Server

The X server accepts requests from client applications to create windows,
which are (normally rectangular) "virtual screens" that the client program
can draw into.

Windows are then composed on the actual screen by the X server
(or by a separate composite manager) as directed by the window manager,
which usually communicates with the user via graphical controls such as buttons
and draggable titlebars and borders.

For a comprehensive overview of X Server and X Window System, consult the
following article:
http://en.wikipedia.org/wiki/X_server

All questions regarding this software should be directed at the
Xorg mailing list:

        http://lists.freedesktop.org/mailman/listinfo/xorg

Please submit bug reports to the Xorg bugzilla:

        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg

The master development code repository can be found at:

        git://anongit.freedesktop.org/git/xorg/xserver

        http://cgit.freedesktop.org/xorg/xserver

For patch submission instructions, see:

	http://www.x.org/wiki/Development/Documentation/SubmittingPatches

For more information on the git code manager, see:

        http://wiki.x.org/wiki/GitPage