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>
Tue, 5 Jan 2021 16:33:26 +0000 (11:33 -0500)
commitd45af863a61c994b62b7660c5f7b63619fd7fe35
tree2f204fe89fcc6eec239262c66f7b8e614f00b5e6
parentbeea33e12c6dd029a31c33fef7da385fe307b004
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