Searched refs:tmp_adev (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | aldebaran.c | 152 struct amdgpu_device *tmp_adev = NULL; in aldebaran_mode2_perform_reset() local 166 list_for_each_entry(tmp_adev, reset_device_list, reset_list) { in aldebaran_mode2_perform_reset() 167 mutex_lock(&tmp_adev->reset_cntl->reset_lock); in aldebaran_mode2_perform_reset() 168 tmp_adev->reset_cntl->active_reset = AMD_RESET_METHOD_MODE2; in aldebaran_mode2_perform_reset() 174 list_for_each_entry(tmp_adev, reset_device_list, reset_list) { in aldebaran_mode2_perform_reset() 176 if (tmp_adev->gmc.xgmi.num_physical_nodes > 1) { in aldebaran_mode2_perform_reset() 178 &tmp_adev->reset_cntl->reset_work)) in aldebaran_mode2_perform_reset() 181 r = aldebaran_mode2_reset(tmp_adev); in aldebaran_mode2_perform_reset() 183 dev_err(tmp_adev->dev, in aldebaran_mode2_perform_reset() 185 r, adev_to_drm(tmp_adev)->unique); in aldebaran_mode2_perform_reset() [all …]
|
D | amdgpu_device.c | 4819 struct amdgpu_device *tmp_adev = NULL; in amdgpu_do_asic_reset() local 4825 tmp_adev = list_first_entry(device_list_handle, struct amdgpu_device, in amdgpu_do_asic_reset() 4827 amdgpu_reset_reg_dumps(tmp_adev); in amdgpu_do_asic_reset() 4830 r = amdgpu_reset_perform_reset(tmp_adev, reset_context); in amdgpu_do_asic_reset() 4851 list_for_each_entry(tmp_adev, device_list_handle, reset_list) { in amdgpu_do_asic_reset() 4853 if (tmp_adev->gmc.xgmi.num_physical_nodes > 1) { in amdgpu_do_asic_reset() 4854 tmp_adev->gmc.xgmi.pending_reset = false; in amdgpu_do_asic_reset() 4855 if (!queue_work(system_unbound_wq, &tmp_adev->xgmi_reset_work)) in amdgpu_do_asic_reset() 4858 r = amdgpu_asic_reset(tmp_adev); in amdgpu_do_asic_reset() 4861 dev_err(tmp_adev->dev, "ASIC reset failed with error, %d for drm dev, %s", in amdgpu_do_asic_reset() [all …]
|
D | amdgpu_xgmi.c | 571 struct amdgpu_device *tmp_adev; in amdgpu_xgmi_initialize_hive_get_data_partition() local 574 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) { in amdgpu_xgmi_initialize_hive_get_data_partition() 575 ret = psp_xgmi_initialize(&tmp_adev->psp, set_extended_data, false); in amdgpu_xgmi_initialize_hive_get_data_partition() 577 dev_err(tmp_adev->dev, in amdgpu_xgmi_initialize_hive_get_data_partition() 593 struct amdgpu_device *tmp_adev = NULL; in amdgpu_xgmi_add_device() local 649 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) { in amdgpu_xgmi_add_device() 651 if (tmp_adev != adev) { in amdgpu_xgmi_add_device() 652 top_info = &tmp_adev->psp.xgmi_context.top_info; in amdgpu_xgmi_add_device() 657 ret = amdgpu_xgmi_update_topology(hive, tmp_adev); in amdgpu_xgmi_add_device() 663 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) { in amdgpu_xgmi_add_device() [all …]
|
D | sienna_cichlid.c | 240 struct amdgpu_device *tmp_adev = (struct amdgpu_device *)reset_ctl->handle; in sienna_cichlid_mode2_restore_hwcontext() local 242 dev_info(tmp_adev->dev, in sienna_cichlid_mode2_restore_hwcontext() 244 r = sienna_cichlid_mode2_restore_ip(tmp_adev); in sienna_cichlid_mode2_restore_hwcontext() 252 amdgpu_register_gpu_instance(tmp_adev); in sienna_cichlid_mode2_restore_hwcontext() 255 amdgpu_ras_resume(tmp_adev); in sienna_cichlid_mode2_restore_hwcontext() 257 amdgpu_irq_gpu_reset_resume_helper(tmp_adev); in sienna_cichlid_mode2_restore_hwcontext() 259 r = amdgpu_ib_ring_tests(tmp_adev); in sienna_cichlid_mode2_restore_hwcontext() 261 dev_err(tmp_adev->dev, in sienna_cichlid_mode2_restore_hwcontext()
|