drm/amd/powerplay: fix suspend error on DPM disabled
authorHuang Rui <ray.huang@amd.com>
Mon, 10 Apr 2017 06:40:51 +0000 (14:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:32:12 +0000 (17:32 -0400)
commit4573f0f21d6c40a9426d0418646d87bbf77d6ab5
tree9964f7561a7dc8071b1f836a4d8eb052a9db1111
parentd7b1eeb2ca039d04f1a1fcb241920cb112b4b52a
drm/amd/powerplay: fix suspend error on DPM disabled

Don't fail if DPM is disabled.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amd_powerplay.c