OSDN Git Service

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)
commit52934da2753a55b8f882a368f655c088437d6d92
treed67413eead2cbe1243ca927a15d2ab4333f2e2f6
parente6bd6890e88995004538afcb3bcf220824306d55
drm/amd/pm: do not use ixFEATURE_STATUS for checking smc running

This reverts commit f87812284172a9809820d10143b573d833cd3f75 ("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