• Rafael J. Wysocki's avatar
    Merge branches 'pm-em' and 'powercap' · bf56b907
    Rafael J. Wysocki authored
    Merge Energy Model and power capping updates for 5.16-rc1:
    
     - Add support for inefficient operating performance points to the
       Energy Model and modify cpufreq to use them properly (Vincent
       Donnefort).
    
     - Rearrange the DTPM framework code to simplify it and make it easier
       to follow (Daniel Lezcano).
    
     - Fix power intialization in DTPM (Daniel Lezcano).
    
     - Add CPU load consideration when estimating the instaneous power
       consumption in DTPM (Daniel Lezcano).
    
    * pm-em:
      cpufreq: mediatek-hw: Fix cpufreq_table_find_index_dl() call
      PM: EM: Mark inefficiencies in CPUFreq
      cpufreq: Use CPUFREQ_RELATION_E in DVFS governors
      cpufreq: Introducing CPUFREQ_RELATION_E
      cpufreq: Add an interface to mark inefficient frequencies
      cpufreq: Make policy min/max hard requirements
      PM: EM: Allow skipping inefficient states
      PM: EM: Extend em_perf_domain with a flag field
      PM: EM: Mark inefficient states
      PM: EM: Fix inefficient states detection
    
    * powercap:
      powercap/drivers/dtpm: Fix power limit initialization
      powercap/drivers/dtpm: Scale the power with the load
      powercap/drivers/dtpm: Use container_of instead of a private data field
      powercap/drivers/dtpm: Simplify the dtpm table
      powercap/drivers/dtpm: Encapsulate even more the code
    bf56b907
cpufreq.h 35.6 KB