#include <linux/cpu_cooling.h>
#include <linux/suspend.h>
#include <linux/ems.h>
+#include <linux/ems_service.h>
#include <soc/samsung/cal-if.h>
#include <soc/samsung/ect_parser.h>
/* Clear all constraint by cpufreq_min_limit */
if (input < 0) {
pm_qos_update_request(&domain->user_min_qos_req, 0);
+ request_kernel_prefer_perf(STUNE_TOPAPP, 0);
continue;
}
freq = min(freq, domain->max_freq);
pm_qos_update_request(&domain->user_min_qos_req, freq);
+ request_kernel_prefer_perf(STUNE_TOPAPP, domain->user_boost);
+
set_max = true;
}
if (!of_property_read_u32(dn, "user-default-qos", &val))
domain->user_default_qos = val;
+ if (!of_property_read_u32(dn, "user-boost", &val))
+ domain->user_boost = val;
+
if (of_property_read_bool(dn, "need-awake"))
domain->need_awake = true;