Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_xgmi.c291 struct amdgpu_device *tmp_adev; in amdgpu_xgmi_set_pstate() local
323 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) { in amdgpu_xgmi_set_pstate()
324 if (tmp_adev->pstate != adev->pstate) { in amdgpu_xgmi_set_pstate()
373 struct amdgpu_device *tmp_adev = NULL; in amdgpu_xgmi_add_device() local
422 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) { in amdgpu_xgmi_add_device()
424 if (tmp_adev != adev) { in amdgpu_xgmi_add_device()
425 top_info = &tmp_adev->psp.xgmi_context.top_info; in amdgpu_xgmi_add_device()
430 ret = amdgpu_xgmi_update_topology(hive, tmp_adev); in amdgpu_xgmi_add_device()
436 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) { in amdgpu_xgmi_add_device()
437 ret = psp_xgmi_get_topology_info(&tmp_adev->psp, count, in amdgpu_xgmi_add_device()
[all …]
H A Damdgpu_device.c4054 struct amdgpu_device *tmp_adev = NULL; in amdgpu_do_asic_reset() local
4063 list_for_each_entry(tmp_adev, device_list_handle, gmc.xgmi.head) { in amdgpu_do_asic_reset()
4065 if (tmp_adev->gmc.xgmi.num_physical_nodes > 1) { in amdgpu_do_asic_reset()
4066 if (!queue_work(system_unbound_wq, &tmp_adev->xgmi_reset_work)) in amdgpu_do_asic_reset()
4069 r = amdgpu_asic_reset(tmp_adev); in amdgpu_do_asic_reset()
4073 r, tmp_adev->ddev->unique); in amdgpu_do_asic_reset()
4080 list_for_each_entry(tmp_adev, device_list_handle, in amdgpu_do_asic_reset()
4082 if (tmp_adev->gmc.xgmi.num_physical_nodes > 1) { in amdgpu_do_asic_reset()
4083 flush_work(&tmp_adev->xgmi_reset_work); in amdgpu_do_asic_reset()
4084 r = tmp_adev->asic_reset_res; in amdgpu_do_asic_reset()
[all …]