drm/amd/pm: fix one superfluous error for renoir
authorXiaojian Du <Xiaojian.Du@amd.com>
Tue, 12 Jan 2021 11:16:21 +0000 (19:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 04:52:35 +0000 (23:52 -0500)
commit79af0681bd1970813786119a01f7c27751f867a0
tree2fddd39c8c0e06859d0ce94149e23a6bdf3de1bd
parentf727ebeb589d62644e3d1f9403c697122e9e27fa
drm/amd/pm: fix one superfluous error for renoir

This patch is to fix one superfluous error for renoir.
Renoir supports 5 kinds of power profile mode:
"FULL SCREEN 3D", "VIDEO", "VR", "COMPUTE" and "CUSTOM".
After loading amdgpu driver, the driver will set "BOOTUP_DEFAULT"
mode to APU, and it will get one superfluouserror error,
which is saying "Unsupported power profile mode 0 on RENOIR",
but it will not make any other harmful events, so fix this error.

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