diff options
author | Hyungwoo Yang <hyungwooy@nvidia.com> | 2013-05-03 12:04:38 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:14:24 -0700 |
commit | 6155de447e9c107d2fd99b701ba363ef37fe3033 (patch) | |
tree | 4f5c61bb1854b2b0a99ed5159dca0e158687f072 /include/linux/pid_thermal_gov.h | |
parent | c1ea77a21648361f5024da58bb579bf7aa5a30db (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: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Diffstat (limited to 'include/linux/pid_thermal_gov.h')
-rw-r--r-- | include/linux/pid_thermal_gov.h | 34 |
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 000000000000..6cd17af54945 --- /dev/null +++ b/include/linux/pid_thermal_gov.h @@ -0,0 +1,34 @@ +/* + * include/linux/pid_thermal_gov.h + * + * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + +#ifndef _PID_THERMAL_GOV_H +#define _PID_THERMAL_GOV_H + +struct pid_thermal_gov_params { + int max_err_temp; /* max error temperature in mC */ + int max_err_gain; /* max error gain */ + + int gain_p; /* proportional gain */ + int gain_d; /* derivative gain */ + + unsigned long up_compensation; + unsigned long down_compensation; +}; + +#endif |