]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerEric Anholt <eric@anholt.net>
Fri, 13 Oct 2017 23:37:09 +0000 (16:37 -0700)
commitd409eeafa9ba1c0f2eb75a2619fc787808a545e4
treedc1b66d683d4ca7583e4159c2899df1cd86eac15
parent4b947b1c5a26666effcf657428600be2123ca206
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>
drivers/gpu/drm/vc4/vc4_dsi.c