drm/amdgpu: tighten gpu_recover in mailbox_flr to avoid duplicate recover in sriov
authorwentalou <Wentao.Lou@amd.com>
Wed, 30 Jan 2019 03:13:01 +0000 (11:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Feb 2019 22:50:13 +0000 (17:50 -0500)
commit2c11ee6ae5533821cf2c64972d6cb5aa4ab4a46e
tree1300538ea45edfe2aea96258289be6a280635790
parente2fb6e0a7a2194f5ef1fada737217aad71e29e4d
drm/amdgpu: tighten gpu_recover in mailbox_flr to avoid duplicate recover in sriov

sriov's gpu_recover inside xgpu_ai_mailbox_flr_work would cause duplicate recover in TDR.
TDR's gpu_recover would be triggered by amdgpu_job_timedout,
that could avoid vk-cts failure by unexpected recover.

Signed-off-by: Wentao Lou <Wentao.Lou@amd.com>
Acked-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c