aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Čerman2020-01-20 21:03:14 +0100
committerOndrej Čerman2020-01-20 21:03:14 +0100
commitb4e11474459e07479980411120c6ed795c283c41 (patch)
treec760da86803284cb8b5d1fb89455ba3633a3cef2
parentfc25fcc012617f6d4b980db0403bb27f41038f5e (diff)
Fixed Tmax
-rw-r--r--zenpower.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/zenpower.c b/zenpower.c
index d9edb2f..48caf12 100644
--- a/zenpower.c
+++ b/zenpower.c
@@ -170,7 +170,10 @@ static ssize_t temp1_input_show(struct device *dev,
static ssize_t temp1_max_show(struct device *dev,
struct device_attribute *attr, char *buf)
{
- return sprintf(buf, "%d\n", 70 * 1000);
+ // source: https://www.amd.com/en/products/cpu/amd-ryzen-7-3700x
+ // other cpus have also same same* Tmax on AMD website
+ // * = note: AMD list on website max of Tctl, not max of Tdie
+ return sprintf(buf, "%d\n", 95 * 1000);
}
static ssize_t temp2_input_show(struct device *dev,