Skip to content

Commit 92633ca

Browse files
Demon000karthik558
authored andcommitted
msm: kgsl: Remove unused L2PC PM QoS feature
KGSL already has PM QoS covering what matters. The L2PC PM QoS code is not only unneeded, but also unused, so remove it. It's poorly designed anyway since it uses a timeout with PM QoS, which is drastically bad for power consumption. Change-Id: I5d10e07bab90bbd916b65022c66e1b3a7b20a42f [@0ctobot: Remove unused variable 'cpu' (4903:6)] Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com> Signed-off-by: Panchajanya1999 <panchajanya@azure-dev.live> Signed-off-by: K A R T H I K <karthik.lal558@gmail.com> (cherry picked from commit 56be96930e22b408bf17a12837bc651993981736)
1 parent a6f2f6b commit 92633ca

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/gpu/msm/adreno.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,11 +1013,6 @@ static int adreno_of_get_power(struct adreno_device *adreno_dev,
10131013
&device->pwrctrl.pm_qos_active_latency))
10141014
device->pwrctrl.pm_qos_active_latency = 1000;
10151015

1016-
/* get pm-qos-cpu-mask-latency, set it to default if not found */
1017-
if (of_property_read_u32(node, "qcom,l2pc-cpu-mask-latency",
1018-
&device->pwrctrl.pm_qos_cpu_mask_latency))
1019-
device->pwrctrl.pm_qos_cpu_mask_latency = 1000;
1020-
10211016
/* get pm-qos-wakeup-latency, set it to default if not found */
10221017
if (of_property_read_u32(node, "qcom,pm-qos-wakeup-latency",
10231018
&device->pwrctrl.pm_qos_wakeup_latency))

0 commit comments

Comments
 (0)