Home
last modified time | relevance | path

Searched refs:kfd_process (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_priv.h503 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 …]
Dkfd_process.c63 static struct kfd_process *find_process(const struct task_struct *thread);
65 static struct kfd_process *create_process(const struct task_struct *thread);
66 static int kfd_process_init_cwsr_apu(struct kfd_process *p, struct file *filep);
83 struct kfd_process *p = container_of(attr, struct kfd_process, in kfd_procfs_show()
267 struct kfd_process *kfd_create_process(struct file *filep) in kfd_create_process()
269 struct kfd_process *process; in kfd_create_process()
332 struct kfd_process *kfd_get_process(const struct task_struct *thread) in kfd_get_process()
334 struct kfd_process *process; in kfd_get_process()
350 static struct kfd_process *find_process_by_mm(const struct mm_struct *mm) in find_process_by_mm()
352 struct kfd_process *process; in find_process_by_mm()
[all …]
Dkfd_events.c64 static struct kfd_signal_page *allocate_signal_page(struct kfd_process *p) in allocate_signal_page()
94 static int allocate_event_notification_slot(struct kfd_process *p, in allocate_event_notification_slot()
128 static struct kfd_event *lookup_event_by_id(struct kfd_process *p, uint32_t id) in lookup_event_by_id()
151 struct kfd_process *p, uint32_t id, uint32_t bits) in lookup_signaled_event_by_partial_id()
182 struct kfd_process *p, in create_signal_event()
212 static int create_other_event(struct kfd_process *p, struct kfd_event *ev) in create_other_event()
230 void kfd_event_init_process(struct kfd_process *p) in kfd_event_init_process()
238 static void destroy_event(struct kfd_process *p, struct kfd_event *ev) in destroy_event()
255 static void destroy_events(struct kfd_process *p) in destroy_events()
269 static void shutdown_signal_page(struct kfd_process *p) in shutdown_signal_page()
[all …]
Dkfd_chardev.c107 struct kfd_process *process; in kfd_open()
136 static int kfd_ioctl_get_version(struct file *filep, struct kfd_process *p, in kfd_ioctl_get_version()
252 static int kfd_ioctl_create_queue(struct file *filep, struct kfd_process *p, in kfd_ioctl_create_queue()
329 static int kfd_ioctl_destroy_queue(struct file *filp, struct kfd_process *p, in kfd_ioctl_destroy_queue()
347 static int kfd_ioctl_update_queue(struct file *filp, struct kfd_process *p, in kfd_ioctl_update_queue()
393 static int kfd_ioctl_set_cu_mask(struct file *filp, struct kfd_process *p, in kfd_ioctl_set_cu_mask()
449 struct kfd_process *p, void *data) in kfd_ioctl_get_queue_wave_state()
467 struct kfd_process *p, void *data) in kfd_ioctl_set_memory_policy()
519 struct kfd_process *p, void *data) in kfd_ioctl_set_trap_handler()
551 struct kfd_process *p, void *data) in kfd_ioctl_dbg_register()
[all …]
Dkfd_doorbell.c129 int kfd_doorbell_mmap(struct kfd_dev *dev, struct kfd_process *process, in kfd_doorbell_mmap()
229 struct kfd_process *process, in kfd_doorbell_id_to_offset()
255 struct kfd_process *process) in kfd_get_process_doorbells()
261 int kfd_alloc_process_doorbells(struct kfd_process *process) in kfd_alloc_process_doorbells()
271 void kfd_free_process_doorbells(struct kfd_process *process) in kfd_free_process_doorbells()
Dkfd_dbgmgr.h237 struct kfd_process *process;
246 struct kfd_process *process;
287 long kfd_dbgmgr_register(struct kfd_dbgmgr *pmgr, struct kfd_process *p);
288 long kfd_dbgmgr_unregister(struct kfd_dbgmgr *pmgr, struct kfd_process *p);
Dkfd_iommu.c112 struct kfd_process *p = pdd->process; in kfd_iommu_bind_process_to_device()
135 void kfd_iommu_unbind_process(struct kfd_process *p) in kfd_iommu_unbind_process()
148 struct kfd_process *p; in iommu_pasid_shutdown_callback()
220 struct kfd_process *p; in kfd_bind_processes_to_device()
261 struct kfd_process *p; in kfd_unbind_processes_from_device()
Dkfd_iommu.h34 void kfd_iommu_unbind_process(struct kfd_process *p);
57 static inline void kfd_iommu_unbind_process(struct kfd_process *p) in kfd_iommu_unbind_process()
Dkfd_dbgmgr.c96 long kfd_dbgmgr_register(struct kfd_dbgmgr *pmgr, struct kfd_process *p) in kfd_dbgmgr_register()
116 long kfd_dbgmgr_unregister(struct kfd_dbgmgr *pmgr, struct kfd_process *p) in kfd_dbgmgr_unregister()
DMakefile33 $(AMDKFD_PATH)/kfd_process.o \
Dkfd_flat_memory.c364 int kfd_init_apertures(struct kfd_process *process) in kfd_init_apertures()
Dkfd_device.c880 struct kfd_process *p; in kgd2kfd_quiesce_mm()
899 struct kfd_process *p; in kgd2kfd_resume_mm()
927 struct kfd_process *p; in kgd2kfd_schedule_evict_and_restore_process()
Dkfd_process_queue_manager.c127 void kfd_process_dequeue_from_all_devices(struct kfd_process *p) in kfd_process_dequeue_from_all_devices()
135 int pqm_init(struct process_queue_manager *pqm, struct kfd_process *p) in pqm_init()
Dkfd_dbgdev.c760 int dbgdev_wave_reset_wavefronts(struct kfd_dev *dev, struct kfd_process *p) in dbgdev_wave_reset_wavefronts()
Dkfd_device_queue_manager.c1836 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in kfd_process_vm_fault()