]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Thu, 6 Aug 2020 20:26:07 +0000 (16:26 -0400)
commit8df9ff0cd62b99d8f6151f795062e28e26bf1b7d
tree6e0030c9b1c262858611bc0167a6f72ccc6cd4a6
parent19f1842178e2fa3f8206b12079e3b2afc0f166c9
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