diff options
author | Xin Xie <xxie@nvidia.com> | 2011-06-23 14:22:11 -0700 |
---|---|---|
committer | Niket Sirsi <nsirsi@nvidia.com> | 2011-07-21 18:01:58 -0700 |
commit | 84f4fd2fa904ce20aad7732288736c32e9216851 (patch) | |
tree | 69172c667d533b871d3312a50ffc040bc953df14 /arch | |
parent | bd8d778195bdcdf53fb1e6b9783ab08bf3b42e40 (diff) |
tegra: dc: set EMC clock dynamically
If the screen is idle (no POST for some time), reduce the DC EMC clock
according the windows size. If external display connected, the EMC clock
will not be reduced.
BUG 828306
Reviewed-on: http://git-master/r/37106
Change-Id: I88c76ef3afe5036f47d91f6540846fd767c399e4
Reviewed-on: http://git-master/r/38149
Reviewed-by: Xin Xie <xxie@nvidia.com>
Tested-by: Xin Xie <xxie@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/dc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dc.h b/arch/arm/mach-tegra/include/mach/dc.h index 25cf8021215a..9b848be43ead 100644 --- a/arch/arm/mach-tegra/include/mach/dc.h +++ b/arch/arm/mach-tegra/include/mach/dc.h @@ -360,6 +360,9 @@ u32 tegra_dc_get_syncpt_id(const struct tegra_dc *dc); u32 tegra_dc_incr_syncpt_max(struct tegra_dc *dc); void tegra_dc_incr_syncpt_min(struct tegra_dc *dc, u32 val); +int tegra_dc_set_default_emc(struct tegra_dc *dc); +int tegra_dc_set_dynamic_emc(struct tegra_dc_win *windows[], int n); + /* tegra_dc_update_windows and tegra_dc_sync_windows do not support windows * with differenct dcs in one call */ |