]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: return a true clock rate to adjusted_mode
authorChris Zhong <zyw@rock-chips.com>
Wed, 6 Jan 2016 04:03:53 +0000 (12:03 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Wed, 6 Jan 2016 05:51:09 +0000 (13:51 +0800)
commitf6084fe533c7d77fc6f79910eec452f6477d7edc
tree932624f6f1c833f38744c1ecef3266ea8e2c9f8c
parent81ca67169a25a6f415dbf10ebe671cea0fa47f32
drm/rockchip: return a true clock rate to adjusted_mode

Since the mipi dsi driver need to use the clock of vop to make the
calculation of Blanking. But sometimes the clock driver can not set a
accurate clock_rate for vop, get it by clk_round_rate before mode_set,
so we can get the true value.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Acked-by: Mark Yao <mark.yao@rock-chips.com>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c