Message ID | 20241219091109.10050-1-xuewen.yan@unisoc.com |
---|---|
State | New |
Headers | show |
Series | power: energy_model: Rework the depends on for CONFIG_ENERGY_MODEL | expand |
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index afce8130d8b9..c532aee09e12 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -361,8 +361,7 @@ config CPU_PM config ENERGY_MODEL bool "Energy Model for devices with DVFS (CPUs, GPUs, etc)" - depends on SMP - depends on CPU_FREQ + depends on CPU_FREQ || PM_DEVFREQ help Several subsystems (thermal and/or the task scheduler for example) can leverage information about the energy consumed by devices to