drm/amd/powerplay: remove the dpm checking in the boot sequence
authorKenneth Feng <kenneth.feng@amd.com>
Wed, 22 Jul 2020 13:27:35 +0000 (21:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Jul 2020 22:43:24 +0000 (18:43 -0400)
commit8fe384ff2d9610f4bf4aa2a9cecb5a209a1e85a2
treedbe13f734d18acccbb145a742715c1689e68a541
parent06b668c1dc1f5ef02e3065ef9201b4710cc03d0e
drm/amd/powerplay: remove the dpm checking in the boot sequence

It's not necessary to retrieve the power features status when the
asic is booted up the first time. This patch can have the features
enablement status still checked in suspend/resume case and removed
from the first boot up sequence.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c