]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita9fa0db35063da5511aa75429367244d811e769d
tree9964f7561a7dc8071b1f836a4d8eb052a9db1111
parentc76796b09761f8cb2748f333fef065752e9f15ce
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