]> 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)
commit26412cae801ed87bea7f1e6e15471466b0c0192c
tree9c2a020087a83f67d2d41c456343f0361d776f68
parent8bd71fb1191f11a8344593cf52246a9aa8157398
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