Re: [PATCH V3 3/3] cpufreq: Specify default governor on command line
From: Quentin Perret
Date: Mon Jun 29 2020 - 16:47:02 EST
On Monday 29 Jun 2020 at 07:38:43 (+0530), Viresh Kumar wrote:
> On 26-06-20, 16:57, Quentin Perret wrote:
> > Do we need both cpufreq_param_governor and default_governor?
> > Could we move everything to only one of them? Something a little bit
> > like that maybe?
>
> No because we want to fallback to the default governor when the
> governor shown by the cpufreq_param_governor is valid but missing.
But that would still work with my suggestion no? You still fallback to
calling cpufreq_default_governor() in cpufreq_init_policy() if
get_governor(default_governor) doesn't succeed, so we should be covered.
Thanks,
Quentin