• Tomi Valkeinen's avatar
    fbdev: fix CVT vertical front and back porch values · 4d073292
    Tomi Valkeinen authored
    CVT v1.1 spec says: "the vertical front porch shall in all cases be
    fixed to 3 lines". The code in fbcvt.c instead sets the _back_ porch to
    3 (plus margin).
    
    After swapping cvt.v_front_porch and cvt.v_back_porch the resulting
    timings were in line with CVT timings in VESA DMT spec.
    
    The bug seems to be more than 9 years old, but I presume it has not been
    noticed as usually the video timings come from the EDID or from the
    timing tables in fbdev, and probably swapped values for vfp and vbp work
    fine for most of the displays.
    Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
    Acked-by: default avatarDavid Ung <davidu@nvidia.com>
    Cc: Antonino A. Daplas <adaplas@gmail.com>
    4d073292
fbcvt.c 9.28 KB