commit | 7abc3618b65304d409d9489d77e4a8f047842fb7 | [log] [tgz] |
---|---|---|
author | Mario Limonciello <mario.limonciello@amd.com> | Mon Apr 10 00:23:43 2023 +0530 |
committer | Hans de Goede <hdegoede@redhat.com> | Tue Apr 11 10:37:21 2023 +0200 |
tree | d9a2ab3b2d1567d3e68c98048558cbee7d3649d5 | |
parent | 5ec9ee0d464750d72972d5685edf675824e259a1 [diff] |
platform/x86/amd: pmc: Don't dump data after resume from s0i3 on picasso This command isn't supported on Picasso, so guard against running it to avoid errors like `SMU cmd unknown. err: 0xfe` in the logs. Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2449 Fixes: 766205674962 ("platform/x86: amd-pmc: Add support for logging SMU metrics") Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Link: https://lore.kernel.org/r/20230409185348.556161-4-Shyam-sundar.S-k@amd.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>