Skip to content

Commit a24cd5c

Browse files
Shyam Sundar S Kij-intel
authored andcommitted
platform/x86/amd/pmc: Extend support for PMC features on new AMD platform
PMC driver has capability to get the idle mask values and STB data from the PMFW. Extend this support to the platforms that belong to family 1Ah model 60h series. Co-developed-by: Sanket Goswami <[email protected]> Signed-off-by: Sanket Goswami <[email protected]> Signed-off-by: Shyam Sundar S K <[email protected]> Reviewed-by: Mario Limonciello <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
1 parent ba7b663 commit a24cd5c

File tree

1 file changed

+2
-0
lines changed
  • drivers/platform/x86/amd/pmc

1 file changed

+2
-0
lines changed

drivers/platform/x86/amd/pmc/pmc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,7 @@ static int amd_pmc_idlemask_read(struct amd_pmc_dev *pdev, struct device *dev,
598598
val = amd_pmc_reg_read(pdev, AMD_PMC_SCRATCH_REG_YC);
599599
break;
600600
case PCI_DEVICE_ID_AMD_1AH_M20H_ROOT:
601+
case PCI_DEVICE_ID_AMD_1AH_M60H_ROOT:
601602
val = amd_pmc_reg_read(pdev, AMD_PMC_SCRATCH_REG_1AH);
602603
break;
603604
default:
@@ -631,6 +632,7 @@ static bool amd_pmc_is_stb_supported(struct amd_pmc_dev *dev)
631632
case AMD_CPU_ID_CB:
632633
case AMD_CPU_ID_PS:
633634
case PCI_DEVICE_ID_AMD_1AH_M20H_ROOT:
635+
case PCI_DEVICE_ID_AMD_1AH_M60H_ROOT:
634636
return true;
635637
default:
636638
return false;

0 commit comments

Comments
 (0)