]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: skip suspend/resume on DRM_SWITCH_POWER_DYNAMIC_OFF
authorAlex Deucher <alexander.deucher@amd.com>
Sat, 27 Aug 2016 16:57:20 +0000 (12:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Sep 2016 14:34:45 +0000 (10:34 -0400)
commit586ead791f2e119bb71e6afc18d6933c8a6b3342
tree741b97e1f4183a43203fa1135c46acf7bb66566c
parent94db93c8d7a7b4d2f14f4672a35441b13bfb7b8d
drm/amdgpu: skip suspend/resume on DRM_SWITCH_POWER_DYNAMIC_OFF

Missed this case previously. No need to do anything if the
device is already off.  runtime pm will handle it.

Acked-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c