Commit graph

458 commits

Author SHA1 Message Date
Vicki Pfau
674c693180 Fix enum errors containing {v} instead of value 2024-08-08 20:10:40 -07:00
Vicki Pfau
0871125e3e steamosctl: Fix get-all-properties 2024-08-06 19:15:40 -07:00
Vicki Pfau
db345b3f3d steamosctl: Remove deprecated get-version 2024-08-06 19:15:40 -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
428350b4c7 proxy: Split out per-file and re-export relevant proxies 2024-08-06 19:15:40 -07:00
Vicki Pfau
72e633e336 clippy: Fix warnings 2024-08-06 19:15:30 -07:00
Vicki Pfau
d7534ced9c ftrace: Only enable split lock logging on systems that support it 2024-08-06 19:12:33 -07:00
Vicki Pfau
50b6fb85b1 process: Executable names should be passed as AsRef<OsStr> instead of &str 2024-08-02 19:11:59 -07:00
Vicki Pfau
4cc4c74ff0 process: script_exit_code should not leak output 2024-08-02 18:59:56 -07:00
Vicki Pfau
370c801796 Cargo.toml: Remove redundant dependency 2024-08-02 18:32:07 -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
6867c4e870 power: Remove inline GPU clock range check, sysfs writes enforce it 2024-08-02 17:21:31 -07:00
Vicki Pfau
fd6d9cbfe0 power: Simplify GPU power profiles parsing with regex 2024-08-02 17:21:29 -07:00
Vicki Pfau
f939767867 wifi: Simplify enums with strum, rename WifiDebugMode::On to Tracing 2024-07-31 21:25:16 -07:00
Vicki Pfau
4efb3572ec power: Simplify GPUPowerProfile definition with strum 2024-07-31 20:40:27 -07:00
Vicki Pfau
cdc314fb47 xml: Split up Manager interface and mark as deprecated 2024-07-31 19:44:10 -07:00
Vicki Pfau
453a51239f xml: Move deprecated XML file out of the way 2024-07-31 19:44:10 -07:00
Vicki Pfau
679accbd66 xml: Make documentation consistent and closer to gtk-doc recommendations 2024-07-31 19:44:10 -07:00
Vicki Pfau
126f912781 power: Fix GPUPerformanceLevel enum to match amdgpu definition 2024-07-30 20:33:37 -07:00
Vicki Pfau
8288f56182 Cargo: Update deps 2024-07-30 18:51:14 -07:00
Vicki Pfau
69076acedc job: Add mirror relay test 2024-07-25 21:29:14 -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
35eb5631ff job: Add job mirroring 2024-07-25 21:29:14 -07:00
Vicki Pfau
ae2351594f job: Move add_job to separate function
Split out the work of creating a new job path in preparation of job mirrors
being added
2024-07-25 21:29:14 -07:00
Vicki Pfau
8e3fc1afeb job: Add JobManagerInterface to emit JobStarted signal
This adds the JobManagerInterface helper object to emit a signal when a job is
started. It also renames the job prefix to be its own path so that the
JobManagerInterface can claim that as an object.
2024-07-25 21:29:14 -07:00
Vicki Pfau
8412adcd4a power: Clean up CPU sysfs property reading 2024-07-24 21:20:15 -07:00
Vicki Pfau
ffcd702172 Run clang fmt 2024-07-24 21:18:19 -07:00
Vicki Pfau
3c2dd55f87 power: Add basic tests for CPUScalingGovernor getters 2024-07-24 21:17:48 -07:00
Vicki Pfau
63902f8cc9 Run clang fmt 2024-07-24 20:01:33 -07:00
Vicki Pfau
deb8cf620f power: Add basic tests for GPUPowerProfile getters 2024-07-24 20:01:02 -07:00
Vicki Pfau
d503712f29 hardware: Add tests for FanControl 2024-07-23 20:50:17 -07:00
Vicki Pfau
f6fce8d84a systemd: Improve test coverage 2024-07-23 20:20:24 -07:00
Vicki Pfau
6e925e91d9 testing: Add subprocess dbus session interface for test isolation 2024-07-23 20:20:24 -07:00
Vicki Pfau
24223a4827 systemd: Fix warning 2024-07-22 19:46:23 -07:00
Vicki Pfau
a7355ab922 systemd: Move EnableState to using strum 2024-07-22 19:43:56 -07:00
Vicki Pfau
bc9cb4d414 job: Make Job struct private
This does not need to be public, and nothing was using it.
2024-07-18 16:06:45 -07:00
Vicki Pfau
603cd7217c job: Split out from process
Rename ProcessManager to JobManager, as that's what it really handles. This
also renames get_command_object_path, which actually spawns a job instead of
just getting something. Further, it moves job spawning into the Job object
instead of being a helper function on ProcessManager.
2024-07-16 20:12:26 -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
7213ea5179 xml: Fix some formatting, add description for UdevEvents.OverCurrent 2024-07-15 18:52:26 -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