Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1626974
| From | Viresh Kumar <viresh.kumar@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V4 4/9] PM / QOS: Add DEV_PM_QOS_PERFORMANCE request |
| Date | 2017-04-20 06:40 +0200 |
| Message-ID | <tyc2R-4jU-3@gated-at.bofh.it> (permalink) |
| References | <tn1Xc-2Jd-29@gated-at.bofh.it> <tn4V3-4Nu-21@gated-at.bofh.it> <txYsW-4oW-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 19-04-17, 16:07, Ulf Hansson wrote:
> On 20 March 2017 at 10:32, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> > @@ -571,6 +589,9 @@ static void __dev_pm_qos_drop_user_request(struct device *dev,
> > req = dev->power.qos->flags_req;
> > dev->power.qos->flags_req = NULL;
> > break;
> > + case DEV_PM_QOS_PERFORMANCE:
> > + dev_err(dev, "Invalid user request (performance)\n");
> > + return;
>
> Isn't it possible to drop a performance request?
I am not exposing the performance QOS via sysfs. Should we ? I thought
this has to be worked out within kernel only and so haven't provided
any user interface.
> > @@ -96,9 +98,11 @@ struct pm_qos_flags {
> > struct dev_pm_qos {
> > struct pm_qos_constraints resume_latency;
> > struct pm_qos_constraints latency_tolerance;
> > + struct pm_qos_constraints performance;
> > struct pm_qos_flags flags;
> > struct dev_pm_qos_request *resume_latency_req;
> > struct dev_pm_qos_request *latency_tolerance_req;
> > + struct dev_pm_qos_request *performance_req;
>
> I didn't find performance_req being used at all...
I just over-copied it seems. The OPP framework creates its own request
structure and so this should be dropped.
--
viresh
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH V4 4/9] PM / QOS: Add DEV_PM_QOS_PERFORMANCE request Ulf Hansson <ulf.hansson@linaro.org> - 2017-04-19 16:10 +0200 Re: [PATCH V4 4/9] PM / QOS: Add DEV_PM_QOS_PERFORMANCE request Viresh Kumar <viresh.kumar@linaro.org> - 2017-04-20 06:40 +0200
csiph-web