drm/amd/pm: fix the failure when change power profile for renoir
authorXiaojian Du <Xiaojian.Du@amd.com>
Wed, 30 Dec 2020 10:08:23 +0000 (18:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Jan 2021 17:27:27 +0000 (18:27 +0100)
commit9910f52b4cb46ed65a0ebf59fd53b928b44715e7
tree399f562da82028cb07817c106525a77f74e63d3e
parenta973bc7d8ab521e35846c793476027b11bbe5a3f
drm/amd/pm: fix the failure when change power profile for renoir

[ Upstream commit 44cb39e19a05ca711bcb6e776e0a4399223204a0 ]

This patch is to fix the failure when change power profile to
"profile_peak" for renoir.

Signed-off-by: Xiaojian Du <Xiaojian.Du@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.c