From: Grazvydas Ignotas Date: Thu, 25 Feb 2016 01:10:40 +0000 (+0200) Subject: OMAPDSS: TPO-TD03MTEA1: adjust timings X-Git-Tag: sz_174~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f74edead43de70a9422977cad1afdc539658555b;p=pandora-kernel.git OMAPDSS: TPO-TD03MTEA1: adjust timings 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. --- diff --git a/drivers/video/omap2/displays/panel-tpo-td043mtea1.c b/drivers/video/omap2/displays/panel-tpo-td043mtea1.c index be89801ff4bf..1c7254f1bea0 100644 --- a/drivers/video/omap2/displays/panel-tpo-td043mtea1.c +++ b/drivers/video/omap2/displays/panel-tpo-td043mtea1.c @@ -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, };