]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8fa6cfe6817173b5848474169b5449ecd33173cd
tree290e50ba40172ff1e6c100780a8dba30c32bc00b
parent96de30a6bb15c4b37e9ca9ac77b8c4c52663b354
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