1
0
Fork 0

Merge pull request #679 from zacikpa/no_turbo_bool_fix

Parse no_turbo cpu plugin option using commands.get_bool
This commit is contained in:
Jaroslav Škarvada 2024-12-11 16:47:39 +01:00 committed by GitHub
commit c829fa5f41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -397,8 +397,8 @@ class CPULatencyPlugin(hotplug.Plugin):
instance.options["max_perf_pct"])
self._max_perf_pct_save = self._getset_intel_pstate_attr(
"max_perf_pct", new_value)
new_value = self._variables.expand(
instance.options["no_turbo"])
new_value = self._cmd.get_bool(self._variables.expand(
instance.options["no_turbo"]))
self._no_turbo_save = self._getset_intel_pstate_attr(
"no_turbo", new_value)