drm/amd/powerplay: report bootup clock as max supported on dpm disabled
authorEvan Quan <evan.quan@amd.com>
Wed, 17 Jul 2019 08:32:27 +0000 (16:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:07 +0000 (14:18 -0500)
commit3a48c10d7fb055ff655096eb50e96f36b22b8021
treeeb2fbb94d7f31189ba7b371cfe4f594a191963eb
parentfbdc5d8d84cc521573f1265d5e6ceb04a16075c9
drm/amd/powerplay: report bootup clock as max supported on dpm disabled

With gfxclk or uclk dpm disabled, it's reasonable to report bootup clock
as the max supported.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c