xserver/hw/xfree86
Chris Wilson 430ee9fb87 edid: Adjust rounding of max_clock
A simple hack to accommodate various EDID who have detailed modes that
exceed the EDID's max pixel clock. The pixel clock is only defined in
units of 10MHz and often appears as the maximum pixel code of the
detailed modes, rounded to the nearest 10MHz. Adjusting the max_clock to
include an extra 5MHz prevents the parser from rejecting the detailed
modes.

The kernel uses the same fuzz and by including it in X we can use the
same modes in X as for the console.

Fixes:

  Bug 23833 - X uses different refresh rate to that set by kernel module
  https://bugs.freedesktop.org/show_bug.cgi?id=23833

In the future, we will want to try harder to keep the KMS modes but at
the same time we need to apply the restrictions as specified by the
user's configuration, and need to fill in modes for fullscreen games on
fixed-mode panels.

Reported-and-tested-by: Fabio Pedretti <fabio.ped@libero.it>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 951605b466)
2010-09-04 11:39:13 -07:00
..
common xfree86: fix multiple InputAttributes tag matching. 2010-05-25 16:55:43 +10:00
ddc edid: Adjust rounding of max_clock 2010-09-04 11:39:13 -07:00
dixmods Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
doc Add RandR 1.2 README.modes doc to EXTRA_DIST 2010-05-24 22:24:11 -07:00
dri Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
dri2 Merge branch 'dri2-backports' into server-1.8-branch 2010-06-21 11:34:35 +10:00
exa Fix .man.N targets for AM_SILENT_RULES 2010-03-22 00:45:55 -05:00
fbdevhw Fix .man.N targets for AM_SILENT_RULES 2010-03-22 00:45:55 -05:00
i2c Don't cast double to int: use default conversions or explicitly round. 2009-10-28 18:56:42 -07:00
int10 Fix builds with --with-int10=stub 2009-12-15 10:23:16 -08:00
loader .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
modes Fix null pointer dereference in xf86_reload_cursors(). 2010-05-18 14:43:52 +10:00
os-support Solaris: Use VT_SET_CONSUSER ioctl to set Console User rights profile 2010-05-24 22:23:54 -07:00
parser xfree86: Allow adding sysconfdir and datadir to config search paths 2010-04-09 11:49:24 +10:00
ramdac Fix cursor ref counting mistakes with sprites and xf86Cursor.c 2010-05-18 14:41:46 +10:00
shadowfb s/MIN/min/, s/MAX/max/ (#2968) 2009-06-03 13:45:42 -04:00
utils Fix .man.N targets for AM_SILENT_RULES 2010-03-22 00:45:55 -05:00
vbe Update to xextproto 7.0.99.1. 2009-07-15 17:00:05 +10:00
vgahw Revert "alpha: kill xf86SlowBCopyToBus and xf86SlowBCopyFromBus" 2009-10-06 20:40:20 -04:00
x86emu Convert x86emu fixed size int typedefs to use stdint types 2010-04-09 11:48:12 +10:00
xaa .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
xf8_16bpp Update several of my and/or Red Hat's licenses to standard form. 2009-05-14 07:02:44 -04:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am Fix relink targets for silent rules 2010-03-22 00:45:52 -05:00
xorgconf.cpp Update xorg.conf man page & sample for changes in Xorg 1.7 2009-09-14 16:03:18 +10:00