| /netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
| H A D | kfd_priv.h | 504 struct kfd_process *process; 538 struct kfd_process *process; 625 struct kfd_process *process; 659 struct kfd_process { struct 748 typedef int amdkfd_ioctl_t(struct file *filep, struct kfd_process *p, argument 762 struct kfd_process *kfd_create_process(struct file *filep); 763 struct kfd_process *kfd_get_process(const struct task_struct *); 764 struct kfd_process *kfd_lookup_process_by_pasid(unsigned int pasid); 765 struct kfd_process *kfd_lookup_process_by_mm(const struct mm_struct *mm); 766 void kfd_unref_process(struct kfd_process *p); [all …]
|
| H A D | kfd_process.c | 69 static struct kfd_process *find_process(const struct task_struct *thread); 71 static struct kfd_process *create_process(const struct task_struct *thread); 72 static int kfd_process_init_cwsr_apu(struct kfd_process *p, struct file *filep); 89 struct kfd_process *p = container_of(attr, struct kfd_process, in kfd_procfs_show() 273 struct kfd_process *kfd_create_process(struct file *filep) in kfd_create_process() 275 struct kfd_process *process; in kfd_create_process() 340 struct kfd_process *kfd_get_process(const struct task_struct *thread) in kfd_get_process() 342 struct kfd_process *process; in kfd_get_process() 358 static struct kfd_process *find_process_by_mm(const struct mm_struct *mm) in find_process_by_mm() 360 struct kfd_process *process; in find_process_by_mm() [all …]
|
| H A D | kfd_events.c | 69 static struct kfd_signal_page *allocate_signal_page(struct kfd_process *p) in allocate_signal_page() 99 static int allocate_event_notification_slot(struct kfd_process *p, in allocate_event_notification_slot() 133 static struct kfd_event *lookup_event_by_id(struct kfd_process *p, uint32_t id) in lookup_event_by_id() 156 struct kfd_process *p, uint32_t id, uint32_t bits) in lookup_signaled_event_by_partial_id() 187 struct kfd_process *p, in create_signal_event() 217 static int create_other_event(struct kfd_process *p, struct kfd_event *ev) in create_other_event() 235 void kfd_event_init_process(struct kfd_process *p) in kfd_event_init_process() 243 static void destroy_event(struct kfd_process *p, struct kfd_event *ev) in destroy_event() 260 static void destroy_events(struct kfd_process *p) in destroy_events() 274 static void shutdown_signal_page(struct kfd_process *p) in shutdown_signal_page() [all …]
|
| H A D | kfd_chardev.c | 114 struct kfd_process *process; in kfd_open() 150 struct kfd_process *process = filep->private_data; in kfd_release() 158 static int kfd_ioctl_get_version(struct file *filep, struct kfd_process *p, in kfd_ioctl_get_version() 274 static int kfd_ioctl_create_queue(struct file *filep, struct kfd_process *p, in kfd_ioctl_create_queue() 350 static int kfd_ioctl_destroy_queue(struct file *filp, struct kfd_process *p, in kfd_ioctl_destroy_queue() 368 static int kfd_ioctl_update_queue(struct file *filp, struct kfd_process *p, in kfd_ioctl_update_queue() 414 static int kfd_ioctl_set_cu_mask(struct file *filp, struct kfd_process *p, in kfd_ioctl_set_cu_mask() 470 struct kfd_process *p, void *data) in kfd_ioctl_get_queue_wave_state() 488 struct kfd_process *p, void *data) in kfd_ioctl_set_memory_policy() 540 struct kfd_process *p, void *data) in kfd_ioctl_set_trap_handler() [all …]
|
| H A D | kfd_doorbell.c | 134 int kfd_doorbell_mmap(struct kfd_dev *dev, struct kfd_process *process, in kfd_doorbell_mmap() 234 struct kfd_process *process, in kfd_get_doorbell_dw_offset_in_bar() 260 struct kfd_process *process) in kfd_get_process_doorbells() 266 int kfd_alloc_process_doorbells(struct kfd_process *process) in kfd_alloc_process_doorbells() 276 void kfd_free_process_doorbells(struct kfd_process *process) in kfd_free_process_doorbells()
|
| H A D | kfd_dbgmgr.h | 239 struct kfd_process *process; 248 struct kfd_process *process; 289 long kfd_dbgmgr_register(struct kfd_dbgmgr *pmgr, struct kfd_process *p); 290 long kfd_dbgmgr_unregister(struct kfd_dbgmgr *pmgr, struct kfd_process *p);
|
| H A D | kfd_iommu.c | 114 struct kfd_process *p = pdd->process; in kfd_iommu_bind_process_to_device() 137 void kfd_iommu_unbind_process(struct kfd_process *p) in kfd_iommu_unbind_process() 150 struct kfd_process *p; in iommu_pasid_shutdown_callback() 222 struct kfd_process *p; in kfd_bind_processes_to_device() 263 struct kfd_process *p; in kfd_unbind_processes_from_device()
|
| H A D | kfd_iommu.h | 36 void kfd_iommu_unbind_process(struct kfd_process *p); 59 static inline void kfd_iommu_unbind_process(struct kfd_process *p) in kfd_iommu_unbind_process()
|
| H A D | kfd_dbgmgr.c | 101 long kfd_dbgmgr_register(struct kfd_dbgmgr *pmgr, struct kfd_process *p) in kfd_dbgmgr_register() 121 long kfd_dbgmgr_unregister(struct kfd_dbgmgr *pmgr, struct kfd_process *p) in kfd_dbgmgr_unregister()
|
| H A D | Makefile | 33 $(AMDKFD_PATH)/kfd_process.o \
|
| H A D | kfd_flat_memory.c | 369 int kfd_init_apertures(struct kfd_process *process) in kfd_init_apertures()
|
| H A D | kfd_device.c | 877 struct kfd_process *p; in kgd2kfd_quiesce_mm() 896 struct kfd_process *p; in kgd2kfd_resume_mm() 924 struct kfd_process *p; in kgd2kfd_schedule_evict_and_restore_process()
|
| H A D | kfd_process_queue_manager.c | 132 void kfd_process_dequeue_from_all_devices(struct kfd_process *p) in kfd_process_dequeue_from_all_devices() 140 int pqm_init(struct process_queue_manager *pqm, struct kfd_process *p) in pqm_init()
|
| H A D | kfd_dbgdev.c | 765 int dbgdev_wave_reset_wavefronts(struct kfd_dev *dev, struct kfd_process *p) in dbgdev_wave_reset_wavefronts()
|
| H A D | kfd_device_queue_manager.c | 1913 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in kfd_process_vm_fault()
|