drm/amdgpu/powerplay: return success if set_mp1_state is not set
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 02:27:03 +0000 (21:27 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 04:24:25 +0000 (23:24 -0500)
commit479baeacd82841e44cd860d84fa66fe6240f1814
tree8c71289a9b69b32c0a20a35dd6714b0ad8fc3bf0
parenta2c28e34f8c42e35f5f2990d558d367152e63c27
drm/amdgpu/powerplay: return success if set_mp1_state is not set

Some asics (APUs) don't have this callback so we want to return
success.  Avoids spurious error messages on APUs.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amd_powerplay.c