Home
last modified time | relevance | path

Searched refs:tmp_adev (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c4260 struct amdgpu_device *tmp_adev = NULL; in amdgpu_do_asic_reset() local
4269 list_for_each_entry(tmp_adev, device_list_handle, gmc.xgmi.head) { in amdgpu_do_asic_reset()
4271 if (tmp_adev->gmc.xgmi.num_physical_nodes > 1) { in amdgpu_do_asic_reset()
4272 if (!queue_work(system_unbound_wq, &tmp_adev->xgmi_reset_work)) in amdgpu_do_asic_reset()
4275 r = amdgpu_asic_reset(tmp_adev); in amdgpu_do_asic_reset()
4278 dev_err(tmp_adev->dev, "ASIC reset failed with error, %d for drm dev, %s", in amdgpu_do_asic_reset()
4279 r, adev_to_drm(tmp_adev)->unique); in amdgpu_do_asic_reset()
4286 list_for_each_entry(tmp_adev, device_list_handle, in amdgpu_do_asic_reset()
4288 if (tmp_adev->gmc.xgmi.num_physical_nodes > 1) { in amdgpu_do_asic_reset()
4289 flush_work(&tmp_adev->xgmi_reset_work); in amdgpu_do_asic_reset()
[all …]
Damdgpu_xgmi.c493 struct amdgpu_device *tmp_adev = NULL; in amdgpu_xgmi_add_device() local
547 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) { in amdgpu_xgmi_add_device()
549 if (tmp_adev != adev) { in amdgpu_xgmi_add_device()
550 top_info = &tmp_adev->psp.xgmi_context.top_info; in amdgpu_xgmi_add_device()
555 ret = amdgpu_xgmi_update_topology(hive, tmp_adev); in amdgpu_xgmi_add_device()
561 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) { in amdgpu_xgmi_add_device()
562 ret = psp_xgmi_get_topology_info(&tmp_adev->psp, count, in amdgpu_xgmi_add_device()
563 &tmp_adev->psp.xgmi_context.top_info); in amdgpu_xgmi_add_device()
565 dev_err(tmp_adev->dev, in amdgpu_xgmi_add_device()
567 tmp_adev->gmc.xgmi.node_id, in amdgpu_xgmi_add_device()
[all …]