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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Jan 2021 21:19:23 +0000 (16:19 -0500)
commit44cb39e19a05ca711bcb6e776e0a4399223204a0
tree64701e997a668f8893a795729014333aa3fb6828
parent88e21af1b3f887d217f2fb14fc7e7d3cd87ebf57
drm/amd/pm: fix the failure when change power profile for renoir

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>
drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.c