Home
last modified time | relevance | path

Searched refs:n_pdds (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c551 for (i = 0; i < p->n_pdds; i++) { in kfd_procfs_add_sysfs_stats()
599 for_each_set_bit(i, p->svms.bitmap_supported, p->n_pdds) { in kfd_procfs_add_sysfs_counters()
640 for (i = 0; i < p->n_pdds; i++) { in kfd_procfs_add_sysfs_files()
963 for (i = 0; i < p->n_pdds; i++) { in kfd_process_device_free_bos()
1013 for (i = 0; i < p->n_pdds; i++) in kfd_process_free_outstanding_kfd_bos()
1021 for (i = 0; i < p->n_pdds; i++) { in kfd_process_destroy_pdds()
1061 p->n_pdds = 0; in kfd_process_destroy_pdds()
1077 for (i = 0; i < p->n_pdds; i++) { in kfd_process_remove_sysfs()
1092 for_each_set_bit(i, p->svms.bitmap_supported, p->n_pdds) { in kfd_process_remove_sysfs()
1208 for (i = 0; i < p->n_pdds; i++) { in kfd_process_init_cwsr_apu()
[all …]
Dkfd_chardev.c707 for (i = 0; i < p->n_pdds; i++) { in kfd_ioctl_get_process_apertures()
760 args->num_of_nodes = p->n_pdds; in kfd_ioctl_get_process_apertures_new()
775 if (!p->n_pdds) { in kfd_ioctl_get_process_apertures_new()
782 for (i = 0; i < min(p->n_pdds, args->num_of_nodes); i++) { in kfd_ioctl_get_process_apertures_new()
1742 for (i = 0; i < p->n_pdds; i++) { in get_process_num_bos()
1805 for (pdd_index = 0; pdd_index < p->n_pdds; pdd_index++) { in criu_checkpoint_bos()
1865 for (i = 0; i < p->n_pdds; i++) { in criu_checkpoint_bos()
1920 *num_devices = p->n_pdds; in criu_get_process_object_info()
1960 if (!p->n_pdds) { in criu_checkpoint()
2087 if (args->num_devices != p->n_pdds) in criu_restore_devices()
[all …]
Dkfd_priv.h853 uint32_t n_pdds; member
942 return gpuidx < p->n_pdds ? p->pdds[gpuidx]->dev->id : -EINVAL; in kfd_process_gpuid_from_gpuidx()
946 return gpuidx < p->n_pdds ? p->pdds[gpuidx] : NULL; in kfd_process_device_from_gpuidx()
Dkfd_process_queue_manager.c146 for (i = 0; i < p->n_pdds; i++) in kfd_process_dequeue_from_all_devices()
597 for (i = 0; i < p->n_pdds; i++) { in kfd_process_get_queue_info()
770 for (pdd_index = 0; pdd_index < p->n_pdds; pdd_index++) { in kfd_criu_checkpoint_queues()
Dkfd_iommu.c140 for (i = 0; i < p->n_pdds; i++) in kfd_iommu_unbind_process()
Dkfd_svm.c2166 for_each_set_bit(i, svms->bitmap_supported, p->n_pdds) { in svm_range_drain_retry_fault()
2612 for (i = 0; i < p->n_pdds; i++) { in svm_range_check_vm_userptr()
3074 for (i = 0; i < p->n_pdds; i++) in svm_range_list_init()
3110 for (i = 0; i < p->n_pdds; i++) { in svm_range_check_vm()
3700 num_attrs = nattr_common + (nattr_accessibility * p->n_pdds); in kfd_criu_resume_svm()
3792 num_devices = p->n_pdds; in kfd_criu_restore_svm()
3838 int num_devices = p->n_pdds; in svm_range_get_info()
3901 int num_devices = p->n_pdds; in kfd_criu_checkpoint_svm()
Dkfd_smi_events.c316 for (i = 0; i < p->n_pdds; i++) { in kfd_smi_event_queue_restore_rescheduled()