fbdev: fix CVT vertical front and back porch values
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 21 Jan 2015 07:38:16 +0000 (09:38 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 27 Jan 2015 11:35:37 +0000 (13:35 +0200)
commit4d073292a74b31ea00443d7778a95c209140aa42
tree663896b235d0e85346fd9dc88794fdf4a9bfd14a
parent070a178331d056934fccf00bdc001eb9647ea029
fbdev: fix CVT vertical front and back porch values

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: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: David Ung <davidu@nvidia.com>
Cc: Antonino A. Daplas <adaplas@gmail.com>
drivers/video/fbdev/core/fbcvt.c
This page took 0.029371 seconds and 5 git commands to generate.