]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] fbdev: More accurate sync range extrapolation
authorAntonino A. Daplas <adaplas@gmail.com>
Mon, 26 Jun 2006 07:26:29 +0000 (00:26 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:29 +0000 (09:58 -0700)
commita7f62449c50cb3b06861c47c6a5f3d5ff7735ff0
treedc738feee436ec164fb841f82d015f33e9d36e83
parent58b9844cde282bc776717602b7e0f11764de4ef1
[PATCH] fbdev: More accurate sync range extrapolation

The EDID block should specify the display's operating limits (vertical and
horizontal sync ranges, and maximum dot clock).  If not given by the EDID
block, the ranges are extrapolated from the modelist.  However, the
computation used is only a rough approximation, and the resulting values may
not reflect the actual capability of the display.  This problem is frequently
encountered when the EDID block has a single entry, the single mode entry will
fail validation.

To prevent this, calculate the values based on the same method used in
fb_validate_mode().

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/fbmon.c