{"push_id":902735816,"size":1,"distinct_size":1,"ref":"refs/heads/exodus","head":"5dea16fd9294b3249f208c480b22e85b2725204d","before":"f976fe7f4a84b316623d65b9a1855f6f4bee2fae","commits":[{"sha":"5dea16fd9294b3249f208c480b22e85b2725204d","author":{"email":"672c7f5d7c31e5aba75fbe0bc303fff4514dcd5f@gmail.com","name":"morfic"},"message":"Yuga (absolute) Voltage control.\n\nThis started out as just including the existing work of someone else.\nBut that was so obfuscated and needlessly moved in sysfs, i turned it into the type control\nwe have on NP, meaning same sysfs location and output formatting.\nSince the various kernels range from no preUV to different levels of UV it is best to encourage the user\nto think in absolute voltages.\n\"I can UV -150 on kernel X! Really? Odd, i can only UV kernel Y -50mV!\"\nKernel X has no preUV, kernel Y has 100mV preUV, so they both run the same.\nThis is needlessly confusing to users.\n\nTalking in absolutes, users will get a better understanding of \"what the other guy's\" device is capable of.\nSticking to a common sysfs location and to the common absolute voltage is thus the right thing to do.\n\nThis seems to work now as it should.\n\nThis is heavily based on coolbho3k's NP patch. from Paul's mess we might have a few function names, but not the contents.\nThis is not his, if he claims otherwise, he can go fuck himself.\n\nSigned-off-by: Francisco Franco <franciscofranco.1990@gmail.com>\n\nUndervolt: clean it up, make it elegant and remove the constrain of fixed set of NUM_FREQS - its not dynamic based on the number of freqs used for scaling via an external function.\n\nSigned-off-by: franciscofranco <franciscofranco.1990@gmail.com>\nSigned-off-by: Francisco Franco <franciscofranco.1990@gmail.com>\n\nUndervolt: few minor changes, mostly for clarity.\n\nSigned-off-by: franciscofranco <franciscofranco.1990@gmail.com>\nSigned-off-by: Francisco Franco <franciscofranco.1990@gmail.com>\n\nUndervolt: add checks to disallow too extreme voltages, min and max.\n\nSigned-off-by: franciscofranco <franciscofranco.1990@gmail.com>\nSigned-off-by: Francisco Franco <franciscofranco.1990@gmail.com>\n\nmsm: fix indendation and improve the routines.\n\nSigned-off-by: franciscofranco <franciscofranco.1990@gmail.com>","distinct":true,"url":"https://api.github.com/repos/pattyboi/siliconvalley/commits/5dea16fd9294b3249f208c480b22e85b2725204d"}]}