drm/amdgpu/pm: properly handle sclk for profiling modes on vangogh
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Oct 2021 15:33:00 +0000 (11:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Oct 2021 15:43:56 +0000 (11:43 -0400)
commit68e3871dcd6e547f6c47454492bc452356cb9eac
tree7820dca2cee7b95c21dc0218a99e2ea775ac3c47
parent40320159f066a8172234b044b4a37abaee175581
drm/amdgpu/pm: properly handle sclk for profiling modes on vangogh

When selecting between levels in the force performance levels interface
sclk (gfxclk) was not set correctly for all levels.  Select the proper
sclk settings for all levels.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1726
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c