]> git.baikalelectronics.ru Git - kernel.git/commit
dmr/amdgpu: Add system auto reboot to RAS.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Thu, 22 Aug 2019 19:01:37 +0000 (15:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:41:17 +0000 (17:41 -0500)
commitdc819f34f27fdff46240c720f7695c6b0a01d2c6
treef58a3725cc14fbde17f0189db9f595882eeed343
parent8443bb4d23eca122b12b104397740b5b2dec9f12
dmr/amdgpu: Add system auto reboot to RAS.

In case of RAS error allow user configure auto system
reboot through ras_ctrl.
This is also part of the temproray work around for the RAS
hang problem.

v4: Use latest kernel API for disk sync.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@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_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h