All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] drm/panel: simple: fix vertical timings for Innolux AT043TN24
@ 2017-10-11 12:59 Philipp Zabel
  2017-10-11 12:59 ` [PATCH 2/3] drm/panel: simple: add bus flags " Philipp Zabel
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Philipp Zabel @ 2017-10-11 12:59 UTC (permalink / raw)
  To: dri-devel; +Cc: Thierry Reding, Nicolas Ferre, kernel, Marco Franchi

The vsync length should be 10 lines, as specified in the data sheet.
This gets the actual refresh rate closer to nominal 60 Hz given the
9 MHz pixel clock.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 drivers/gpu/drm/panel/panel-simple.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 474fa759e06ec..fd21ca799be8d 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1017,8 +1017,8 @@ static const struct drm_display_mode innolux_at043tn24_mode = {
 	.htotal = 480 + 2 + 41 + 2,
 	.vdisplay = 272,
 	.vsync_start = 272 + 2,
-	.vsync_end = 272 + 2 + 11,
-	.vtotal = 272 + 2 + 11 + 2,
+	.vsync_end = 272 + 2 + 10,
+	.vtotal = 272 + 2 + 10 + 2,
 	.vrefresh = 60,
 	.flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC,
 };
-- 
2.11.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-10-12  0:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-11 12:59 [PATCH 1/3] drm/panel: simple: fix vertical timings for Innolux AT043TN24 Philipp Zabel
2017-10-11 12:59 ` [PATCH 2/3] drm/panel: simple: add bus flags " Philipp Zabel
2017-10-11 16:13   ` Marco Franchi
2017-10-11 12:59 ` [PATCH 3/3] drm/panel: simple: add delays " Philipp Zabel
2017-10-11 16:13   ` Marco Franchi
2017-10-11 16:12 ` [PATCH 1/3] drm/panel: simple: fix vertical timings " Marco Franchi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.