OSDN Git Service

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:17:18 +0000 (14:17 -0500)
commit23d66e75d7c75f108754297f6eae77348a7cd544
tree702dbd93d81e55fa7b5d120303035440accb9012
parentad28e02420beae459bf48be14de5de1d76e79704
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