drm/amd/powerplay: fix suspend error on DPM disabled
authorHuang Rui <[email protected]>
Mon, 10 Apr 2017 06:40:51 +0000 (14:40 +0800)
committerAlex Deucher <[email protected]>
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 <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/powerplay/amd_powerplay.c