Mario Limonciello
61f7650e35
Allow both CPU and platform drivers to be simultaneously active
...
This is done by designating all drivers as CPU drivers or platform drivers.
One of each driver can be active at any given time.
When setting an active profile CPU driver is set first as this is less likely to have
failures. If failures occur setting the platform driver then the CPU driver is undone.
If both profiles are degraded then the string for the reason from both drivers will be
comma separated to be compatible with existing API and users.
This is leveraged from https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/merge_requests/123
Fixes: https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/issues/107
Fixes: https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/issues/125
Fixes: https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/issues/124
Fixes: https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/issues/122
Fixes: https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/issues/129
Fixes: https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/issues/131
2024-01-15 06:17:42 +00:00
Mario Limonciello
e1813f29a9
docs: Remove references to files that don't exist
2024-01-15 06:17:42 +00:00
Prajna Sariputra
db60051aea
main: Add amd_pstate-based driver
...
The AMD P-states driver has added support for active mode in kernel 6.3,
which exposes a similar interface for controlling energy performance
preference as the Intel P-state driver, with the same presets present,
so make use of it.
See:
https://www.kernel.org/doc/html/v6.3/admin-guide/pm/amd-pstate.html
Closes : #108
2023-04-26 14:23:18 +02:00
Bastien Nocera
9ff59f0d1e
placeholder: Ignore placeholder driver in the docs
...
Fixes a gtk-doc warning.
2021-07-05 10:59:56 +02:00
Bastien Nocera
334e64ea64
main: Add PpdProfileActivationReason enum
2021-03-19 14:22:16 +01:00
Bastien Nocera
86d087fb30
main: Namespace ProbeResult
...
And add PpdProbeResult to the API documentation.
2021-03-15 14:00:53 +01:00
Bastien Nocera
ec1188d347
lenovo-dytc: Rename to platform-profile
...
As the only Lenovo DYTC specific interface is now optional, rename the
driver.
2021-02-08 16:01:18 +01:00
Bastien Nocera
8b6e766e94
docs: Don't document the internal Intel P-State driver
2020-09-04 16:19:53 +02:00
Bastien Nocera
72b5c548ea
docs: Build internal API documentation
2020-09-04 15:57:12 +02:00
Bastien Nocera
2be3f651cd
docs: Fix copyright year
2020-07-24 11:23:44 +02:00
Bastien Nocera
4ea7c96949
power-profiles-daemon
2020-07-10 17:29:23 +02:00