drm/amd: Allow printing VanGogh OD SCLK levels without setting dpm to manual
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 9 Jun 2025 03:12:26 +0000 (22:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Jun 2025 16:19:19 +0000 (12:19 -0400)
commit2d1ec1e955414e8e8358178011c35afca1a1c0b1
tree28b5f6c2a3f5ea9b56f1dbbe87c7ac81e2f45ac7
parentd2f9002426a7bb53964526d55b0d505937a548a1
drm/amd: Allow printing VanGogh OD SCLK levels without setting dpm to manual

Several other ASICs allow printing OD SCLK levels without setting DPM
control to manual.  When OD is disabled it will show the range the
hardware supports. When OD is enabled it will show what values have
been programmed. Adjust VanGogh to work the same.

Cc: Pierre-Loup A. Griffais <pgriffais@valvesoftware.com>
Reported-by: Vicki Pfau <vi@endrift.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://lore.kernel.org/r/20250609031227.479079-1-superm1@kernel.org
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c