]> 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)
commita4839d937348fe352fe42f904746a0e5120eefc5
treedc1b66d683d4ca7583e4159c2899df1cd86eac15
parent4618b3dd40d42474512088adc8d69b40b22998b1
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