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)
commitf8c6bfc612b56f02e1b8fae699dff12738aaf889
treec0af9dea1a65e3bbbdbfe42b25521fc2df350506
parente3c91a88e4f265a5ec58f6e3be0880255156f600
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