platform/x86/amd: pmc: Don't try to read SMU version on Picasso
authorMario Limonciello <mario.limonciello@amd.com>
Sun, 9 Apr 2023 18:53:41 +0000 (00:23 +0530)
committerHans de Goede <hdegoede@redhat.com>
Tue, 11 Apr 2023 08:37:16 +0000 (10:37 +0200)
commitb845772677ea19b8e4c032bc07393ef32de4ee39
tree0fda14aa06e65f915c1aca787e55a5125ba1acc1
parentaec8298c093f052fc8a86f9411b69b23953b0edb
platform/x86/amd: pmc: Don't try to read SMU version on Picasso

Picasso doesn't support the command in the uPEP mailbox to try to
read the SMU version.

Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2449
Fixes: f6045de1f532 ("platform/x86: amd-pmc: Export Idlemask values based on the APU")
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20230409185348.556161-2-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