panel-raspberrypi-touchscreen: Round up clk rate to fix DSI panel.
authorEric Anholt <eric@anholt.net>
Mon, 6 Mar 2017 20:17:16 +0000 (12:17 -0800)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:45:43 +0000 (15:45 +0100)
commitdd45a23ad9b05b10ece2cbc76aca76b80e367ec1
tree21c3ad5c672398897259cea833a9abc33614388c
parentdc1925e09480f698e3f6ccf08eb84cb243a10109
panel-raspberrypi-touchscreen: Round up clk rate to fix DSI panel.

Commit 488f9bc8e3def93e0baef53cee2026c2cb0d8956 slightly increased the
reported rate of PLLD, so the clk driver decided that PLLD/3/8 was now
higher than our requested pixel clock rate and rejected it in favor of
PLLD/4/8, which then ran the pixel clock way out of spec.

By bumping the requested clock rate just slightly, we get back to
PLLD/3/8 like we wanted and the panel displays content again.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c