- Jan 07, 2025
-
-
Rogerio Alves authored
The too-many-positional-arguments warning introduced in commit 4a367430 caused a regression in pylint-integration-tests for versions of pylint < 3.3.0, as these versions do not support the too-many-positional-arguments check. Added disable=unknown-option-value to the pylint disable line for compatibility with pylint < 3.3.0, avoiding test failures. Kept disable=too-many-positional-arguments for pylint >= 3.3.0, since the function exceeds the maximum allowed positional arguments (R0917) and may cause lint errors. Fixes: #174
-
- Jan 02, 2025
-
-
Mario Limonciello authored
-
Mario Limonciello authored
-
- Dec 28, 2024
-
-
- Dec 26, 2024
-
-
Rather than checking for active mode at startup and then never checking it again check the mode when trying to write a value. If it's not active, log something to the journal. This is intentionally not failing because users could still have an ACPI platform-profile change occur. Fixes: #168
-
Mario Limonciello authored
-
Mario Limonciello authored
-
Mario Limonciello authored
-
Mario Limonciello authored
-
- Oct 07, 2024
-
-
Natalie Clarius authored
-
- Sep 29, 2024
-
-
Marcos Mello authored
From systemd.unit(5): Note that for drop-in files, if one wants to remove entries from a setting that is parsed as a list (and is not a dependency), such as AssertPathExists= (or e.g. ExecStart= in service units), one needs to first clear the list before re-adding all entries except the one that is to be removed. Dependencies (After=, etc.) cannot be reset to an empty list, so dependencies can only be added in drop-ins. If you want to remove dependencies, you have to override the entire unit. https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html
-
- Sep 10, 2024
-
-
Mario Limonciello authored
PPD doesn't force the SoC to active mode or to load. As the policy of whether amd-pstate is loaded is controlled by the kernel having another policy whether power-profiles-daemon isn't necessary.
-
- Sep 09, 2024
-
-
Signed-off-by:
Mario Limonciello <mario.limonciello@amd.com>
-
- Sep 08, 2024
-
-
Olaf Flebbe authored
-
- Sep 05, 2024
-
-
Mario Limonciello authored
-
- Sep 03, 2024
-
-
Marco Trevisan authored
-
https://freedesktop.pages.freedesktop.org/ci-templates/templates.html This will mean that we have a custom image for power-profiles-daemon CI and don't have any network issues to contend with. Co-Authored-By:
Marco Trevisan (Treviño) <mail@3v1n0.net>
-
Marco Trevisan authored
Just change the percentage, being the only thing we care about. It also fixes a race in my setup on this test
-
Marco Trevisan authored
Do only monitor the battery percentage changes if an action or a driver needs it
-
Marco Trevisan authored
We don't need to do it for each proxy since they're all monitoring the same owner. So basically make the first proxy to be setup to win, not connecting to the signal if the other is already set
-
- Sep 02, 2024
-
-
This should fix a possible stack trace of an unset error variable.
-
Due a firmware bug on some OEM systems the amd-pstate kernel driver starts up in active mode but EPP writes don't work. Admittedly this is a kernel bug that it still advertises support and it could be handled better by the kernel, but PPD can also validate writes with a no-op for each CPU at bootup. Do this to ensure that the CPU driver is only setup if we know it works.
-
Mario Limonciello authored
Fixes: #162
-
- Aug 30, 2024
-
-
-
When in power-saver set DPM clocks explicitly down to "low". Fixes: #158
-
-
This will allow more actions to use a CPU check
-
Marco Trevisan authored
-
- Aug 04, 2024
-
-
Mario Limonciello authored
It's not critical for the boot process in any way, and this should help with any race conditions form kernel modules still setting up anything related devices after the initial device uevent.
-
- Jul 30, 2024
-
-
Mario Limonciello authored
-
Mario Limonciello authored
Storing this information will be required to later support potentially hotplugging drivers and features.
-
Mario Limonciello authored
More users use power saver as their default value than expected, and so ABM is a more negative experience for some of them. Instead of a table of values, use "progressive" values that change based on battery life. The selected values: * Balanced + AC: ABM 0 * Balanced + battery: >= 30% battery ABM 0 < 30% battery ABM 1 * Power Saver + AC: ABM 0 * Power Saver + battery: >= 50% battery ABM 0 30-49% battery ABM 1 20-30% battery ABM 2 <20% battery ABM 3
-
Mario Limonciello authored
This will allow actions and drivers to react to battery level changes.
-
Mario Limonciello authored
This will help prevent some of the archive inconsistencies seen in rawhide causing CI failures. https://discussion.fedoraproject.org/t/psa-rawhide-what-to-do-if-switch-to-dnf5-fails-because-dnf-is-protected/84650/6
-
- Jul 03, 2024
-
-
Mario Limonciello authored
Although the system will save more power at lower frequency, AMD SoCs have a point when they can operate most efficiently called the lowest non-linear frequency. Program the minimum frequency to this value in balanced and performance modes to improve responsiveness. Signed-off-by:
Mario Limonciello <mario.limonciello@amd.com>
-
- Jun 21, 2024
-
-
Apply core performance boost in balanced and performance and disable it when in power saver.
-
- Apr 17, 2024
-
-
Mario Limonciello authored
-
Mario Limonciello authored
-
Kate Hsuan authored
Skip python3-shtab for some system that dosen't provide shtab package.
-