[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190206045251.23p4imsqlropssxl@vireshk-i7>
Date: Wed, 6 Feb 2019 10:22:51 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Matthias Kaehlcke <mka@...omium.org>
Cc: "Rafael J . Wysocki" <rjw@...ysocki.net>,
Matthias Brugger <matthias.bgg@...il.com>,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org,
Quentin Perret <quentin.perret@....com>,
Taniya Das <tdas@...eaurora.org>, CK Hu <ck.hu@...iatek.com>,
Eddie Huang <eddie.huang@...iatek.com>,
Nicolas Boichat <drinkcat@...omium.org>,
Douglas Anderson <dianders@...omium.org>
Subject: Re: [PATCH 1/2] cpufreq: qcom-hw: Register an Energy Model
On 05-02-19, 09:52, Matthias Kaehlcke wrote:
> Try and register an Energy Model from qcom-cpufreq-hw to allow
> interested sub-systems like the task scheduler to use the provided
> information.
>
> Signed-off-by: Matthias Kaehlcke <mka@...omium.org>
> ---
> drivers/cpufreq/qcom-cpufreq-hw.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/cpufreq/qcom-cpufreq-hw.c b/drivers/cpufreq/qcom-cpufreq-hw.c
> index d83939a1b3d4c..a16b9dca7ea3b 100644
> --- a/drivers/cpufreq/qcom-cpufreq-hw.c
> +++ b/drivers/cpufreq/qcom-cpufreq-hw.c
> @@ -205,6 +205,8 @@ static int qcom_cpufreq_hw_cpu_init(struct cpufreq_policy *policy)
> goto error;
> }
>
> + dev_pm_opp_of_register_em(policy->cpus);
> +
> policy->fast_switch_possible = true;
>
> return 0;
Applied both. Thanks.
--
viresh
Powered by blists - more mailing lists