Lines Matching refs:mgpu_info
212 struct amdgpu_mgpu_info mgpu_info = { variable
213 .mutex = __MUTEX_INITIALIZER(mgpu_info.mutex),
215 mgpu_info.delayed_reset_work,
2323 mutex_lock(&mgpu_info.mutex); in amdgpu_drv_delayed_reset_work_handler()
2324 if (mgpu_info.pending_reset == true) { in amdgpu_drv_delayed_reset_work_handler()
2325 mutex_unlock(&mgpu_info.mutex); in amdgpu_drv_delayed_reset_work_handler()
2328 mgpu_info.pending_reset = true; in amdgpu_drv_delayed_reset_work_handler()
2329 mutex_unlock(&mgpu_info.mutex); in amdgpu_drv_delayed_reset_work_handler()
2335 for (i = 0; i < mgpu_info.num_dgpu; i++) { in amdgpu_drv_delayed_reset_work_handler()
2336 adev = mgpu_info.gpu_ins[i].adev; in amdgpu_drv_delayed_reset_work_handler()
2346 for (i = 0; i < mgpu_info.num_dgpu; i++) { in amdgpu_drv_delayed_reset_work_handler()
2347 adev = mgpu_info.gpu_ins[i].adev; in amdgpu_drv_delayed_reset_work_handler()
2353 for (i = 0; i < mgpu_info.num_dgpu; i++) in amdgpu_drv_delayed_reset_work_handler()
2354 amdgpu_xgmi_remove_device(mgpu_info.gpu_ins[i].adev); in amdgpu_drv_delayed_reset_work_handler()
2358 for (i = 0; i < mgpu_info.num_dgpu; i++) in amdgpu_drv_delayed_reset_work_handler()
2359 list_add_tail(&mgpu_info.gpu_ins[i].adev->reset_list, &device_list); in amdgpu_drv_delayed_reset_work_handler()
2373 for (i = 0; i < mgpu_info.num_dgpu; i++) { in amdgpu_drv_delayed_reset_work_handler()
2374 adev = mgpu_info.gpu_ins[i].adev; in amdgpu_drv_delayed_reset_work_handler()