Home
last modified time | relevance | path

Searched refs:hive (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_xgmi.c185 struct amdgpu_hive_info *hive = container_of( in amdgpu_xgmi_show_attrs() local
189 return snprintf(buf, PAGE_SIZE, "%llu\n", hive->hive_id); in amdgpu_xgmi_show_attrs()
196 struct amdgpu_hive_info *hive = container_of( in amdgpu_xgmi_hive_release() local
199 mutex_destroy(&hive->hive_lock); in amdgpu_xgmi_hive_release()
200 kfree(hive); in amdgpu_xgmi_hive_release()
257 struct amdgpu_hive_info *hive) in amdgpu_xgmi_sysfs_add_dev_info() argument
276 if (hive->kobj.parent != (&adev->dev->kobj)) { in amdgpu_xgmi_sysfs_add_dev_info()
277 ret = sysfs_create_link(&adev->dev->kobj, &hive->kobj, in amdgpu_xgmi_sysfs_add_dev_info()
285 sprintf(node, "node%d", atomic_read(&hive->number_devices)); in amdgpu_xgmi_sysfs_add_dev_info()
287 ret = sysfs_create_link(&hive->kobj, &adev->dev->kobj, node); in amdgpu_xgmi_sysfs_add_dev_info()
[all …]
Damdgpu_xgmi.h54 void amdgpu_put_xgmi_hive(struct amdgpu_hive_info *hive);
55 int amdgpu_xgmi_update_topology(struct amdgpu_hive_info *hive, struct amdgpu_device *adev);
Damdgpu_device.c3048 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev); in amdgpu_device_xgmi_reset_func() local
3051 if (WARN_ON(!hive)) in amdgpu_device_xgmi_reset_func()
3062 task_barrier_enter(&hive->tb); in amdgpu_device_xgmi_reset_func()
3068 task_barrier_exit(&hive->tb); in amdgpu_device_xgmi_reset_func()
3078 task_barrier_full(&hive->tb); in amdgpu_device_xgmi_reset_func()
3086 amdgpu_put_xgmi_hive(hive); in amdgpu_device_xgmi_reset_func()
4251 static int amdgpu_do_asic_reset(struct amdgpu_hive_info *hive, in amdgpu_do_asic_reset() argument
4372 if (hive && tmp_adev->gmc.xgmi.num_physical_nodes > 1) in amdgpu_do_asic_reset()
4373 r = amdgpu_xgmi_update_topology(hive, tmp_adev); in amdgpu_do_asic_reset()
4401 struct amdgpu_hive_info *hive) in amdgpu_device_lock_adev() argument
[all …]
Damdgpu_ras.c1573 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev); in amdgpu_ras_do_recovery() local
1576 if (hive && adev->gmc.xgmi.num_physical_nodes > 1) { in amdgpu_ras_do_recovery()
1577 device_list_handle = &hive->device_list; in amdgpu_ras_do_recovery()
1590 amdgpu_put_xgmi_hive(hive); in amdgpu_ras_do_recovery()
Damdgpu.h737 struct amdgpu_hive_info *hive; member
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/
DMakefile162 pci/css_2400_system/hive/ia_css_isp_configs.o \
163 pci/css_2400_system/hive/ia_css_isp_params.o \
164 pci/css_2400_system/hive/ia_css_isp_states.o \
171 pci/css_2401_system/hive/ia_css_isp_configs.o \
172 pci/css_2401_system/hive/ia_css_isp_params.o \
173 pci/css_2401_system/hive/ia_css_isp_states.o \
311 -I$(atomisp)/pci/css_2400_system/hive/ \
314 -I$(atomisp)/pci/css_2401_system/hive/ \