nuttx/drivers/devfreq
guanyi3 31041f84ea drivers/devfreq: fix qos_get_value returning wrong min/max aggregation
QOS_REQ_MIN should return the highest value among all min requests
(most restrictive lower bound), but plist_first returns the lowest.
QOS_REQ_MAX should return the lowest value among all max requests
(most restrictive upper bound), but plist_last returns the highest.

This caused qos constraints to be ineffective. For example, two
requests (32, 208000) and (104000, 104000) would merge to (32, 208000)
instead of the correct (104000, 104000).

Fix by using plist_last for QOS_REQ_MIN and plist_first for QOS_REQ_MAX.

Signed-off-by: guanyi3 <guanyi3@xiaomi.com>
2026-08-08 15:23:54 -03:00
..
CMakeLists.txt driver/devfreq: add procfs for devfreq 2026-08-08 15:23:54 -03:00
devfreq.c drivers/devfreq: use hardware frequency instead of cached value in driver_target 2026-08-08 15:23:54 -03:00
devfreq_ondemand.c drivers/devfreq: use hardware frequency instead of cached value in driver_target 2026-08-08 15:23:54 -03:00
devfreq_performance.c drivers/devfreq: remove default governor 2026-08-08 15:23:54 -03:00
devfreq_powersave.c drivers/devfreq: remove default governor 2026-08-08 15:23:54 -03:00
devfreq_procfs.c drivers/devfreq: use hardware frequency instead of cached value in driver_target 2026-08-08 15:23:54 -03:00
devfreq_qos.c drivers/devfreq: fix qos_get_value returning wrong min/max aggregation 2026-08-08 15:23:54 -03:00
Kconfig drivers/devfreq: remove default governor 2026-08-08 15:23:54 -03:00
Make.defs driver/devfreq: add procfs for devfreq 2026-08-08 15:23:54 -03:00