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)
committerHans de Goede <hdegoede@redhat.com>
Tue, 11 Apr 2023 08:37:19 +0000 (10:37 +0200)
commit5ec9ee0d464750d72972d5685edf675824e259a1
tree534893e81ff3a337ea2cc85c11f30822d744b6f0
parentb845772677ea19b8e4c032bc07393ef32de4ee39
platform/x86/amd: pmc: Hide SMU version and program attributes for Picasso

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>
drivers/platform/x86/amd/pmc.c