]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: post card if there is real hw resetting performed
authorJim Qu <Jim.Qu@amd.com>
Fri, 10 Feb 2017 07:59:59 +0000 (15:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Feb 2017 21:12:58 +0000 (16:12 -0500)
commit174283c70e8db335475b9858b63a433ef3e1efa2
tree9c2a020087a83f67d2d41c456343f0361d776f68
parent6fadca0d2fd0cbeaf44249ac579f912bfdaba6d3
drm/amd/amdgpu: post card if there is real hw resetting performed

Check whether we need to post rather than whether the asic is
posted.  There are some cases (e.g., GPU reset or resume from
hibernate) where we need to force post even if the asic has
been posted.

Signed-off-by: Jim Qu <Jim.Qu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/cik.c
drivers/gpu/drm/amd/amdgpu/vi.c