]> 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:18:21 +0000 (01:18 -0400)
commit3996a0357920bc26dab67cda4e88fea548bcf6fb
treebc30b86a6fdfcec2879825d02c435d1deec8a4eb
parent8ccc7749f68059efa4e113ab5a54be87565c1de2
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