]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: move gpu reset out of amdgpu_device_suspend
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Oct 2019 19:57:21 +0000 (14:57 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2019 19:51:39 +0000 (15:51 -0400)
commitf1148dcc3862bc7fdada56953a15f17226790374
treeb767f65f79d37806d574bac10601fcdd5cacd395
parentbf1378f5aba050a09d4d39e91d1a2e1b12020eb1
drm/amdgpu: move gpu reset out of amdgpu_device_suspend

Move it into the caller.  There are cases were we don't
want it.  We need it for hibernation, but we don't need
it for runtime pm, so drop it for runtime pm.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c