Loading Documentation/devicetree/bindings/gpu/adreno.txt +7 −0 Original line number Diff line number Diff line Loading @@ -79,6 +79,13 @@ 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,pm-qos-latency: Every time GPU wakes up from sleep, driver votes for acceptable maximum latency to the pm-qos driver. This voting demands that *CPU* can not go into a power save state *if* the latency to bring CPU back into normal state is more than this value. Value is in microseconds. The following properties are optional as collecting data via coresight might not be supported for every chipset. The documentation for coresight properties can be found in: Loading drivers/gpu/msm/adreno.c +2 −2 Original line number Diff line number Diff line Loading @@ -1493,8 +1493,8 @@ static int adreno_of_get_pdata(struct platform_device *pdev) if (ret) goto err; /* get pm_qos from target, set it to default if not found */ if (adreno_of_read_property(pdev->dev.of_node, "qcom,pm_qos_latency", /* get pm-qos-latency from target, set it to default if not found */ if (adreno_of_read_property(pdev->dev.of_node, "qcom,pm-qos-latency", &pdata->pm_qos_latency)) pdata->pm_qos_latency = 501; Loading Loading
Documentation/devicetree/bindings/gpu/adreno.txt +7 −0 Original line number Diff line number Diff line Loading @@ -79,6 +79,13 @@ 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,pm-qos-latency: Every time GPU wakes up from sleep, driver votes for acceptable maximum latency to the pm-qos driver. This voting demands that *CPU* can not go into a power save state *if* the latency to bring CPU back into normal state is more than this value. Value is in microseconds. The following properties are optional as collecting data via coresight might not be supported for every chipset. The documentation for coresight properties can be found in: Loading
drivers/gpu/msm/adreno.c +2 −2 Original line number Diff line number Diff line Loading @@ -1493,8 +1493,8 @@ static int adreno_of_get_pdata(struct platform_device *pdev) if (ret) goto err; /* get pm_qos from target, set it to default if not found */ if (adreno_of_read_property(pdev->dev.of_node, "qcom,pm_qos_latency", /* get pm-qos-latency from target, set it to default if not found */ if (adreno_of_read_property(pdev->dev.of_node, "qcom,pm-qos-latency", &pdata->pm_qos_latency)) pdata->pm_qos_latency = 501; Loading