]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
edp: tn8: set sysedp_dynamic capping pthrot ratio
authorTimo Alho <talho@nvidia.com>
Wed, 29 Jan 2014 18:45:38 +0000 (20:45 +0200)
committerJuha Tukkinen <jtukkinen@nvidia.com>
Tue, 4 Feb 2014 15:57:33 +0000 (07:57 -0800)
soc_therm is set to throttle 75% on OC signal. To account the dynamic
budgeting to match this throttling (in the context of modem consumer),
set the pthrot_ratio parameter to 75%.

Change-Id: I320f1d5433c48c4f44e348f8a642b34c9da8cd4b
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/361615
(cherry picked from commit 8bb71b6df9c3932ac0922aec124d91203b85cd67)
Reviewed-on: http://git-master/r/362848
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
arch/arm/mach-tegra/board-tn8-sysedp.c

index a46f8eaade6ae869a997237edfb567c2282d2de6..a94feb69a779eea293b47c8953a8d5a3c0b6e283 100644 (file)
@@ -91,6 +91,7 @@ static struct tegra_sysedp_platform_data tn8_sysedp_dynamic_capping_platdata = {
        .corecap_size = td575d_sysedp_corecap_sz,
        .core_gain = 100,
        .init_req_watts = 20000,
+       .pthrot_ratio = 75,
 };
 
 static struct platform_device tn8_sysedp_dynamic_capping = {