Home
last modified time | relevance | path

Searched refs:hive (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_xgmi.c150 * hive ID and individual node IDs, both of which are 64-bit numbers.
156 * created which contains the hive ID and the list of nodes.
158 * The hive ID is stored in:
185 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()
275 /* Create sysfs link to hive inf in amdgpu_xgmi_sysfs_add_dev_info()
256 amdgpu_xgmi_sysfs_add_dev_info(struct amdgpu_device *adev, struct amdgpu_hive_info *hive) amdgpu_xgmi_sysfs_add_dev_info() argument
306 amdgpu_xgmi_sysfs_rem_dev_info(struct amdgpu_device *adev, struct amdgpu_hive_info *hive) amdgpu_xgmi_sysfs_rem_dev_info() argument
327 struct amdgpu_hive_info *hive = NULL, *tmp = NULL; amdgpu_get_xgmi_hive() local
390 amdgpu_put_xgmi_hive(struct amdgpu_hive_info *hive) amdgpu_put_xgmi_hive() argument
399 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev); amdgpu_xgmi_set_pstate() local
451 amdgpu_xgmi_update_topology(struct amdgpu_hive_info *hive, struct amdgpu_device *adev) amdgpu_xgmi_update_topology() argument
491 struct amdgpu_hive_info *hive; amdgpu_xgmi_add_device() local
597 struct amdgpu_hive_info *hive = adev->hive; amdgpu_xgmi_remove_device() local
[all...]
H A 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);
H A Damdgpu_device.c2486 * hive get initialized. in amdgpu_device_ip_late_init()
2488 * However, it's unknown how many device in the hive in advance. in amdgpu_device_ip_late_init()
3052 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev); in amdgpu_device_xgmi_reset_func() local
3054 /* It's a bug to not have a hive within this function */ in amdgpu_device_xgmi_reset_func()
3055 if (WARN_ON(!hive)) in amdgpu_device_xgmi_reset_func()
3060 * hive. task_barrier_enter and task_barrier_exit will block in amdgpu_device_xgmi_reset_func()
3066 task_barrier_enter(&hive->tb); in amdgpu_device_xgmi_reset_func()
3072 task_barrier_exit(&hive->tb); in amdgpu_device_xgmi_reset_func()
3082 task_barrier_full(&hive->tb); in amdgpu_device_xgmi_reset_func()
3090 amdgpu_put_xgmi_hive(hive); in amdgpu_device_xgmi_reset_func()
4255 amdgpu_do_asic_reset(struct amdgpu_hive_info *hive, struct list_head *device_list_handle, bool *need_full_reset_arg, bool skip_hw_reset) amdgpu_do_asic_reset() argument
4404 amdgpu_device_lock_adev(struct amdgpu_device *adev, struct amdgpu_hive_info *hive) amdgpu_device_lock_adev() argument
4519 struct amdgpu_hive_info *hive = NULL; amdgpu_device_gpu_recover() local
[all...]
H A Damdgpu_ras.c1576 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev); in amdgpu_ras_do_recovery() local
1579 if (hive && adev->gmc.xgmi.num_physical_nodes > 1) { in amdgpu_ras_do_recovery()
1580 device_list_handle = &hive->device_list; in amdgpu_ras_do_recovery()
1593 amdgpu_put_xgmi_hive(hive); in amdgpu_ras_do_recovery()
H A Damdgpu.h737 struct amdgpu_hive_info *hive; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_xgmi.c250 * hive ID and individual node IDs, both of which are 64-bit numbers.
256 * created which contains the hive ID and the list of nodes.
258 * The hive ID is stored in:
286 struct amdgpu_hive_info *hive = container_of( in amdgpu_xgmi_show_attrs() local
290 return snprintf(buf, PAGE_SIZE, "%llu\n", hive->hive_id); in amdgpu_xgmi_show_attrs()
297 struct amdgpu_hive_info *hive = container_of( in amdgpu_xgmi_hive_release() local
300 amdgpu_reset_put_reset_domain(hive->reset_domain); in amdgpu_xgmi_hive_release()
301 hive->reset_domain = NULL; in amdgpu_xgmi_hive_release()
303 mutex_destroy(&hive->hive_lock); in amdgpu_xgmi_hive_release()
304 kfree(hive); in amdgpu_xgmi_hive_release()
397 amdgpu_xgmi_sysfs_add_dev_info(struct amdgpu_device *adev, struct amdgpu_hive_info *hive) amdgpu_xgmi_sysfs_add_dev_info() argument
459 amdgpu_xgmi_sysfs_rem_dev_info(struct amdgpu_device *adev, struct amdgpu_hive_info *hive) amdgpu_xgmi_sysfs_rem_dev_info() argument
482 struct amdgpu_hive_info *hive = NULL; amdgpu_get_xgmi_hive() local
571 amdgpu_put_xgmi_hive(struct amdgpu_hive_info *hive) amdgpu_put_xgmi_hive() argument
580 struct amdgpu_hive_info *hive; amdgpu_xgmi_set_pstate() local
637 amdgpu_xgmi_update_topology(struct amdgpu_hive_info *hive, struct amdgpu_device *adev) amdgpu_xgmi_update_topology() argument
695 amdgpu_xgmi_initialize_hive_get_data_partition(struct amdgpu_hive_info *hive, bool set_extended_data) amdgpu_xgmi_initialize_hive_get_data_partition() argument
718 struct amdgpu_hive_info *hive; amdgpu_xgmi_add_device() local
854 struct amdgpu_hive_info *hive = adev->hive; amdgpu_xgmi_remove_device() local
[all...]
H A Damdgpu_xgmi.h57 void amdgpu_put_xgmi_hive(struct amdgpu_hive_info *hive);
58 int amdgpu_xgmi_update_topology(struct amdgpu_hive_info *hive, struct amdgpu_device *adev);
H A Daldebaran.c161 reset_context->hive == NULL) { in aldebaran_mode2_perform_reset()
171 * Mode2 reset doesn't need any sync between nodes in XGMI hive, instead launch in aldebaran_mode2_perform_reset()
344 reset_context->hive == NULL) { in aldebaran_mode2_restore_hwcontext()
389 if (reset_context->hive && in aldebaran_mode2_restore_hwcontext()
391 r = amdgpu_xgmi_update_topology(reset_context->hive, in aldebaran_mode2_restore_hwcontext()
H A Damdgpu_device.c1227 /* Don't post if we need to reset whole hive on init */ in amdgpu_device_need_post()
2422 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev); in amdgpu_device_ip_init() local
2424 if (WARN_ON(!hive)) { in amdgpu_device_ip_init()
2429 if (!hive->reset_domain || in amdgpu_device_ip_init()
2430 !amdgpu_reset_get_reset_domain(hive->reset_domain)) { in amdgpu_device_ip_init()
2432 amdgpu_put_xgmi_hive(hive); in amdgpu_device_ip_init()
2438 adev->reset_domain = hive->reset_domain; in amdgpu_device_ip_init()
2439 amdgpu_put_xgmi_hive(hive); in amdgpu_device_ip_init()
2448 /* Don't init kfd if whole hive need to be reset during init */ in amdgpu_device_ip_init()
2689 * hive ge in amdgpu_device_ip_late_init()
3335 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev); amdgpu_device_xgmi_reset_func() local
4502 struct amdgpu_hive_info *hive = NULL; amdgpu_device_reset_sriov() local
5157 struct amdgpu_hive_info *hive = NULL; amdgpu_device_gpu_recover() local
[all...]
H A Damdgpu_reset.h40 struct amdgpu_hive_info *hive; member
H A Damdgpu_drv.c2251 struct amdgpu_hive_info *hive; in amdgpu_pci_remove() local
2253 hive = amdgpu_get_xgmi_hive(adev); in amdgpu_pci_remove()
2254 if (hive->device_remove_count == 0) in amdgpu_pci_remove()
2256 hive->device_remove_count++; in amdgpu_pci_remove()
2257 amdgpu_put_xgmi_hive(hive); in amdgpu_pci_remove()
2352 /* reset function will rebuild the xgmi hive info , clear it now */ in amdgpu_drv_delayed_reset_work_handler()
H A Damdgpu_ras.c2029 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev); in amdgpu_ras_do_recovery() local
2032 if (hive && adev->gmc.xgmi.num_physical_nodes > 1) { in amdgpu_ras_do_recovery()
2033 device_list_handle = &hive->device_list; in amdgpu_ras_do_recovery()
2046 amdgpu_put_xgmi_hive(hive); in amdgpu_ras_do_recovery()
H A Damdgpu_psp.c1284 /* Invoke xgmi ta to get hive id */ in psp_xgmi_get_hive_id()
1332 struct amdgpu_hive_info *hive; in psp_xgmi_reflect_topology_info() local
1338 hive = amdgpu_get_xgmi_hive(psp->adev); in psp_xgmi_reflect_topology_info()
1339 list_for_each_entry(mirror_adev, &hive->device_list, gmc.xgmi.head) { in psp_xgmi_reflect_topology_info()
1366 amdgpu_put_xgmi_hive(hive); in psp_xgmi_reflect_topology_info()
H A Damdgpu.h776 struct amdgpu_hive_info *hive; member
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/
H A 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/ \
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_svm.h40 ((adev)->hive ? (void *)(adev)->hive : (void *)(adev))

Completed in 31 milliseconds