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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Oct 2014 21:52:12 +0000 (14:52 -0700)
commit20b3d5386751e331aa0ab0b4e474b1062ecb75df
treec5d0c17e607bfa4d795ad4ea3f99651d3a452cf8
parent0a60cb9ca541e75012e0d227e1028e51759f8080
drm/radeon: fix pm handling in radeon_gpu_reset

commit c940b4476f4fb649f6493b6a0ae837474ded8915 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_device.c