lkml.org 
[lkml]   [2017]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V4 4/9] PM / QOS: Add DEV_PM_QOS_PERFORMANCE request
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

\
 
 \ /
  Last update: 2017-04-20 06:35    [W:0.194 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site