summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/clock_nvrm.c
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2010-10-13 23:15:36 -0700
committerVarun Colbert <vcolbert@nvidia.com>2010-10-15 22:03:50 -0700
commit7e2b25004c5437b6af75307c05cfb3795af309c8 (patch)
tree13d2e65f38d49d8bb91700820772fce14c5a1c8f /arch/arm/mach-tegra/clock_nvrm.c
parent8ec98051794908a84024cc640330a1c5abd375ea (diff)
[ARM/tegra] clock: tuned 2d busy hint for emc clk.tegra-10.9.3
Tuned recently added (commit 98b1475bce96ad088e4105a73d34f1cf803f2ee0) 2d busy hint level to reduce NV omxplayer video-playback power. Change-Id: Ic8f807e761e13cefed84a1fdaccb81e8c3c79535 Reviewed-on: http://git-master.nvidia.com/r/8473 Reviewed-by: Michael Frydrych <mfrydrych@nvidia.com> Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/clock_nvrm.c')
-rwxr-xr-xarch/arm/mach-tegra/clock_nvrm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/clock_nvrm.c b/arch/arm/mach-tegra/clock_nvrm.c
index 365489b22ddc..e250a18f7a03 100755
--- a/arch/arm/mach-tegra/clock_nvrm.c
+++ b/arch/arm/mach-tegra/clock_nvrm.c
@@ -111,6 +111,7 @@ static int tegra_periph_clk_enable(struct clk *c)
} else if (NVRM_MODULE_ID_MODULE(c->module) == NvRmModuleID_2D) {
NvRmDfsBusyHint hint =
{NvRmDfsClockId_Emc, 0xffffffff, NvRmFreqMaximum, true};
+ hint.BoostKHz = NvRmPrivDfsGetMaxKHz(NvRmDfsClockId_Emc) / 2;
NvRmPowerBusyHintMulti(s_hRmGlobal, busy_pwr_client_2d, &hint, 1,
NvRmDfsBusyHintSyncMode_Async);
}