Commit graph

84 commits

Author SHA1 Message Date
Vicki Pfau
84a44a879f manager: Expand AmbientLightSensor1 to allow for querying systems with multiple sensors 2024-08-20 20:12:08 -07:00
Vicki Pfau
77975d9308 platform: Bring up platform configurations with script replacement, Steam Deck only for now 2024-08-14 18:48:34 -07:00
Vicki Pfau
f2cf6d87fe manager/user: Make GPU interfaces optional 2024-08-13 20:16:14 -07:00
Vicki Pfau
0b3a8138e1 manager/user: Hide AmbientLightSensor1 if running not on a Deck 2024-08-12 20:19:04 -07:00
Vicki Pfau
a41264635b Run cargo fmt 2024-08-08 21:07:58 -07:00
Vicki Pfau
08bea0d89f manager/user: Remove redundant conversions from zbus::Error to itself 2024-08-08 20:36:56 -07:00
Vicki Pfau
ad16c615e9 manager/user: Fix GpuPerformanceLevel1.ManualGpuClock setter 2024-08-08 20:24:17 -07:00
Vicki Pfau
5e828efdfa manager/user: Move relevant methods to GpuTdpLimit1, update as specified 2024-08-06 19:15:40 -07:00
Vicki Pfau
576135cd7a manager/user: Move relevant methods to WifiDebug1, update as specified 2024-08-06 19:15:40 -07:00
Vicki Pfau
4f3a5547d6 manager/user: Move relevant methods to GpuPerformanceLevel1, update as specified 2024-08-06 19:15:40 -07:00
Vicki Pfau
fc25da30af manager/user: Move relevant methods to GpuPowerProfile1, update as specified 2024-08-06 19:15:40 -07:00
Vicki Pfau
41382c7158 manager/user: Move relevant methods to Manager2, update as specified 2024-08-06 19:15:40 -07:00
Vicki Pfau
a661df64a1 manager/user: Move trivial changes to new interfaces 2024-08-06 19:15:40 -07:00
Vicki Pfau
c75ac60c9d manager/user: Move interface setup to manager module 2024-08-06 19:15:40 -07:00
Vicki Pfau
5ddb709f0b testing: Refactor interface comparison code out for future use 2024-08-06 19:15:40 -07:00
Vicki Pfau
fb58cd8772 Run cargo fmt 2024-08-02 18:12:25 -07:00
Vicki Pfau
cf9253a709 power: Query GPU clock range from pp_dpm_sclk 2024-08-02 17:22:21 -07:00
Vicki Pfau
453a51239f xml: Move deprecated XML file out of the way 2024-07-31 19:44:10 -07:00
Vicki Pfau
90b382cf7e job: Add service to listen for jobs starting 2024-07-25 21:29:14 -07:00
Vicki Pfau
3c56afe921 job: Add method to mirror jobs from an already-running daemon 2024-07-25 21:29:14 -07:00
Vicki Pfau
0626012748 manager/user: Create mirrored jobs for methods that create jobs on the root manager 2024-07-25 21:29:14 -07:00
Vicki Pfau
6e925e91d9 testing: Add subprocess dbus session interface for test isolation 2024-07-23 20:20:24 -07:00
Vicki Pfau
450541b2bd Import a few more zbus things to reduce namespace line length 2024-07-16 19:16:20 -07:00
Vicki Pfau
af3cb08778 manager: Fix tests hanging (fixes #2)
I'm not 100% sure why this works, but I expect it has to do with messages being sent to D-Bus before the initial handshake is done.
2024-07-15 18:38:13 -07:00
Vicki Pfau
a6f3b37897 manager: Clean up dbus session at end of tests 2024-07-10 18:14:32 -07:00
Jeremy Whiting
93e153079d Rework the CPUGovernors enum a bit.
Change to CPUScalingGovernors and use strum
crate to remove some cruft.
2024-06-28 08:59:11 -06:00
Jeremy Whiting
7f9d25074e Add CPU Scheduler Governors.
Add a new enumeration for cpu scheduler governors.
Adds a property to get the available governors as a map of
value to strings similar to how we expose GPU Power Profiles.
Adds another property to get and set the current governor which
is applied to all cpus when set.
2024-06-28 08:59:08 -06:00
Vicki Pfau
04d4dc74af Run cargo fmt 2024-06-18 18:44:35 -07:00
Vicki Pfau
0f14facac9 manager/user: Add ReloadConfig method 2024-06-17 21:27:56 -07:00
Vicki Pfau
2410334c0b manager: Simplify test setup 2024-06-10 21:35:03 -07:00
Jeremy Whiting
0759ff7077 Add gpu power profile(s) properties.
Add profiles property to give back available
profiles on this device.
Add profile property to get and set current gpu
power profile.
Filter possible properties when on deck.
Get current profile based on position of * character.
Get card0 path based on which cardX has vendor 0x1002
Add some basic tests.
TODO:
Possibly cache available properties instead of fetching repeatedly.
2024-06-05 15:36:41 -06:00
Vicki Pfau
b2f612cd45 manager: Slim down root interface, moving most getters directly to the user interface 2024-05-22 18:39:37 -07:00
Vicki Pfau
8b195ebf4a manager/user: Fix SetFanControlState relay 2024-05-13 18:55:27 -07:00
Vicki Pfau
6cccb333a2 manager: Improve module naming 2024-05-08 16:52:45 -07:00
Renamed from src/user_manager.rs (Browse further)