implement strict mode gpu reset, and some changes for loose mode reset Monk Liu (12): drm/amdgpu/sriov:now must reinit psp drm/amdgpu/sriov:fix memory leak in psp_load_fw drm/amdgpu/sriov:use atomic type for sriov_reset drm/amdgpu/sriov:cleanup gpu rest mlock drm/amdgpu/sriov:accurate description for sriov_gpu_reset drm/amdgpu/sriov:handle more jobs hang in different ring case drm/amdgpu/sriov:implement strict gpu reset drm/amdgpu:explicitly call fence_process drm/amdgpu/sriov:return -ENODEV if gpu reseted drm/amdgpu/sriov:implement guilty ctx for loose reset drm/amdgpu/sriov:show error if ib test failed drm/amdgpu/sriov:no shadow buffer recovery drivers/gpu/drm/amd/amdgpu/amdgpu.h | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 46 ++++++--- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 135 +++++++++++++++++++------- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 + drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 19 +++- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 7 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 22 +++-- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 2 - drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c | 4 +- drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c | 4 +- drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 82 ++++++++++++++++ drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 3 + 18 files changed, 284 insertions(+), 73 deletions(-) -- 2.7.4