Home
last modified time | relevance | path

Searched refs:kfd_process_device (Results 1 – 20 of 20) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c77 static void kfd_process_device_destroy_cwsr_dgpu(struct kfd_process_device *pdd);
90 struct kfd_process_device *pdd;
104 struct kfd_process_device *pdd; in kfd_sdma_activity_worker()
274 struct kfd_process_device *pdd = NULL; in kfd_get_cu_occupancy()
276 pdd = container_of(attr, struct kfd_process_device, attr_cu_occupancy); in kfd_get_cu_occupancy()
309 struct kfd_process_device *pdd = container_of(attr, struct kfd_process_device, in kfd_procfs_show()
313 struct kfd_process_device *pdd = container_of(attr, struct kfd_process_device, in kfd_procfs_show()
400 struct kfd_process_device *pdd = container_of(attr, in kfd_procfs_stats_show()
401 struct kfd_process_device, in kfd_procfs_stats_show()
425 struct kfd_process_device *pdd; in kfd_sysfs_counters_show()
[all …]
Dkfd_priv.h697 struct kfd_process_device { struct
797 #define qpd_to_pdd(x) container_of(x, struct kfd_process_device, qpd) argument
852 struct kfd_process_device *pdds[MAX_GPU_INSTANCE];
944 static inline struct kfd_process_device *kfd_process_device_from_gpuidx( in kfd_process_device_from_gpuidx()
955 struct kfd_process_device *kfd_process_device_data_by_id(struct kfd_process *process,
960 int kfd_process_device_init_vm(struct kfd_process_device *pdd,
962 struct kfd_process_device *kfd_bind_process_to_device(struct kfd_dev *dev,
964 struct kfd_process_device *kfd_get_process_device_data(struct kfd_dev *dev,
966 struct kfd_process_device *kfd_create_process_device_data(struct kfd_dev *dev,
975 int kfd_process_device_create_obj_handle(struct kfd_process_device *pdd,
[all …]
Dkfd_iommu.h36 int kfd_iommu_bind_process_to_device(struct kfd_process_device *pdd);
59 struct kfd_process_device *pdd) in kfd_iommu_bind_process_to_device()
Dkfd_flat_memory.c316 static void kfd_init_apertures_vi(struct kfd_process_device *pdd, uint8_t id) in kfd_init_apertures_vi()
346 static void kfd_init_apertures_v9(struct kfd_process_device *pdd, uint8_t id) in kfd_init_apertures_v9()
369 struct kfd_process_device *pdd; in kfd_init_apertures()
Dkfd_iommu.c110 int kfd_iommu_bind_process_to_device(struct kfd_process_device *pdd) in kfd_iommu_bind_process_to_device()
150 struct kfd_process_device *pdd; in iommu_pasid_shutdown_callback()
209 struct kfd_process_device *pdd; in kfd_bind_processes_to_device()
250 struct kfd_process_device *pdd; in kfd_unbind_processes_from_device()
Dkfd_device_queue_manager_v10.c43 static uint32_t compute_sh_mem_bases_64bit(struct kfd_process_device *pdd) in compute_sh_mem_bases_64bit()
55 struct kfd_process_device *pdd; in update_qpd_v10()
Dkfd_device_queue_manager_v11.c42 static uint32_t compute_sh_mem_bases_64bit(struct kfd_process_device *pdd) in compute_sh_mem_bases_64bit()
54 struct kfd_process_device *pdd; in update_qpd_v11()
Dkfd_device_queue_manager_v9.c44 static uint32_t compute_sh_mem_bases_64bit(struct kfd_process_device *pdd) in compute_sh_mem_bases_64bit()
56 struct kfd_process_device *pdd; in update_qpd_v9()
Dkfd_process_queue_manager.c82 void kfd_process_dequeue_from_device(struct kfd_process_device *pdd) in kfd_process_dequeue_from_device()
98 struct kfd_process_device *pdd; in pqm_set_gws()
238 struct kfd_process_device *pdd; in pqm_create_queue()
388 struct kfd_process_device *pdd; in pqm_destroy_queue()
568 static int get_queue_data_sizes(struct kfd_process_device *pdd, in get_queue_data_sizes()
598 struct kfd_process_device *pdd = p->pdds[i]; in kfd_process_get_queue_info()
647 static int criu_checkpoint_queue(struct kfd_process_device *pdd, in criu_checkpoint_queue()
694 static int criu_checkpoint_queues_device(struct kfd_process_device *pdd, in criu_checkpoint_queues_device()
771 struct kfd_process_device *pdd = p->pdds[pdd_index]; in kfd_criu_checkpoint_queues()
813 struct kfd_process_device *pdd; in kfd_criu_restore_queue()
Dkfd_chardev.c68 static inline struct kfd_process_device *kfd_lock_pdd_by_id(struct kfd_process *p, __u32 gpu_id) in kfd_lock_pdd_by_id()
70 struct kfd_process_device *pdd; in kfd_lock_pdd_by_id()
82 static inline void kfd_unlock_pdd(struct kfd_process_device *pdd) in kfd_unlock_pdd()
299 struct kfd_process_device *pdd; in kfd_ioctl_create_queue()
563 struct kfd_process_device *pdd; in kfd_ioctl_set_memory_policy()
617 struct kfd_process_device *pdd; in kfd_ioctl_set_trap_handler()
671 struct kfd_process_device *pdd; in kfd_ioctl_get_clock_counters()
708 struct kfd_process_device *pdd = p->pdds[i]; in kfd_ioctl_get_process_apertures()
783 struct kfd_process_device *pdd = p->pdds[i]; in kfd_ioctl_get_process_apertures_new()
889 struct kfd_process_device *pdd; in kfd_ioctl_set_scratch_backing_va()
[all …]
Dkfd_doorbell.c145 struct kfd_process_device *pdd; in kfd_doorbell_mmap()
247 struct kfd_process_device *pdd, in kfd_get_doorbell_dw_offset_in_bar()
278 phys_addr_t kfd_get_process_doorbells(struct kfd_process_device *pdd) in kfd_get_process_doorbells()
Dkfd_device_queue_manager_cik.c120 struct kfd_process_device *pdd; in update_qpd_cik()
154 struct kfd_process_device *pdd; in update_qpd_cik_hawaii()
Dkfd_device_queue_manager_vi.c157 struct kfd_process_device *pdd; in update_qpd_vi()
198 struct kfd_process_device *pdd; in update_qpd_vi_tonga()
Dkfd_device_queue_manager.h283 static inline unsigned int get_sh_mem_bases_32(struct kfd_process_device *pdd) in get_sh_mem_bases_32()
289 get_sh_mem_bases_nybble_64(struct kfd_process_device *pdd) in get_sh_mem_bases_nybble_64()
Dkfd_device_queue_manager.c177 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in add_queue_mes()
671 struct kfd_process_device *pdd; in dbgdev_wave_reset_wavefronts()
793 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in destroy_queue_nocpsch()
823 struct kfd_process_device *pdd; in update_queue()
925 struct kfd_process_device *pdd; in evict_process_queues_nocpsch()
974 struct kfd_process_device *pdd; in evict_process_queues_cpsch()
1023 struct kfd_process_device *pdd; in restore_process_queues_nocpsch()
1102 struct kfd_process_device *pdd; in restore_process_queues_cpsch()
1159 struct kfd_process_device *pdd; in register_process()
1855 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in destroy_queue_cpsch()
[all …]
Dkfd_svm.c206 struct kfd_process_device *pdd; in svm_range_dma_map()
244 struct kfd_process_device *pdd; in svm_range_free_dma_mappings()
613 struct kfd_process_device *pdd; in svm_range_get_adev_by_id()
633 struct kfd_process_device *
1228 struct kfd_process_device *pdd; in svm_range_unmap_from_gpus()
1280 svm_range_map_to_gpu(struct kfd_process_device *pdd, struct svm_range *prange, in svm_range_map_to_gpu()
1357 struct kfd_process_device *pdd; in svm_range_map_to_gpus()
1423 struct kfd_process_device *pdd; in svm_range_reserve_bos()
1480 struct kfd_process_device *pdd; in kfd_svm_page_owner()
2145 struct kfd_process_device *pdd; in svm_range_drain_retry_fault()
[all …]
Dkfd_svm.h194 struct kfd_process_device *
Dkfd_smi_events.c317 struct kfd_process_device *pdd = p->pdds[i]; in kfd_smi_event_queue_restore_rescheduled()
Dkfd_migrate.c411 struct kfd_process_device *pdd; in svm_migrate_vma_to_vram()
675 struct kfd_process_device *pdd; in svm_migrate_vma_to_ram()
Dkfd_events.c352 struct kfd_process_device *pdd; in kfd_kmap_event_page()