summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSrikar Srimath Tirumala <srikars@nvidia.com>2018-05-21 16:33:15 -0400
committerBo Yan <byan@nvidia.com>2018-05-21 16:45:42 -0400
commitbfb3a325e89b051445b69cb8ebdb337db32e216b (patch)
treedec489ce000fe7c0a6bbbeb882f584f258ec4a4f /include/linux
parent218e0f3117899f487245f907cab3bde7e3f01ae5 (diff)
Revert "Merge remote-tracking branch 'origin/dev/therm-pid-gov-to-nvidia' into HEAD"
This reverts commit da041207582b5f3973a508207e6ba84a52f8de29. Change-Id: I7d67ab834811888ac9d9fc0ed1214e130232c3c9 Signed-off-by: Srikar Srimath Tirumala <srikars@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1726432 Reviewed-by: Bo Yan <byan@nvidia.com> Tested-by: Bo Yan <byan@nvidia.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pid_thermal_gov.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/include/linux/pid_thermal_gov.h b/include/linux/pid_thermal_gov.h
deleted file mode 100644
index c64ec3fe3..000000000
--- a/include/linux/pid_thermal_gov.h
+++ /dev/null
@@ -1,37 +0,0 @@
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 /* max derivative output, percentage of max error */
31 unsigned long max_dout;
32
33 unsigned long up_compensation;
34 unsigned long down_compensation;
35};
36
37#endif