3 * @file arm_core_scaling.h
4 * Example core scaling policy.
7 #ifndef __ARM_CORE_SCALING_H__
8 #define __ARM_CORE_SCALING_H__
10 struct mali_gpu_utilization_data
;
13 * Initialize core scaling policy.
15 * @note The core scaling policy will assume that all PP cores are on initially.
17 * @param num_pp_cores Total number of PP cores.
19 void mali_core_scaling_init(int num_pp_cores
);
22 * Terminate core scaling policy.
24 void mali_core_scaling_term(void);
27 * Update core scaling policy with new utilization data.
29 * @param data Utilization data.
31 void mali_core_scaling_update(struct mali_gpu_utilization_data
*data
);
33 void mali_core_scaling_sync(int num_cores
);
35 #endif /* __ARM_CORE_SCALING_H__ */