• Antonino A. Daplas's avatar
    [PATCH] fbdev: More accurate sync range extrapolation · 30076831
    Antonino A. Daplas authored
    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: default avatarAntonino Daplas <adaplas@pol.net>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    30076831
fbmon.c 33.1 KB