summaryrefslogtreecommitdiff
path: root/drivers/gpu/msm
diff options
context:
space:
mode:
authorDivya Ponnusamy <pdivya@codeaurora.org>2016-02-11 12:58:46 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:20:29 -0700
commitaab7ab1e0992c7211d67802198b4762d4bf699f6 (patch)
tree034ae54c4b7079d268e266adb5e4a6044f93f2c5 /drivers/gpu/msm
parent54665292962ba63ba10de0a147d51bcce6887765 (diff)
msm: kgsl: Add disable-busy-time-burst to disable ceiling threshold
Add a devicetree property disable-busy-time-burst to disable ceiling threshold in the governor. The ceiling threshold cause busy time burst that switch power level for large frames based on busy time. Change-Id: I44f8a51e0aa49bb0b2210703f57874fd5f219c18 Signed-off-by: Divya Ponnusamy <pdivya@codeaurora.org>
Diffstat (limited to 'drivers/gpu/msm')
-rw-r--r--drivers/gpu/msm/kgsl_pwrscale.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/msm/kgsl_pwrscale.c b/drivers/gpu/msm/kgsl_pwrscale.c
index aa54a9c57c0c..5410c0c631d5 100644
--- a/drivers/gpu/msm/kgsl_pwrscale.c
+++ b/drivers/gpu/msm/kgsl_pwrscale.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2010-2016, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -822,6 +822,10 @@ int kgsl_pwrscale_init(struct device *dev, const char *governor)
/* initialize msm-adreno-tz governor specific data here */
data = gpu_profile->private_data;
+
+ data->disable_busy_time_burst = of_property_read_bool(
+ device->pdev->dev.of_node, "qcom,disable-busy-time-burst");
+
/*
* If there is a separate GX power rail, allow
* independent modification to its voltage through