linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/panel: simple: fix g121x1_l03 hsync/vsync polarity
@ 2016-03-01 23:06 Akshay Bhat
  2016-03-02 16:07 ` Thierry Reding
  0 siblings, 1 reply; 2+ messages in thread
From: Akshay Bhat @ 2016-03-01 23:06 UTC (permalink / raw)
  To: thierry.reding, airlied; +Cc: dri-devel, linux-kernel, Akshay Bhat

Set hsync/vsync to active low for g121x1_l03 panel to match the
recommended setting in datasheet.

Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 2164c99..5d11322 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -847,6 +847,7 @@ static const struct drm_display_mode innolux_g121x1_l03_mode = {
 	.vsync_end = 768 + 38 + 1,
 	.vtotal = 768 + 38 + 1 + 0,
 	.vrefresh = 60,
+	.flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC,
 };
 
 static const struct panel_desc innolux_g121x1_l03 = {
-- 
2.7.2

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

end of thread, other threads:[~2016-03-02 16:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-01 23:06 [PATCH] drm/panel: simple: fix g121x1_l03 hsync/vsync polarity Akshay Bhat
2016-03-02 16:07 ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).