diff options
author | Kevin Huang <kevinh@nvidia.com> | 2013-04-01 17:33:01 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:04:14 -0400 |
commit | b22c765d4c457a03dad3ffd60802d0cbbe519a4c (patch) | |
tree | f61dd7a3b3be5cd469a52fbad49ea1e1c37c3a44 /drivers/video/tegra/dc/dsi.c | |
parent | 881103356b8912749189cedf800c494cb4653887 (diff) |
video: tegra: dsi: update display dvfs.
DSI switches mode between LP and HS when display access/exit suspend
mode. Each mode corresponds to different clock rate. Update dc dvfs
when mode is changed.
Bug 1260913
Change-Id: I95b55b2795f659af487c863de9fe0332ca7f5014
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/215194
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/dc/dsi.c')
-rw-r--r-- | drivers/video/tegra/dc/dsi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/dsi.c b/drivers/video/tegra/dc/dsi.c index 52deb2c92..a1709b592 100644 --- a/drivers/video/tegra/dc/dsi.c +++ b/drivers/video/tegra/dc/dsi.c | |||
@@ -4283,6 +4283,8 @@ static long tegra_dc_dsi_setup_clk(struct tegra_dc *dc, struct clk *clk) | |||
4283 | clk_set_parent(clk, parent_clk); | 4283 | clk_set_parent(clk, parent_clk); |
4284 | 4284 | ||
4285 | skip_setup: | 4285 | skip_setup: |
4286 | tegra_dvfs_set_rate(dc->clk, dc->mode.pclk); | ||
4287 | |||
4286 | return tegra_dc_pclk_round_rate(dc, dc->mode.pclk); | 4288 | return tegra_dc_pclk_round_rate(dc, dc->mode.pclk); |
4287 | } | 4289 | } |
4288 | 4290 | ||