diff mbox

drm/panel: simple: fix g121x1_l03 hsync/vsync polarity

Message ID 1456873614-21961-1-git-send-email-akshay.bhat@timesys.com (mailing list archive)
State New, archived
Headers show

Commit Message

Akshay Bhat March 1, 2016, 11:06 p.m. UTC
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(+)

Comments

Thierry Reding March 2, 2016, 4:07 p.m. UTC | #1
On Tue, Mar 01, 2016 at 06:06:54PM -0500, Akshay Bhat wrote:
> 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(+)

Applied, thanks.

Thierry
diff mbox

Patch

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 = {