summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorHyungwoo Yang <hyungwooy@nvidia.com>2013-05-03 15:04:38 -0400
committerSrikar Srimath Tirumala <srikars@nvidia.com>2018-05-28 23:06:41 -0400
commit032a9810e3bcc40180ba161df01a1fc00c73a7c4 (patch)
tree6e1330afea1622f0648d793a552954aad59eb4c5 /include/linux
parente906355935a4575c625b93e972d0a083cc404e72 (diff)
Thermal: pid_thermal_gov: Apply per-zone specific governor parameters
Receives zone specific governor parameters. Change-Id: Iea711ee2da103d5ac1fdc5817c06638d75a4bd7a Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com> Reviewed-on: http://git-master/r/225338 Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> (cherry picked from commit 99076ed6bf42f013ce0e8b396d3232be8c1695f3) Signed-off-by: Srikar Srimath Tirumala <srikars@nvidia.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pid_thermal_gov.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/include/linux/pid_thermal_gov.h b/include/linux/pid_thermal_gov.h
new file mode 100644
index 000000000..6cd17af54
--- /dev/null
+++ b/include/linux/pid_thermal_gov.h
@@ -0,0 +1,34 @@
1/*
2 * include/linux/pid_thermal_gov.h
3 *
4 * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 *
18 */
19
20#ifndef _PID_THERMAL_GOV_H
21#define _PID_THERMAL_GOV_H
22
23struct pid_thermal_gov_params {
24 int max_err_temp; /* max error temperature in mC */
25 int max_err_gain; /* max error gain */
26
27 int gain_p; /* proportional gain */
28 int gain_d; /* derivative gain */
29
30 unsigned long up_compensation;
31 unsigned long down_compensation;
32};
33
34#endif