Lines Matching refs:hive

2590 				   struct amdgpu_hive_info *hive, bool status)  in amdgpu_ras_set_fed_all()  argument
2594 if (hive) { in amdgpu_ras_set_fed_all()
2595 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) in amdgpu_ras_set_fed_all()
2604 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev); in amdgpu_ras_in_recovery() local
2608 if (hive) { in amdgpu_ras_in_recovery()
2609 hive_ras_recovery = atomic_read(&hive->ras_recovery); in amdgpu_ras_in_recovery()
2610 amdgpu_put_xgmi_hive(hive); in amdgpu_ras_in_recovery()
2634 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev); in amdgpu_ras_do_recovery() local
2637 if (hive) { in amdgpu_ras_do_recovery()
2638 atomic_set(&hive->ras_recovery, 1); in amdgpu_ras_do_recovery()
2645 list_for_each_entry(remote_adev, &hive->device_list, in amdgpu_ras_do_recovery()
2648 amdgpu_ras_set_fed_all(adev, hive, true); in amdgpu_ras_do_recovery()
2655 if (hive && adev->gmc.xgmi.num_physical_nodes > 1) { in amdgpu_ras_do_recovery()
2656 device_list_handle = &hive->device_list; in amdgpu_ras_do_recovery()
2706 if (hive) { in amdgpu_ras_do_recovery()
2707 atomic_set(&hive->ras_recovery, 0); in amdgpu_ras_do_recovery()
2708 amdgpu_put_xgmi_hive(hive); in amdgpu_ras_do_recovery()
3858 struct amdgpu_hive_info *hive; in amdgpu_ras_event_mgr_init() local
3863 hive = amdgpu_get_xgmi_hive(adev); in amdgpu_ras_event_mgr_init()
3864 ras->event_mgr = hive ? &hive->event_mgr : &ras->__event_mgr; in amdgpu_ras_event_mgr_init()
3868 if (!hive || adev->gmc.xgmi.node_id == 0) in amdgpu_ras_event_mgr_init()
3872 if (hive) in amdgpu_ras_event_mgr_init()
3873 amdgpu_put_xgmi_hive(hive); in amdgpu_ras_event_mgr_init()
4682 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev); in amdgpu_ras_reset_gpu() local
4685 if (hive) { in amdgpu_ras_reset_gpu()
4686 hive_ras_recovery = atomic_read(&hive->ras_recovery); in amdgpu_ras_reset_gpu()
4687 amdgpu_put_xgmi_hive(hive); in amdgpu_ras_reset_gpu()