summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/amd/pmf/pmf.h
diff options
context:
space:
mode:
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>2022-08-02 20:41:42 +0530
committerHans de Goede <hdegoede@redhat.com>2022-08-15 13:23:38 +0200
commit4dc491c898fb47406423547da4d1e1ef8ff36b3e (patch)
treec110753538d5b11b06870d94e454493e2350a778 /drivers/platform/x86/amd/pmf/pmf.h
parent4c71ae4144746eb467f6aaab0ff83e306f11d6af (diff)
platform/x86/amd/pmf: Add debugfs information
Add debugfs support to the PMF driver so that using this interface the live counters from the PMFW can be queried to see if the power parameters are getting set properly when a certain power mode change happens. Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Link: https://lore.kernel.org/r/20220802151149.2123699-5-Shyam-sundar.S-k@amd.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/amd/pmf/pmf.h')
-rw-r--r--drivers/platform/x86/amd/pmf/pmf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/amd/pmf/pmf.h b/drivers/platform/x86/amd/pmf/pmf.h
index fa3ea103b54a..8b25fd19e473 100644
--- a/drivers/platform/x86/amd/pmf/pmf.h
+++ b/drivers/platform/x86/amd/pmf/pmf.h
@@ -90,6 +90,7 @@ struct amd_pmf_dev {
u32 supported_func;
enum platform_profile_option current_profile;
struct platform_profile_handler pprof;
+ struct dentry *dbgfs_dir;
};
struct apmf_sps_prop_granular {