Searched refs:tmp_adev (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_device.c | 4256 struct amdgpu_device *tmp_adev = NULL; in amdgpu_do_asic_reset() local 4265 list_for_each_entry(tmp_adev, device_list_handle, gmc.xgmi.head) { in amdgpu_do_asic_reset() 4267 if (tmp_adev->gmc.xgmi.num_physical_nodes > 1) { in amdgpu_do_asic_reset() 4268 if (!queue_work(system_unbound_wq, &tmp_adev->xgmi_reset_work)) in amdgpu_do_asic_reset() 4271 r = amdgpu_asic_reset(tmp_adev); in amdgpu_do_asic_reset() 4274 dev_err(tmp_adev->dev, "ASIC reset failed with error, %d for drm dev, %s", in amdgpu_do_asic_reset() 4275 r, adev_to_drm(tmp_adev)->unique); in amdgpu_do_asic_reset() 4282 list_for_each_entry(tmp_adev, device_list_handle, in amdgpu_do_asic_reset() 4284 if (tmp_adev->gmc.xgmi.num_physical_nodes > 1) { in amdgpu_do_asic_reset() 4285 flush_work(&tmp_adev->xgmi_reset_work); in amdgpu_do_asic_reset() [all …]
|
D | amdgpu_xgmi.c | 493 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 …]
|