summaryrefslogtreecommitdiff
path: root/tools/platform
AgeCommit message (Collapse)Author
2026-07-10platform/x86/amd/pmf: Introduce AMD PMF testing tool for driver metrics and ↵Shyam Sundar S K
features This tool leverages amd-pmf ioctls exposed via the util layer, allowing validation of its newly integrated util layer and /dev/amdpmf_interface. It includes a user-space test application, test_amd_pmf, designed to interact with the PMF driver and retrieve relevant metrics for the testing and analysis. It provides definitions for test metrics, feature IDs, and device states, and includes tests for various AMD PMF metrics such as power source, skin temperature, battery state, and custom BIOS inputs/outputs. It also enables the testing of PMF metrics data and feature support reporting. Co-developed-by: Sanket Goswami <Sanket.Goswami@amd.com> Signed-off-by: Sanket Goswami <Sanket.Goswami@amd.com> Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Link: https://patch.msgid.link/20260609081044.2416731-7-Shyam-sundar.S-k@amd.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>