Searched refs:tmp_adev (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/ |
D | aldebaran.c | 139 struct amdgpu_device *tmp_adev = NULL; in aldebaran_mode2_perform_reset() local 149 list_for_each_entry(tmp_adev, &reset_context->hive->device_list, in aldebaran_mode2_perform_reset() 151 mutex_lock(&tmp_adev->reset_cntl->reset_lock); in aldebaran_mode2_perform_reset() 152 tmp_adev->reset_cntl->active_reset = AMD_RESET_METHOD_MODE2; in aldebaran_mode2_perform_reset() 158 list_for_each_entry(tmp_adev, &reset_context->hive->device_list, in aldebaran_mode2_perform_reset() 161 if (tmp_adev->gmc.xgmi.num_physical_nodes > 1) { in aldebaran_mode2_perform_reset() 163 &tmp_adev->reset_cntl->reset_work)) in aldebaran_mode2_perform_reset() 166 r = aldebaran_mode2_reset(tmp_adev); in aldebaran_mode2_perform_reset() 168 dev_err(tmp_adev->dev, in aldebaran_mode2_perform_reset() 170 r, adev_to_drm(tmp_adev)->unique); in aldebaran_mode2_perform_reset() [all …]
|
D | amdgpu_device.c | 4541 struct amdgpu_device *tmp_adev = NULL; in amdgpu_do_asic_reset() local 4546 tmp_adev = list_first_entry(device_list_handle, struct amdgpu_device, in amdgpu_do_asic_reset() 4548 r = amdgpu_reset_perform_reset(tmp_adev, reset_context); in amdgpu_do_asic_reset() 4565 list_for_each_entry(tmp_adev, device_list_handle, reset_list) { in amdgpu_do_asic_reset() 4567 if (tmp_adev->gmc.xgmi.num_physical_nodes > 1) { in amdgpu_do_asic_reset() 4568 tmp_adev->gmc.xgmi.pending_reset = false; in amdgpu_do_asic_reset() 4569 if (!queue_work(system_unbound_wq, &tmp_adev->xgmi_reset_work)) in amdgpu_do_asic_reset() 4572 r = amdgpu_asic_reset(tmp_adev); in amdgpu_do_asic_reset() 4575 dev_err(tmp_adev->dev, "ASIC reset failed with error, %d for drm dev, %s", in amdgpu_do_asic_reset() 4576 r, adev_to_drm(tmp_adev)->unique); in amdgpu_do_asic_reset() [all …]
|
D | amdgpu_xgmi.c | 541 struct amdgpu_device *tmp_adev; in amdgpu_xgmi_initialize_hive_get_data_partition() local 544 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) { in amdgpu_xgmi_initialize_hive_get_data_partition() 545 ret = psp_xgmi_initialize(&tmp_adev->psp, set_extended_data, false); in amdgpu_xgmi_initialize_hive_get_data_partition() 547 dev_err(tmp_adev->dev, in amdgpu_xgmi_initialize_hive_get_data_partition() 563 struct amdgpu_device *tmp_adev = NULL; in amdgpu_xgmi_add_device() local 619 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) { in amdgpu_xgmi_add_device() 621 if (tmp_adev != adev) { in amdgpu_xgmi_add_device() 622 top_info = &tmp_adev->psp.xgmi_context.top_info; in amdgpu_xgmi_add_device() 627 ret = amdgpu_xgmi_update_topology(hive, tmp_adev); in amdgpu_xgmi_add_device() 633 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) { in amdgpu_xgmi_add_device() [all …]
|