summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDeepak Kumar <dkumar@codeaurora.org>2016-02-01 19:48:46 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-25 16:04:07 -0700
commite22d001089f69c82f26a015a7f63b2330e6a4298 (patch)
tree1e0b0eff98c193dd3ed4104a69517319a78f6aa8 /include/linux
parentf50a4a1dc7a0196eb94bfaa18abb95dd387fee1e (diff)
adreno_tz: Use context aware dcvs calls, if available
Add support to use context aware dcvs, if it is supported by TZ. Context aware dcvs helps in handling sudden workload scenarios. Change-Id: I5e6e6003a5c61eacb4f5af91910994919a5a7684 Signed-off-by: Deepak Kumar <dkumar@codeaurora.org> Signed-off-by: Divya Ponnusamy <pdivya@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/msm_adreno_devfreq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/msm_adreno_devfreq.h b/include/linux/msm_adreno_devfreq.h
index 31f86056b943..2d1a585e9945 100644
--- a/include/linux/msm_adreno_devfreq.h
+++ b/include/linux/msm_adreno_devfreq.h
@@ -28,6 +28,8 @@ struct devfreq_msm_adreno_tz_data {
struct {
s64 total_time;
s64 busy_time;
+ u32 ctxt_aware_target_pwrlevel;
+ u32 ctxt_aware_busy_penalty;
} bin;
struct {
u64 total_time;
@@ -47,6 +49,7 @@ struct devfreq_msm_adreno_tz_data {
unsigned int device_id;
bool is_64;
bool disable_busy_time_burst;
+ bool ctxt_aware_enable;
};
struct msm_adreno_extended_profile {