Loading Documentation/devicetree/bindings/gpu/adreno.txt +3 −0 Original line number Diff line number Diff line Loading @@ -93,6 +93,9 @@ Optional Properties: This is used to override faulty hardware readings. - qcom,strtstp-sleepwake: Boolean. Enables use of GPU SLUMBER instead of SLEEP for power savings - qcom,gx-retention: Boolean. Enables use of GX rail RETENTION voltage - qcom,disable-busy-time-burst: Boolean. Disables the busy time burst to avoid switching of power level for large frames based on the busy time limit. - qcom,pm-qos-active-latency: Right after GPU wakes up from sleep, driver votes for Loading drivers/devfreq/governor_msm_adreno_tz.c +2 −1 Original line number Diff line number Diff line Loading @@ -311,7 +311,8 @@ static int tz_get_target_freq(struct devfreq *devfreq, unsigned long *freq, * If there is an extended block of busy processing, * increase frequency. Otherwise run the normal algorithm. */ if (priv->bin.busy_time > CEILING) { if (!priv->disable_busy_time_burst && priv->bin.busy_time > CEILING) { val = -1 * level; } else { Loading drivers/gpu/msm/kgsl_pwrscale.c +5 −1 Original line number Diff line number Diff line /* 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 Loading Loading @@ -786,6 +786,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 Loading include/linux/msm_adreno_devfreq.h +1 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,7 @@ struct devfreq_msm_adreno_tz_data { } bus; unsigned int device_id; bool is_64; bool disable_busy_time_burst; }; struct msm_adreno_extended_profile { Loading Loading
Documentation/devicetree/bindings/gpu/adreno.txt +3 −0 Original line number Diff line number Diff line Loading @@ -93,6 +93,9 @@ Optional Properties: This is used to override faulty hardware readings. - qcom,strtstp-sleepwake: Boolean. Enables use of GPU SLUMBER instead of SLEEP for power savings - qcom,gx-retention: Boolean. Enables use of GX rail RETENTION voltage - qcom,disable-busy-time-burst: Boolean. Disables the busy time burst to avoid switching of power level for large frames based on the busy time limit. - qcom,pm-qos-active-latency: Right after GPU wakes up from sleep, driver votes for Loading
drivers/devfreq/governor_msm_adreno_tz.c +2 −1 Original line number Diff line number Diff line Loading @@ -311,7 +311,8 @@ static int tz_get_target_freq(struct devfreq *devfreq, unsigned long *freq, * If there is an extended block of busy processing, * increase frequency. Otherwise run the normal algorithm. */ if (priv->bin.busy_time > CEILING) { if (!priv->disable_busy_time_burst && priv->bin.busy_time > CEILING) { val = -1 * level; } else { Loading
drivers/gpu/msm/kgsl_pwrscale.c +5 −1 Original line number Diff line number Diff line /* 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 Loading Loading @@ -786,6 +786,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 Loading
include/linux/msm_adreno_devfreq.h +1 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,7 @@ struct devfreq_msm_adreno_tz_data { } bus; unsigned int device_id; bool is_64; bool disable_busy_time_burst; }; struct msm_adreno_extended_profile { Loading