]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: do not use ixFEATURE_STATUS for checking smc running
authorEvan Quan <evan.quan@amd.com>
Tue, 27 Oct 2020 02:24:18 +0000 (10:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Oct 2020 05:00:50 +0000 (01:00 -0400)
commit4e1b7be8a9a5f8fcdc85d2c2358ee77c9a399e49
treed67413eead2cbe1243ca927a15d2ab4333f2e2f6
parentb04e4083df0dd82b5026c76edf4b9a228ec17673
drm/amd/pm: do not use ixFEATURE_STATUS for checking smc running

This reverts commit b9aa9d1960d425cea6d2357cf44b545dd57e5304 ("drm/amdgpu:
Fix bug where DPM is not enabled after hibernate and resume").
It was intended to fix Hawaii S4(hibernation) issue but break S3. As
ixFEATURE_STATUS is filled with garbage data on resume which can be
only cleared by reloading smc firmware(but that will involve many
changes). So, we will revert this S4 fix and seek a new way.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Tested-by: Sandeep Raghuraman <sandy.8925@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c