drm/radeon: fix pm handling in radeon_gpu_reset
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 18 Aug 2014 15:57:28 +0000 (11:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Aug 2014 15:29:21 +0000 (11:29 -0400)
commitc940b4476f4fb649f6493b6a0ae837474ded8915
tree290e50ba40172ff1e6c100780a8dba30c32bc00b
parent1538a9e0e04f6a5b323cd3d65e9320512978fcec
drm/radeon: fix pm handling in radeon_gpu_reset

pm_suspend is handled in the radeon_suspend callbacks.
pm_resume has special handling depending on whether
dpm or legacy pm is enabled.  Change radeon_gpu_reset
to mirror the behavior in the suspend and resume
pathes.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_device.c