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)
commitf46cf3735f4c05eb752d020d34ace1c85ccf567c
tree741b97e1f4183a43203fa1135c46acf7bb66566c
parent85e154c22e3c29d4db52ccc1c1cc58a2cadc103b
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