]> 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)
commitfdf913bf1a0c6e57d79104090de3b1084101b13e
treebc30b86a6fdfcec2879825d02c435d1deec8a4eb
parent7f971b28593daecd31e3ce971e6700722a6e8226
drm/amd/pm: do not use ixFEATURE_STATUS for checking smc running

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