diff options
| author | Shyam Sundar S K <[email protected]> | 2023-12-28 10:21:00 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2024-01-02 12:40:22 +0000 |
| commit | d8fb50fe6c5c3632079a1642afdd87d30e0d1bbe (patch) | |
| tree | 5c2abb23885b6958a778c873daa0ab3a58c3da84 /drivers/platform/x86/amd/pmc/pmc.c | |
| parent | platform/x86/amd/pmc: Send OS_HINT command for AMDI000A platform (diff) | |
| download | kernel-d8fb50fe6c5c3632079a1642afdd87d30e0d1bbe.tar.gz kernel-d8fb50fe6c5c3632079a1642afdd87d30e0d1bbe.zip | |
platform/x86/amd/pmc: Add VPE information for AMDI000A platform
Latest AMD SoCs has VPE (Video Processing Engine) IP block and the
statistics related to this IP can be obtained as a part of metrics table
information that the PMFW propogates. Add this support for 1Ah family
series.
Signed-off-by: Sanket Goswami <[email protected]>
Signed-off-by: Shyam Sundar S K <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/x86/amd/pmc/pmc.c')
| -rw-r--r-- | drivers/platform/x86/amd/pmc/pmc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/platform/x86/amd/pmc/pmc.c b/drivers/platform/x86/amd/pmc/pmc.c index 5e962f395a69..6826e26a7650 100644 --- a/drivers/platform/x86/amd/pmc/pmc.c +++ b/drivers/platform/x86/amd/pmc/pmc.c @@ -145,6 +145,7 @@ static const struct amd_pmc_bit_map soc15_ip_blk[] = { {"JPEG", BIT(18)}, {"IPU", BIT(19)}, {"UMSCH", BIT(20)}, + {"VPE", BIT(21)}, {} }; @@ -355,6 +356,10 @@ static void amd_pmc_get_ip_info(struct amd_pmc_dev *dev) dev->num_ips = 21; dev->s2d_msg_id = 0x85; break; + case PCI_DEVICE_ID_AMD_1AH_M20H_ROOT: + dev->num_ips = 22; + dev->s2d_msg_id = 0xDE; + break; } } |
