drm/amdgpu: support full gpu reset workflow when ras err_event_athub occurs
authorLe Ma <le.ma@amd.com>
Wed, 27 Nov 2019 05:17:17 +0000 (13:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 21:26:03 +0000 (16:26 -0500)
commitb823821f2244add19a71e7fe6c8f8550a29d672d
tree0c2e82da60c75a9f89be55ca51de0b3604188614
parentce316fa55ef0f1751276b846a54fb3b835bd5e64
drm/amdgpu: support full gpu reset workflow when ras err_event_athub occurs

This athub fatal error can be recovered by baco without system-level reboot,
so add a mode to use baco for the recovery. Not affect the default psp reset
situations for now.

Signed-off-by: Le Ma <le.ma@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