make GPU voltage offset configurable
This commit is contained in:
parent
77e268ed24
commit
562843c069
2 changed files with 5 additions and 2 deletions
|
@ -23,8 +23,10 @@ echo 's 1 {{ gpu_clock_max }}' | tee /sys/class/drm/{{ card }}/device/pp_od_clk_
|
|||
# set the maximum GPU *memory* clock
|
||||
echo 'm 1 {{ gpumem_clock_max }}' | tee /sys/class/drm/{{ card }}/device/pp_od_clk_voltage
|
||||
|
||||
# boost offset voltage 100mV / 0.1V
|
||||
echo 'vo +100' | tee /sys/class/drm/{{ card }}/device/pp_od_clk_voltage
|
||||
{% if gpu_mv_offset is defined %}
|
||||
# offset GPU voltage {{ gpu_mv_offset }}mV
|
||||
echo 'vo {{ gpu_mv_offset }}' | tee /sys/class/drm/{{ card }}/device/pp_od_clk_voltage
|
||||
{% endif %}
|
||||
|
||||
# commit the changes
|
||||
echo 'c' | tee /sys/class/drm/{{ card }}/device/pp_od_clk_voltage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue