Lines Matching defs:hive
2400 * in XGMI hive gets set when the first device gets fatal error
2871 struct amdgpu_hive_info *hive, bool status)
2875 if (hive) {
2876 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head)
2885 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev);
2889 if (hive) {
2890 hive_ras_recovery = atomic_read(&hive->ras_recovery);
2891 amdgpu_put_xgmi_hive(hive);
2915 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev);
2919 if (hive) {
2920 atomic_set(&hive->ras_recovery, 1);
2922 /* If any device which is part of the hive received RAS fatal
2927 list_for_each_entry(remote_adev, &hive->device_list,
2930 amdgpu_ras_set_fed_all(adev, hive, true);
2937 if (hive && adev->gmc.xgmi.num_physical_nodes > 1) {
2938 device_list_handle = &hive->device_list;
2999 if (hive) {
3000 atomic_set(&hive->ras_recovery, 0);
3001 amdgpu_put_xgmi_hive(hive);
4274 struct amdgpu_hive_info *hive;
4279 hive = amdgpu_get_xgmi_hive(adev);
4280 ras->event_mgr = hive ? &hive->event_mgr : &ras->__event_mgr;
4284 if (!hive || adev->gmc.xgmi.node_id == 0)
4288 if (hive)
4289 amdgpu_put_xgmi_hive(hive);
5161 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev);
5164 if (hive) {
5165 hive_ras_recovery = atomic_read(&hive->ras_recovery);
5166 amdgpu_put_xgmi_hive(hive);
5169 * resetting all GPUs on hive, other GPUs do not need to