xserver/hw
Adam Jackson afe8ef9043 randr: Fix up yet another corner case in preferred mode selection
Let's say - purely for the sake of argument, mind you - that you had a
server GPU with anemic memory bandwidth, and you walked up to it and
plugged in a monitor that was 1920x1080 because that's what happened to
be on the crash cart.  Say the memory bandwidth is such that anything
larger than 1280x1024 gets filtered away.  Now you're in trouble,
because the established timings section includes a 720x400 mode because
that's what DOS 80x25 is, and that happens to just about match the
physical aspect ratio.

Instead let's reuse the logic from the existing aspect-match path: pick
the larger mode of either the physical aspect ratio or 4:3.

Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit ff56f88616)
2012-08-19 08:42:22 -07:00
..
dmx dmx: Annotate dmxlog.c with _X_ATTRIBUTE_PRINTF and _X_NORETURN 2012-05-10 00:50:35 -07:00
kdrive kinput: allocate enough space for null character. 2012-08-19 08:41:37 -07:00
vfb Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
xfree86 randr: Fix up yet another corner case in preferred mode selection 2012-08-19 08:42:22 -07:00
xnest Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
xquartz XQuartz: Fix xp_window_bring_all_to_front linking on OS versions with older libXplugin 2012-08-03 10:16:28 -07:00
xwin Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00