]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:25:57 +0000 (16:25 +0200)
commitea36b5ac1fe7a54bd0b03fe025874ca10b4c21e0
tree2182d0c44b8b452d84ad010e2aeb4b36e033a2c0
parent301323acd214d513e0fe5af4b15fe965368b9b36
drm/amd: Allow printing VanGogh OD SCLK levels without setting dpm to manual

[ Upstream commit 2d1ec1e955414e8e8358178011c35afca1a1c0b1 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c