Skip to content

Commit 1ea2938

Browse files
add missing fields to doc
1 parent 0b0921b commit 1ea2938

File tree

2 files changed

+79
-5
lines changed

2 files changed

+79
-5
lines changed

docs/CONFIG.md

Lines changed: 42 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,47 @@ gpus:
109109
# Setting this requires `performance_level` to be set to `manual`.
110110
power_profile_mode_index: 0
111111
# Custom heuristic values when using the custom AMD power profile mode.
112-
# TODO
113-
custom_power_profile_mode_hueristics: []
114-
# TODO
115-
power_states: {}
112+
# The meaning of these values depends on the specific GPU model.
113+
# Check the names of these values in the UI.
114+
custom_power_profile_mode_hueristics:
115+
- - 0
116+
- 5
117+
- 1
118+
- 0
119+
- 4
120+
- 800
121+
- 4587520
122+
- -65536
123+
- 0
124+
- - 0
125+
- 5
126+
- 1
127+
- 0
128+
- 1
129+
- 0
130+
- 3276800
131+
- -65536
132+
- -6553
133+
- - 0
134+
- 5
135+
- 1
136+
- 0
137+
- 4
138+
- 800
139+
- 327680
140+
- -65536
141+
- 0
142+
# List of AMD power states which should be enabled
143+
power_states:
144+
# GPU power states
145+
core_clock:
146+
- 0
147+
- 2
148+
- 3
149+
# VRAM power states
150+
memory_clock:
151+
- 0
152+
- 1
116153
# Minimum GPU clockspeed in MHz.
117154
min_core_clock: 300
118155
# Minimum VRAM clockspeed in MHz.
@@ -152,4 +189,4 @@ profiles:
152189
current_profile: vkcube
153190
# If profiles should be switched between automatically based on their configured rules.
154191
auto_switch_profiles: true
155-
```
192+
```

lact-daemon/src/snapshots/lact_daemon__config__tests__parse_doc.snap

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
source: lact-daemon/src/config.rs
33
expression: deserialized_config
4+
snapshot_kind: text
45
---
56
daemon:
67
log_level: info
@@ -43,6 +44,42 @@ gpus:
4344
max_voltage: 1200
4445
voltage_offset: 0
4546
power_profile_mode_index: 0
47+
custom_power_profile_mode_hueristics:
48+
- - 0
49+
- 5
50+
- 1
51+
- 0
52+
- 4
53+
- 800
54+
- 4587520
55+
- -65536
56+
- 0
57+
- - 0
58+
- 5
59+
- 1
60+
- 0
61+
- 1
62+
- 0
63+
- 3276800
64+
- -65536
65+
- -6553
66+
- - 0
67+
- 5
68+
- 1
69+
- 0
70+
- 4
71+
- 800
72+
- 327680
73+
- -65536
74+
- 0
75+
power_states:
76+
memory_clock:
77+
- 0
78+
- 1
79+
core_clock:
80+
- 0
81+
- 2
82+
- 3
4683
profiles:
4784
vkcube:
4885
rule:

0 commit comments

Comments
 (0)