CVSROOT:        /cvs
Module name:    src
Changes by:     to...@cvs.openbsd.org   2025/05/21 21:04:01

Modified files:
        sys/dev/fdt    : scmi.c 

Log message:
Add PERFORMANCE_LEVEL_SET logic and initialize all domains to the same
level.

On Snapdragon X Elite there are 3 performance domains spanning 4 CPUs
each, where each can go from level 0 (719 Mhz) to 12 (3418 Mhz).
By default domain 0 boots into level 10, domains 1 and 2 boot into
level 12. Since the kernel only understands a single global performance
value we keep them in sync by initializing them all to 12 for now.

While there, also move PERFORMANCE_LEVEL_GET to a separate function
and clean up a bit.

ok patrick@

Reply via email to