Changeset 41eefd36


Ignore:
Timestamp:
02/27/2024 08:06:52 PM (3 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, ken/TL2024, lazarus, trunk, xry111/llvm18
Children:
d1a69e6
Parents:
730f162b
git-author:
Xi Ruoyao <xry111@…> (02/27/2024 08:04:11 PM)
git-committer:
Xi Ruoyao <xry111@…> (02/27/2024 08:06:52 PM)
Message:

kernel-config: power-profiles-daemon: Adjust

Remove "AMD P-State Self Test" as it's only for debugging. Adjust some
forced settings as X86_INTEL_PSTATE may be unset if SCHED_MC unset.
Mention X86 Platform Specific Device Drivers may provide platform
profile support (actually more powerful than CPUFreq).

Also fix a glitch in kernel-config.py so it won't mark "'" as hotkey
anymore.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/power-profiles-daemon-kernel.xml

    r730f162b r41eefd36  
    77  <emphasis role='blue'>C</emphasis>PU Frequency scaling ---&gt;
    88    -*-   <emphasis role='blue'>C</emphasis>PU Frequency scaling                                       [CPU_FREQ]
    9     &lt;*&gt;     <emphasis role='blue'>'</emphasis>performance' governor                    [CPU_FREQ_GOV_PERFORMANCE]
    10     &lt;*&gt;     <emphasis role='blue'>'</emphasis>powersave' governor                        [CPU_FREQ_GOV_POWERSAVE]
    11     -*-     <emphasis role='blue'>I</emphasis>ntel P state control                             [X86_INTEL_PSTATE]
    12     [*]     <emphasis role='blue'>A</emphasis>MD Processor P-State driver                        [X86_AMD_PSTATE]
    13     &lt;*/M&gt;   <emphasis role='blue'>s</emphasis>elftest for AMD Processor P-State driver        [X86_AMD_PSTATE_UT]</screen>
     9    -*-     '<emphasis role='blue'>p</emphasis>erformance' governor                    [CPU_FREQ_GOV_PERFORMANCE]
     10    &lt;*/M&gt;   '<emphasis role='blue'>p</emphasis>owersave' governor                        [CPU_FREQ_GOV_POWERSAVE]
     11    # Select if CPU is Intel:
     12    [ /*]   <emphasis role='blue'>I</emphasis>ntel P state control                             [X86_INTEL_PSTATE]
     13    # Select if CPU is AMD:
     14    [ /*]   <emphasis role='blue'>A</emphasis>MD Processor P-State driver                        [X86_AMD_PSTATE]
     15
     16<emphasis role='blue'>D</emphasis>evice Drivers ---&gt;
     17  # Some drivers under this submenu provide "platform profile" support
     18  # and power-profiles-daemon can take advantage from platform profiles;
     19  # select a driver if suitable for your platform:
     20  [ /*] <emphasis role='blue'>X</emphasis>86 Platform Specific Device Drivers ---&gt;         [X86_PLATFORM_DEVICES]</screen>
  • kernel-config/general/sysutils/power-profiles-daemon.toml

    r730f162b r41eefd36  
    1 # To have cpu support you need to have this
     1# Selected by CPU_SUP_INTEL, which is always y when !CONFIG_EXPERT
    22CPU_FREQ = { value = '*', forced = true }
    3 CPU_FREQ_GOV_PERFORMANCE = '*'
    4 CPU_FREQ_GOV_POWERSAVE = '*'
    5 # For some reason if you select any sort of frequency scaling, intel pstate is forced on
    6 X86_INTEL_PSTATE = { value = '*', forced = true }
    7 X86_AMD_PSTATE = '*'
    8 X86_AMD_PSTATE_UT = '*M'
     3# If one of X86_INTEL_PSTATE and X86_AMD_PSTATE is selected, it's forced
     4# to '*'.  Let's not consider VIA, Transmeta, etc. for now...
     5CPU_FREQ_GOV_PERFORMANCE = { value = '*', forced = '*' }
     6CPU_FREQ_GOV_POWERSAVE = '*M'
     7# Not really forced: if you unset SCHED_MC you may unset this as well
     8X86_INTEL_PSTATE = { value = ' *', comment = 'Select if CPU is Intel' }
     9X86_AMD_PSTATE = { value = ' *', comment = 'Select if CPU is AMD' }
     10
     11[X86_PLATFORM_DEVICES]
     12value = ' *'
     13comment = [
     14        'Some drivers under this submenu provide "platform profile" support',
     15        'and power-profiles-daemon can take advantage from platform profiles;',
     16        'select a driver if suitable for your platform',
     17]
  • kernel-config/kernel-config.py

    r730f162b r41eefd36  
    267267    b = title
    268268    if not is_choice:
    269         b = b.lstrip('YyMmNnHh.' + "".join(map(str, range(10))))
     269        while not (b[0].isalpha() and b[0] not in 'YyMmNnHh'):
     270            b = b[1:]
    270271    a = title[:len(title) - len(b)]
    271272    b0 = "<emphasis role='blue'>" + escape(b[0]) + "</emphasis>"
  • kernel-config/kernel.version

    r730f162b r41eefd36  
    1 6.7.3
     16.7.4
Note: See TracChangeset for help on using the changeset viewer.