Lines Matching refs:mgpu_info
248 struct amdgpu_mgpu_info mgpu_info = { variable
249 .mutex = __MUTEX_INITIALIZER(mgpu_info.mutex),
251 mgpu_info.delayed_reset_work,
2489 mutex_lock(&mgpu_info.mutex); in amdgpu_drv_delayed_reset_work_handler()
2490 if (mgpu_info.pending_reset == true) { in amdgpu_drv_delayed_reset_work_handler()
2491 mutex_unlock(&mgpu_info.mutex); in amdgpu_drv_delayed_reset_work_handler()
2494 mgpu_info.pending_reset = true; in amdgpu_drv_delayed_reset_work_handler()
2495 mutex_unlock(&mgpu_info.mutex); in amdgpu_drv_delayed_reset_work_handler()
2501 for (i = 0; i < mgpu_info.num_dgpu; i++) { in amdgpu_drv_delayed_reset_work_handler()
2502 adev = mgpu_info.gpu_ins[i].adev; in amdgpu_drv_delayed_reset_work_handler()
2512 for (i = 0; i < mgpu_info.num_dgpu; i++) { in amdgpu_drv_delayed_reset_work_handler()
2513 adev = mgpu_info.gpu_ins[i].adev; in amdgpu_drv_delayed_reset_work_handler()
2519 for (i = 0; i < mgpu_info.num_dgpu; i++) in amdgpu_drv_delayed_reset_work_handler()
2520 amdgpu_xgmi_remove_device(mgpu_info.gpu_ins[i].adev); in amdgpu_drv_delayed_reset_work_handler()
2524 for (i = 0; i < mgpu_info.num_dgpu; i++) in amdgpu_drv_delayed_reset_work_handler()
2525 list_add_tail(&mgpu_info.gpu_ins[i].adev->reset_list, &device_list); in amdgpu_drv_delayed_reset_work_handler()
2540 for (i = 0; i < mgpu_info.num_dgpu; i++) { in amdgpu_drv_delayed_reset_work_handler()
2541 adev = mgpu_info.gpu_ins[i].adev; in amdgpu_drv_delayed_reset_work_handler()