Fix typo and add tree monitor items for AMD

This commit is contained in:
jussi
2019-05-15 21:16:45 +03:00
parent cf88736cd3
commit ac3589be6f
3 changed files with 101 additions and 42 deletions

View File

@@ -168,7 +168,7 @@ bool amdPstateEditor::applyValues()
}
}
if (!changedMemPstates.isEmpty() || !changedCorePstates.isEmpty()) {
cmd.append("echo 'c' > /sys/class/drm/card" + QString::number(types->GPUList[gpuidx].fsindex) + "/device_pp_od_clk_voltage\"");
cmd.append("echo 'c' > /sys/class/drm/card" + QString::number(types->GPUList[gpuidx].fsindex) + "/device/pp_od_clk_voltage\"");
proc.start(cmd);
proc.waitForFinished(-1);
if (proc.exitCode() != 0) {