xfree86: Use the TMDS maximum frequency to prune modes
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 31 Jul 2013 18:16:45 +0000 (19:16 +0100)
committerDamien Lespiau <damien.lespiau@intel.com>
Tue, 7 Jan 2014 17:24:57 +0000 (17:24 +0000)
commitd6c8d7509727060b8e2358b9ed1c0e17b2ec3401
tree2ee9f23a0bf7e87fcc118f9494bc10db1a7e0de4
parent95c2287465138ac251bf792f354cee3626e76b44
xfree86: Use the TMDS maximum frequency to prune modes

Instead of only relying on the Range section, we can do better on
HDMI to find out what is the max dot clock the monitor supports. The
HDMI CEA vendor block adds a TMDS max freq we can use.

This makes X not prune 4k resolutions on HDMI.

v2: Replace X_INFO by X_PROBED in the message that prints the max
    TMDS frequency (Chris Wilson)

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
hw/xfree86/modes/xf86Crtc.c