drm/amd/powerplay: drop unnecessary message support check(v2)
authorChangfeng <Changfeng.Zhu@amd.com>
Fri, 24 Jul 2020 05:15:10 +0000 (13:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2020 20:33:18 +0000 (16:33 -0400)
commitde273b73ca6aef31c64071b90b9c76cd9f47d5d1
tree85850f71ca57afe4754d4c6ab34877723cf37f77
parentbbf16f530cdf0e6f95e9954ca4aa7915cd3f1d99
drm/amd/powerplay: drop unnecessary message support check(v2)

Take back patch:drop unnecessary message support check
Because the gpu reset fail problem on renoir can be fixed by:
drm/amd/powerplay: skip invalid msg when smu set mp1 state
It needs to remove SWSMU_CODE_LAYER_L1 in smu_cmn.h to guard a clear
code layer.

Signed-off-by: changfeng <Changfeng.Zhu@amd.com>
Reviewed-by: Evan Quan <evan.quan@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