]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panel: simple: fix AUO g185han01 horizontal blanking
authorLucas Stach <l.stach@pengutronix.de>
Wed, 10 Jul 2019 13:07:40 +0000 (15:07 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Fri, 12 Jul 2019 16:13:26 +0000 (18:13 +0200)
commit1f5c4f100da11c3bcbcee5801f6dd9fd4f555251
treec0af9dea1a65e3bbbdbfe42b25521fc2df350506
parent357e88597201ccb37dc255b06dec00a78e320620
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: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1562764060.23869.12.camel@pengutronix.de
drivers/gpu/drm/panel/panel-simple.c