drm/panel: simple: Fix g121x1_l03 hsync/vsync polarity
authorAkshay Bhat <akshay.bhat@timesys.com>
Tue, 1 Mar 2016 23:06:54 +0000 (18:06 -0500)
committerThierry Reding <treding@nvidia.com>
Wed, 2 Mar 2016 16:05:01 +0000 (17:05 +0100)
Set hsync/vsync to active low for g121x1_l03 panel to match the
recommended setting in the datasheet.

Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/panel/panel-simple.c

index f88a631c43ab0eb4a79f0fb8fc27741eb1c79319..7a65cc849355f6e966004025df791ddfb0122034 100644 (file)
@@ -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 = {