From f74edead43de70a9422977cad1afdc539658555b Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Thu, 25 Feb 2016 03:10:40 +0200 Subject: [PATCH] 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. --- drivers/video/omap2/displays/panel-tpo-td043mtea1.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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, }; -- 2.47.2