drm/vc4: Move the DSI clock divider workaround closer to the clock call.
authorEric Anholt <eric@anholt.net>
Tue, 15 Aug 2017 23:47:18 +0000 (16:47 -0700)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 15 Feb 2018 17:41:16 +0000 (17:41 +0000)
commitcad54526371a35bc6d59af392dc87b621de3f1cc
tree99e05e44af97d9c0dbd4f5a19a62a336fbb32057
parent3c4a15b80a63853aa593329757b1b0f7cecfcc4a
drm/vc4: Move the DSI clock divider workaround closer to the clock call.

We want the adjusted_mode->clock to be the actual clock we're
expecting to program, so that consumers see the right values for clock
and vrefresh.

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20170815234722.20700-1-eric@anholt.net
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
(cherry picked from commit d409eeafa9ba1c0f2eb75a2619fc787808a545e4)
drivers/gpu/drm/vc4/vc4_dsi.c