diff options
author | Wookey <wookey@wookware.org> | 2017-08-09 23:45:52 +0100 |
---|---|---|
committer | Wookey <wookey@wookware.org> | 2017-08-09 23:45:52 +0100 |
commit | abc4b3e515457909578d7128a952132c455a4a18 (patch) | |
tree | 94fd7177dbe77c20fc26ad991e3905b33f8ca401 /mali-midgard-16.0/backend/gpu/mali_kbase_power_model_simple.h | |
parent | ef694ffc326badd19e79f499cae2847f65edf283 (diff) |
remove leftover mali_kbase_power_model_simple files (from previous release)
Diffstat (limited to 'mali-midgard-16.0/backend/gpu/mali_kbase_power_model_simple.h')
-rwxr-xr-x | mali-midgard-16.0/backend/gpu/mali_kbase_power_model_simple.h | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/mali-midgard-16.0/backend/gpu/mali_kbase_power_model_simple.h b/mali-midgard-16.0/backend/gpu/mali_kbase_power_model_simple.h deleted file mode 100755 index 9b5e69a..0000000 --- a/mali-midgard-16.0/backend/gpu/mali_kbase_power_model_simple.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * - * (C) COPYRIGHT 2014-2016 ARM Limited. All rights reserved. - * - * This program is free software and is provided to you under the terms of the - * GNU General Public License version 2 as published by the Free Software - * Foundation, and any use by you of this program is subject to the terms - * of such GNU licence. - * - * A copy of the licence is included with the program, and can also be obtained - * from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - * - */ - - - -#ifndef _BASE_POWER_MODEL_SIMPLE_H_ -#define _BASE_POWER_MODEL_SIMPLE_H_ - -/** - * kbase_power_model_simple_init - Initialise the simple power model - * @kbdev: Device pointer - * - * The simple power model estimates power based on current voltage, temperature, - * and coefficients read from device tree. It does not take utilization into - * account. - * - * The power model requires coefficients from the power_model node in device - * tree. The absence of this node will prevent the model from functioning, but - * should not prevent the rest of the driver from running. - * - * Return: 0 on success - * -ENOSYS if the power_model node is not present in device tree - * -EPROBE_DEFER if the thermal zone specified in device tree is not - * currently available - * Any other negative value on failure - */ -int kbase_power_model_simple_init(struct kbase_device *kbdev); - -#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 4, 0) -extern struct devfreq_cooling_ops power_model_simple_ops; -#else -extern struct devfreq_cooling_power power_model_simple_ops; -#endif - -#endif /* _BASE_POWER_MODEL_SIMPLE_H_ */ |