video: fbdev: Validate mode timing against monspec
authorDavid Ung <davidu@nvidia.com>
Wed, 14 Jan 2015 03:04:27 +0000 (19:04 -0800)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 15 Jan 2015 11:33:41 +0000 (13:33 +0200)
commit72bbf10bf0fdaa097252149ef3a9b74c48a0d683
tree11abf3f7a0355b29782c1f1738122a90288a52db
parent8f5ee77bb8d162abe28ff8cd56f36e825d143207
video: fbdev: Validate mode timing against monspec

fbmon may generate mode timings that are out of spec of the monitor.
eg DELL U2410 has a max clock 170mhz but advertises a resolutions of
1920x1200@60 in its Standard Timings using 2byte code of D1 00.
When this is looked up in the DMT table it gives it a 193mhz clock.
Although the DELL monitor supports 1920x1200@60, it can only run with
reduced timings at 154mhz or DMT id 0x44 which has no STD 2byte code.
This patch checks to see if the mode can be supported by the monitor
by comparing against monspecs.dclkmax.

Signed-off-by: David Ung <davidu@nvidia.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/core/fbmon.c
This page took 0.02939 seconds and 5 git commands to generate.