OMAPDSS: TPO-TD03MTEA1: adjust timings
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 25 Feb 2016 01:10:40 +0000 (03:10 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 28 Feb 2016 01:55:13 +0000 (03:55 +0200)
These new timings reduce .vfp to 0 to eliminate the time window between
VFP and vsync as explained here:
http://processors.wiki.ti.com/index.php/OMAP35x_Linux_-_DSS_FAQ
Vsyned programs now also have ~1.25ms more time to finish the frame and
perform a fbdev pan operation before DSS reads out the registers.

Note that on pandora, /usr/pandora/scripts/op_lcdrate.sh needs
to be updated too.

drivers/video/omap2/displays/panel-tpo-td043mtea1.c

index be89801..1c7254f 100644 (file)
@@ -260,12 +260,16 @@ static const struct omap_video_timings tpo_td043_timings = {
 
        .pixel_clock    = 36000,
 
+       /* note:
+        * hbp+hsw must be 215
+        * if vbp+vsw < 32, the panel tears at the bottom
+        * if vbp+vsw > 35, it wraps from the top */
        .hsw            = 1,
-       .hfp            = 68,
+       .hfp            = 150,
        .hbp            = 214,
 
        .vsw            = 1,
-       .vfp            = 39,
+       .vfp            = 0,
        .vbp            = 34,
 };