drm/amdgpu: kfd_pre_reset outside req_full_gpu cause sriov hang
authorwentalou <Wentao.Lou@amd.com>
Fri, 7 Dec 2018 05:53:18 +0000 (13:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Dec 2018 17:04:38 +0000 (12:04 -0500)
commit7b184b006185215daf4e911f8de212964c99a514
treebd6b0c211f2567bdc015da9b9b087881dae0da64
parent2a3c83f5fe0770d13bbb71b23674886ff4111f44
drm/amdgpu: kfd_pre_reset outside req_full_gpu cause sriov hang

XGMI hive put kfd_pre_reset into amdgpu_device_lock_adev,
but outside req_full_gpu of sriov.
It would make sriov hang during reset.

Signed-off-by: Wentao Lou <Wentao.Lou@amd.com>
Reviewed-by: Shaoyun Liu <Shaoyun.Liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c