summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/fujitsu-tablet.c
diff options
context:
space:
mode:
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>2024-11-08 12:38:13 +0530
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-12-02 19:31:35 +0200
commit83ad6974dd3bf34c080b3c08d36d02ebc3bd6da8 (patch)
tree37665dac5917c8faf124f5f3f5e9015d6354ddbc /drivers/platform/x86/fujitsu-tablet.c
parent836d0d7107e53e6479b60d32fb73bd5f7813e5d1 (diff)
platform/x86/amd/pmc: Move STB block into amd_pmc_s2d_init()
Transfer the support for STB-related file operations to the amd_pmc_s2d_init() function, thereby consolidating the STB and S2D (Spill to DRAM) functionality in one location. Also, relocate the call to amd_pmc_s2d_init() to occur after the creation of the "amd_pmc" debugfs directory. This ensures that the driver's root debugfs directory is established beforehand. For older platforms that supported S2D, exit immediately after creating debugfs. These platforms may not support the PMFW messages available on newer platforms. This adjustment is necessary due to the relocation of debugfs creation into amd_pmc_s2d_init(). Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> 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://lore.kernel.org/r/20241108070822.3912689-2-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>
Diffstat (limited to 'drivers/platform/x86/fujitsu-tablet.c')
0 files changed, 0 insertions, 0 deletions