aboutsummaryrefslogtreecommitdiff
path: root/zenpower.c
diff options
context:
space:
mode:
authorAnthony Wang2021-09-25 20:04:32 -0500
committerAnthony Wang2021-09-25 20:06:18 -0500
commit938c36c3dc5d16a7dc0545103754542ab3a67f5c (patch)
tree3f3a2702070564dfb4d5595057f26f63cffb0770 /zenpower.c
parent7cc5f1fefb54b39c8cb734714f905eae674a85b9 (diff)
WIP: #2 add Cezanne support
Diffstat (limited to 'zenpower.c')
-rw-r--r--zenpower.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/zenpower.c b/zenpower.c
index 574248a..0ab72d5 100644
--- a/zenpower.c
+++ b/zenpower.c
@@ -677,6 +677,14 @@ static int zenpower_probe(struct pci_dev *pdev, const struct pci_device_id *id)
data->svi_soc_addr = F19H_M21H_SVI_TEL_PLANE1;
ccd_check = 2; /* max 16C, 8C per CCD = max 2 CCD's */
break;
+ case 0x50: /* Zen3 APU */
+ if (!zen1_calc) {
+ data->zen2 = true;
+ dev_info(dev, "using ZEN2 calculation formula.\n");
+ } else {
+ dev_info(dev, "using ZEN1 calculation formula.\n");
+ }
+ break;
}
} else {
data->svi_core_addr = F17H_M01H_SVI_TEL_PLANE0;