Searched refs:hive (Results 1 – 10 of 10) sorted by relevance
304 kfree(hive); in amdgpu_xgmi_hive_release()454 hive = kzalloc(sizeof(*hive), GFP_KERNEL); in amdgpu_get_xgmi_hive()455 if (!hive) { in amdgpu_get_xgmi_hive()518 if (hive) in amdgpu_get_xgmi_hive()521 return hive; in amdgpu_get_xgmi_hive()526 if (hive) in amdgpu_put_xgmi_hive()539 if (!hive) in amdgpu_xgmi_set_pstate()578 hive->pstate = hive->hi_req_count ? in amdgpu_xgmi_set_pstate()792 adev->hive = hive; in amdgpu_xgmi_add_device()807 struct amdgpu_hive_info *hive = adev->hive; in amdgpu_xgmi_remove_device() local[all …]
57 void amdgpu_put_xgmi_hive(struct amdgpu_hive_info *hive);58 int amdgpu_xgmi_update_topology(struct amdgpu_hive_info *hive, struct amdgpu_device *adev);
161 reset_context->hive == NULL) { in aldebaran_mode2_perform_reset()343 reset_context->hive == NULL) { in aldebaran_mode2_restore_hwcontext()365 if (reset_context->hive && in aldebaran_mode2_restore_hwcontext()367 r = amdgpu_xgmi_update_topology(reset_context->hive, in aldebaran_mode2_restore_hwcontext()
2479 if (WARN_ON(!hive)) { in amdgpu_device_ip_init()2484 if (!hive->reset_domain || in amdgpu_device_ip_init()3395 if (WARN_ON(!hive)) in amdgpu_device_xgmi_reset_func()3431 amdgpu_put_xgmi_hive(hive); in amdgpu_device_xgmi_reset_func()4552 if (hive) in amdgpu_device_reset_sriov()4553 amdgpu_put_xgmi_hive(hive); in amdgpu_device_reset_sriov()5004 if (reset_context->hive && in amdgpu_do_asic_reset()5190 if (hive) in amdgpu_device_gpu_recover()5194 reset_context->hive = hive; in amdgpu_device_gpu_recover()5389 if (hive) { in amdgpu_device_gpu_recover()[all …]
40 struct amdgpu_hive_info *hive; member
2256 struct amdgpu_hive_info *hive; in amdgpu_pci_remove() local2258 hive = amdgpu_get_xgmi_hive(adev); in amdgpu_pci_remove()2259 if (hive->device_remove_count == 0) in amdgpu_pci_remove()2261 hive->device_remove_count++; in amdgpu_pci_remove()2262 amdgpu_put_xgmi_hive(hive); in amdgpu_pci_remove()
1980 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev); in amdgpu_ras_do_recovery() local1983 if (hive && adev->gmc.xgmi.num_physical_nodes > 1) { in amdgpu_ras_do_recovery()1984 device_list_handle = &hive->device_list; in amdgpu_ras_do_recovery()1997 amdgpu_put_xgmi_hive(hive); in amdgpu_ras_do_recovery()
1262 struct amdgpu_hive_info *hive; in psp_xgmi_reflect_topology_info() local1268 hive = amdgpu_get_xgmi_hive(psp->adev); in psp_xgmi_reflect_topology_info()1269 list_for_each_entry(mirror_adev, &hive->device_list, gmc.xgmi.head) { in psp_xgmi_reflect_topology_info()1296 amdgpu_put_xgmi_hive(hive); in psp_xgmi_reflect_topology_info()
772 struct amdgpu_hive_info *hive; member
40 ((adev)->hive ? (void *)(adev)->hive : (void *)(adev))
Completed in 34 milliseconds