]> 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)
commit82351fc7ba24fa73b7de4ba47d2a31f24089a1c2
tree290e50ba40172ff1e6c100780a8dba30c32bc00b
parentbb152743868fd8c45abe85fa9aff11dcc03b0fa7
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