]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/amdgpu: S4 issue for amdgpu (v2)
authorjimqu <Jim.Qu@amd.com>
Wed, 7 Sep 2016 09:09:12 +0000 (17:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Sep 2016 22:12:18 +0000 (18:12 -0400)
commit74b0b157845748e5817cae56c891b05d98da5f47
treefe59c506c6a985084130a6e525904af1d78e5558
parent3aecd24c65b9539b6faac2a52a9aaa7bc90f4677
drm/amd/amdgpu: S4 issue for amdgpu (v2)

reset the asic if adapter is not powerdown when doing freeze()
thaw() and restore(), in order to get a valid state of adapter.

v2: squash in warning fix from Rex

Signed-off-by: JimQu <Jim.Qu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Tested By: Shawn Starr <shawn.starr@rogers.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