drm/amdgpu: Fix repeatly flr issue
authorjqdeng <Emily.Deng@amd.com>
Fri, 7 Aug 2020 09:31:19 +0000 (17:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Aug 2020 22:22:02 +0000 (18:22 -0400)
commit9a1cddd6374fb1eb166f40f10d5411e3699066d4
treeec1d6acdcfd9550058cb21e04f72f04411fb1908
parent5ce99853a6fd94c729d4b50188f43300d6568898
drm/amdgpu: Fix repeatly flr issue

Only for no job running test case need to do recover in
flr notification.
For having job in mirror list, then let guest driver to
hit job timeout, and then do recover.

Signed-off-by: jqdeng <Emily.Deng@amd.com>
Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c