xserver/hw/xfree86/modes
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
..
Makefile.am displayid: Implement mode decoding. 2009-07-17 14:48:55 -04:00
xf86Crtc.c randr: Fix up yet another corner case in preferred mode selection 2012-08-06 15:03:47 -07: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
xf86DiDGA.c xf86dga: handle DGAAvailable for gpu screens. (v2) 2012-07-07 10:37:10 +01:00
xf86DisplayIDModes.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86EdidModes.c xfree86: EDID Est III parsing skips some modes 2012-07-06 12:11:48 -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 xfree86: Strip dangling pointers from desiredMode 2012-07-11 15:55:22 -07: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
xf86cvt.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86gtf.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00