drm/amdgpu: when suspend, set boot state instand of disable dpm.
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 3 Oct 2016 12:46:36 +0000 (20:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Oct 2016 19:18:19 +0000 (15:18 -0400)
commit86f8c599b09c916f9aad30563271440dbd79213a
tree17d11a461f19026c5c40c7f72375d2077700212f
parent8ed8147abc7cf1f689245deb316aabfe2f657ade
drm/amdgpu: when suspend, set boot state instand of disable dpm.

fix pm-hibernate bug, when suspend/resume, dpm start failed.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
drivers/gpu/drm/amd/amdgpu/ci_dpm.c