diff options
-rw-r--r-- | zenpower.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -94,6 +94,9 @@ MODULE_PARM_DESC(zen1_calc, "Set to 1 to use ZEN1 calculation"); /* ZEN3 Ryzen desktop */ #define F19H_M21H_SVI_TEL_PLANE0 (F17H_M01H_SVI + 0x10) #define F19H_M21H_SVI_TEL_PLANE1 (F17H_M01H_SVI + 0xC) +/* ZEN3 APU */ +#define F19H_M50H_SVI_TEL_PLANE0 (F17H_M01H_SVI + 0xC) +#define F19H_M50H_SVI_TEL_PLANE1 (F17H_M01H_SVI + 0x10) #define F17H_M70H_CCD_TEMP(x) (0x00059954 + ((x) * 4)) @@ -692,6 +695,10 @@ static int zenpower_probe(struct pci_dev *pdev, const struct pci_device_id *id) } else { dev_info(dev, "using ZEN1 calculation formula.\n"); } + data->amps_visible = true; + data->svi_core_addr = F19H_M50H_SVI_TEL_PLANE0; + data->svi_soc_addr = F19H_M50H_SVI_TEL_PLANE1; + ccd_check = 2; break; } } else { |