Re: devfreq relation with pm qos

From: noman pouigt
Date: Mon Jul 09 2018 - 17:34:59 EST


+ dev freq maintainters.

On Mon, Jul 9, 2018 at 3:37 AM, noman pouigt <variksla@xxxxxxxxx> wrote:
> folks,
>
> I am trying to figure out the relationship between PM QOS
> with devfreq framework. I see this thread[1] where MyungJoo
> talks about QOS and devfreq but that control is through
> sysfs but I don't see any relation of pm qos (kernel/power/qos.c)
> with devfreq directly as devfreq is not calling any of the QOS
> api's. Is this intended?
>
> Isn't QOS value update using pm_qos_update_request has a
> direct relation with devfreq drivers i.e. setting the value to
> high or low selects the corresponding voltage and frequency
> setting in devfreq framework? I went through the devfreq
> drivers and couldn't find that relationship. Is this by design or
> I am missing something very obvious?
>
> [1] https://lwn.net/Articles/484161/