Skip to content

Commit f240d46

Browse files
committed
msm: kgsl_pwrctrl: Kill gpu thermal throttling
Signed-off-by: Yahya Wessam <yahyawessam2002@gmail.com>
1 parent 2ee3c46 commit f240d46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpu/msm/kgsl_pwrctrl.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ static ssize_t kgsl_pwrctrl_thermal_pwrlevel_store(struct device *dev,
576576
struct device_attribute *attr,
577577
const char *buf, size_t count)
578578
{
579+
#if 0
579580
struct kgsl_device *device = kgsl_device_from_dev(dev);
580581
struct kgsl_pwrctrl *pwr;
581582
int ret;
@@ -601,7 +602,7 @@ static ssize_t kgsl_pwrctrl_thermal_pwrlevel_store(struct device *dev,
601602
/* Update the current level using the new limit */
602603
kgsl_pwrctrl_pwrlevel_change(device, pwr->active_pwrlevel);
603604
mutex_unlock(&device->mutex);
604-
605+
#endif
605606
return count;
606607
}
607608

0 commit comments

Comments
 (0)