https://bugs.freedesktop.org/show_bug.cgi?id=111762

--- Comment #6 from tempel.jul...@gmail.com ---
Tested custom soft power play table via UPP on Polaris and it generally seems
to work well (might be able to test Navi at a later time).

However, there is the issue that the voltage gets reset when there is a
modeline switch. So I've written a script which checks the voltage and restarts
UPP when it exceeds values which would not occur with my undervolting:

#!/bin/bash

while true; do
    sleep 1

read -r num <
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon0/in0_input
if [[ "$num" -gt 1030 ]]; then
  systemctl restart amdgpu-oc && systemctl restart amdgpu-fancontrol
fi
done

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to