]> 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)
commita6e90547b683b60134b6c3d5efbb91a50ed2855a
treec0af9dea1a65e3bbbdbfe42b25521fc2df350506
parent7c7b54bef650240ad48345bdbcfd014d4ff60422
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