Commit f8c6bfc6 authored by Lucas Stach's avatar Lucas Stach Committed by Sam Ravnborg

drm/panel: simple: fix AUO g185han01 horizontal blanking

The horizontal blanking periods are too short, as the values are
specified for a single LVDS channel. Since this panel is dual LVDS
they need to be doubled. With this change the panel reaches its
nominal vrefresh rate of 60Fps, instead of the 64Fps with the
current wrong blanking.

Philipp Zabel added:
The datasheet specifies 960 active clocks + 40/128/160 clocks blanking
on each of the two LVDS channels (min/typical/max), so doubled this is
now correct.
Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
Reviewed-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1562764060.23869.12.camel@pengutronix.de
parent e3c91a88
...@@ -822,9 +822,9 @@ static const struct panel_desc auo_g133han01 = { ...@@ -822,9 +822,9 @@ static const struct panel_desc auo_g133han01 = {
static const struct display_timing auo_g185han01_timings = { static const struct display_timing auo_g185han01_timings = {
.pixelclock = { 120000000, 144000000, 175000000 }, .pixelclock = { 120000000, 144000000, 175000000 },
.hactive = { 1920, 1920, 1920 }, .hactive = { 1920, 1920, 1920 },
.hfront_porch = { 18, 60, 74 }, .hfront_porch = { 36, 120, 148 },
.hback_porch = { 12, 44, 54 }, .hback_porch = { 24, 88, 108 },
.hsync_len = { 10, 24, 32 }, .hsync_len = { 20, 48, 64 },
.vactive = { 1080, 1080, 1080 }, .vactive = { 1080, 1080, 1080 },
.vfront_porch = { 6, 10, 40 }, .vfront_porch = { 6, 10, 40 },
.vback_porch = { 2, 5, 20 }, .vback_porch = { 2, 5, 20 },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment