]> www.infradead.org Git - users/dwmw2/linux.git/commit
platform/x86/amd: pmc: Hide SMU version and program attributes for Picasso
authorMario Limonciello <mario.limonciello@amd.com>
Sun, 9 Apr 2023 18:53:42 +0000 (00:23 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:03:14 +0000 (23:03 +0900)
commitabfb0ff8706e8b7fecde6ee917af1e4575237e94
tree46b6427f88e0384304069c92e5b4bd672804a992
parentd1dbf5b7ea45d6fced54f0747e58c0bf6166545e
platform/x86/amd: pmc: Hide SMU version and program attributes for Picasso

[ Upstream commit 5ec9ee0d464750d72972d5685edf675824e259a1 ]

As the command to get version isn't supported on Picasso, we shouldn't
be exposing this into sysfs either.

Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2449
Fixes: 7f1ea75d499a ("platform/x86/amd: pmc: Add sysfs files for SMU")
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20230409185348.556161-3-Shyam-sundar.S-k@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/amd/pmc.c