Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_priv.h524 struct kfd_process *process;
558 struct kfd_process *process;
660 struct kfd_process *process;
738 struct kfd_process { struct
829 typedef int amdkfd_ioctl_t(struct file *filep, struct kfd_process *p, argument
843 struct kfd_process *kfd_create_process(struct file *filep);
844 struct kfd_process *kfd_get_process(const struct task_struct *);
845 struct kfd_process *kfd_lookup_process_by_pasid(u32 pasid);
846 struct kfd_process *kfd_lookup_process_by_mm(const struct mm_struct *mm);
847 void kfd_unref_process(struct kfd_process *p);
[all …]
H A Dkfd_process.c66 static struct kfd_process *find_process(const struct task_struct *thread);
68 static struct kfd_process *create_process(const struct task_struct *thread);
69 static int kfd_process_init_cwsr_apu(struct kfd_process *p, struct file *filep);
271 struct kfd_process *proc = NULL; in kfd_get_cu_occupancy()
302 struct kfd_process *p = container_of(attr, struct kfd_process, in kfd_procfs_show()
462 struct kfd_process *proc; in kfd_procfs_add_queue()
484 static int kfd_sysfs_create_file(struct kfd_process *p, struct attribute *attr, in kfd_sysfs_create_file()
501 static int kfd_procfs_add_sysfs_stats(struct kfd_process *p) in kfd_procfs_add_sysfs_stats()
567 static int kfd_procfs_add_sysfs_files(struct kfd_process *p) in kfd_procfs_add_sysfs_files()
744 struct kfd_process *kfd_create_process(struct file *filep) in kfd_create_process()
[all …]
H A 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 …]
H A Dkfd_chardev.c111 struct kfd_process *process; in kfd_open()
149 struct kfd_process *process = filep->private_data; in kfd_release()
157 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 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);
H A Dkfd_iommu.c113 struct kfd_process *p = pdd->process; in kfd_iommu_bind_process_to_device()
136 void kfd_iommu_unbind_process(struct kfd_process *p) in kfd_iommu_unbind_process()
149 struct kfd_process *p; in iommu_pasid_shutdown_callback()
221 struct kfd_process *p; in kfd_bind_processes_to_device()
262 struct kfd_process *p; in kfd_unbind_processes_from_device()
H A Dkfd_iommu.h36 void kfd_iommu_unbind_process(struct kfd_process *p);
62 static inline void kfd_iommu_unbind_process(struct kfd_process *p) in kfd_iommu_unbind_process()
H A 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()
H A DMakefile33 $(AMDKFD_PATH)/kfd_process.o \
H A Dkfd_flat_memory.c364 int kfd_init_apertures(struct kfd_process *process) in kfd_init_apertures()
H A 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()
H A Dkfd_doorbell.c126 int kfd_doorbell_mmap(struct kfd_dev *dev, struct kfd_process *process, in kfd_doorbell_mmap()
H A Dkfd_device.c972 struct kfd_process *p; in kgd2kfd_quiesce_mm()
992 struct kfd_process *p; in kgd2kfd_resume_mm()
1020 struct kfd_process *p; in kgd2kfd_schedule_evict_and_restore_process()
H A Dkfd_dbgdev.c760 int dbgdev_wave_reset_wavefronts(struct kfd_dev *dev, struct kfd_process *p) in dbgdev_wave_reset_wavefronts()
H A Dkfd_device_queue_manager.c1987 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in kfd_process_vm_fault()