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
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
8769298416
Run cargo fmt
2024-05-24 15:40:31 -07:00
Vicki Pfau
bf2762cc67
hardware: Add enum round-trip tests
2024-05-24 15:10:36 -07:00
Vicki Pfau
fbfb07e684
hardware: Add FanControlState::from_str
2024-05-13 18:55:38 -07:00
Vicki Pfau
eb5fbc8e39
systemd: Add methods for enabling, disabling, masking, and unmasking
2024-04-30 22:09:37 -07:00
Vicki Pfau
7b8ffbc708
hardware: Move fan control logic out of the manager
2024-04-16 17:23:33 -07:00
Vicki Pfau
cf962b26c5
Fix test build warnings
2024-04-04 18:38:39 -07:00
Vicki Pfau
35e520712d
Realign enums that had UnsupportedFeature to start at 0
2024-04-04 18:08:21 -07:00
Vicki Pfau
452690adee
Kill UnsupportedFeature
2024-04-04 18:08:21 -07:00
Vicki Pfau
aaaf8b8bc4
hardware: Fix style
2024-04-04 18:08:21 -07:00
Vicki Pfau
8ae6c98554
process: Make API less fiddly
2024-04-04 18:08:13 -07:00
Vicki Pfau
69e6477053
manager: Implement new API
2024-04-04 18:08:13 -07:00
Vicki Pfau
128c5ee36a
hardware: Split HardwareVariant name parsing out from file reading
2024-04-02 18:20:09 -07:00
Vicki Pfau
3565886d3f
Turn galileo detection into generalized model detection
2024-03-29 14:59:48 -07:00