]> 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)
commit951f7217f1ba192649811733ce0456638bff4d91
tree932624f6f1c833f38744c1ecef3266ea8e2c9f8c
parent1c96a56b834d80545f89cd85de55b393c7944fe4
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