xserver/hw
Adam Jackson ff56f88616 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>
2012-08-06 15:03:47 -07:00
..
dmx glx: drop GLX_LIBS from X server and workaround sdksyms. 2012-07-25 23:30:53 -07:00
kdrive kinput: allocate enough space for null character. 2012-08-06 15:03:47 -07:00
vfb Replace NO_HW_ONLY_EXTS with Xorg DDX test 2012-07-10 00:31:02 -07:00
xfree86 randr: Fix up yet another corner case in preferred mode selection 2012-08-06 15:03:47 -07:00
xnest Replace NO_HW_ONLY_EXTS with Xorg DDX test 2012-07-10 00:31:02 -07:00
xquartz XQuartz: Call xp_window_bring_all_to_front if available in libXplugin 2012-07-25 12:19:01 -07:00
xwin glx: drop GLX_LIBS from X server and workaround sdksyms. 2012-07-25 23:30:53 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00