xserver-multidpi/hw
Chris Wilson 951605b466 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>
2010-08-20 08:55:05 -07:00
..
dmx dix: purge leftover manual key down bit setting. 2010-07-07 13:29:46 +10:00
kdrive dix: purge leftover manual key down bit setting. 2010-07-07 13:29:46 +10:00
vfb Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xfree86 edid: Adjust rounding of max_clock 2010-08-20 08:55:05 -07:00
xnest dix: purge leftover manual key down bit setting. 2010-07-07 13:29:46 +10:00
xquartz XQuartz: xpr: Bail on errors during unlock and destroy 2010-08-12 20:26:36 -10:00
xwin Cygwin/X: Fix glxWinCreateDrawable() for API change 2010-08-10 09:29:39 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00