]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm/amd/powerplay: drop unnecessary message support check"
authorChangfeng <Changfeng.Zhu@amd.com>
Tue, 21 Jul 2020 02:38:19 +0000 (10:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2020 20:24:31 +0000 (16:24 -0400)
commit19f1842178e2fa3f8206b12079e3b2afc0f166c9
treef0371ded1362170cfd87ab372c66549d5c6fed68
parent6c61417cf3e3bef5e13d47976c2fdbaca1b7dc44
Revert "drm/amd/powerplay: drop unnecessary message support check"

The below 3 messages are not supported on Renoir
SMU_MSG_PrepareMp1ForShutdown
SMU_MSG_PrepareMp1ForUnload
SMU_MSG_PrepareMp1ForReset

It needs to revert patch:
drm/amd/powerplay: drop unnecessary message support check
to avoid set mp1 state fail during gpu reset on renoir.

Signed-off-by: changfeng <Changfeng.Zhu@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/smu_cmn.h