RE: [PATCH 11/20] drm/amdgpu:add lock_reset for SRIOV

2017-02-07 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Monk Liu > Sent: Tuesday, February 07, 2017 1:11 AM > To: amd-gfx@lists.freedesktop.org > Cc: Liu, Monk > Subject: [PATCH 11/20] drm/amdgpu:add lock_reset for SRIOV >

[PATCH 11/20] drm/amdgpu:add lock_reset for SRIOV

2017-02-06 Thread Monk Liu
this lock is used for sriov_gpu_reset, only get this mutex can run into sriov_gpu_reset. we have two cases triggers gpu_reset for SRIOV: 1) we have submit timedout and trigger reset voluntarily 2) hypervisor found world switch hang and trigger flr and notify we to do gpu reset. both cases need