]> 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)
commit969e503a44d24a7a344f04bcbbeb9fde6ee90391
treeb767f65f79d37806d574bac10601fcdd5cacd395
parent6549cf26f63629a34c3b82ad61fa35eddc778167
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