drm/amdgpu/dce: simplify suspend/resume
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Oct 2015 20:53:27 +0000 (16:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Oct 2015 16:12:56 +0000 (12:12 -0400)
commitf9fff064bb83c55b3fc6291e3b59e3bc78fedddf
tree8d9ff53a4defa4d5bf4e7476896ff7c98730ffef
parenta3d5aaa836ed993747af7b53cfca1b3cd3c9fc46
drm/amdgpu/dce: simplify suspend/resume

We were basically opencoding the same thing in both
hw_init and resume and hw_fini and suspend.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c