Skip to content

Commit

Permalink
msm: kgsl: Remove unused L2PC PM QoS feature
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Panchajanya1999 <[email protected]>
Signed-off-by: K A R T H I K <[email protected]>
(cherry picked from commit 56be96930e22b408bf17a12837bc651993981736)
  • Loading branch information
Demon000 authored and karthik558 committed Jun 12, 2021
1 parent a6f2f6b commit 92633ca
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/gpu/msm/adreno.c
Original file line number Diff line number Diff line change
Expand Up @@ -1013,11 +1013,6 @@ static int adreno_of_get_power(struct adreno_device *adreno_dev,
&device->pwrctrl.pm_qos_active_latency))
device->pwrctrl.pm_qos_active_latency = 1000;

/* get pm-qos-cpu-mask-latency, set it to default if not found */
if (of_property_read_u32(node, "qcom,l2pc-cpu-mask-latency",
&device->pwrctrl.pm_qos_cpu_mask_latency))
device->pwrctrl.pm_qos_cpu_mask_latency = 1000;

/* get pm-qos-wakeup-latency, set it to default if not found */
if (of_property_read_u32(node, "qcom,pm-qos-wakeup-latency",
&device->pwrctrl.pm_qos_wakeup_latency))
Expand Down

0 comments on commit 92633ca

Please sign in to comment.