Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_debug.h29 int kfd_dbg_trap_activate(struct kfd_process *target);
30 int kfd_dbg_ev_query_debug_event(struct kfd_process *process,
42 struct kfd_process *process, struct kfd_node *dev,
46 int kfd_dbg_trap_disable(struct kfd_process *target);
47 int kfd_dbg_trap_enable(struct kfd_process *target, uint32_t fd,
50 int kfd_dbg_trap_set_wave_launch_override(struct kfd_process *target,
56 int kfd_dbg_trap_set_wave_launch_mode(struct kfd_process *target,
65 int kfd_dbg_trap_set_flags(struct kfd_process *target, uint32_t *flags);
66 int kfd_dbg_trap_query_exception_info(struct kfd_process *target,
72 int kfd_dbg_send_exception_to_runtime(struct kfd_process *p,
[all …]
H A Dkfd_svm.h163 int svm_range_list_init(struct kfd_process *p);
164 void svm_range_list_fini(struct kfd_process *p);
189 int kfd_criu_checkpoint_svm(struct kfd_process *p,
192 int kfd_criu_restore_svm(struct kfd_process *p,
196 int kfd_criu_resume_svm(struct kfd_process *p);
214 struct kfd_process;
216 static inline int svm_range_list_init(struct kfd_process *p) in svm_range_list_init()
220 static inline void svm_range_list_fini(struct kfd_process *p) in svm_range_list_fini()
240 static inline int svm_range_get_info(struct kfd_process *p, in svm_range_get_info()
256 static inline int kfd_criu_restore_svm(struct kfd_process *p, in kfd_criu_restore_svm()
[all …]
H A Dkfd_priv.h605 struct kfd_process *process;
645 struct kfd_process *process;
746 struct kfd_process *process;
880 struct kfd_process { struct
968 struct kfd_process *debugger_process; argument
1048 struct kfd_process *p, uint32_t gpuidx) { in kfd_process_device_from_gpuidx()
1066 struct kfd_process *p);
1068 struct kfd_process *p);
1070 struct kfd_process *p);
1296 struct kfd_process *p,
[all …]
H A Dkfd_process.c328 struct kfd_process *p = container_of(attr, struct kfd_process, in kfd_procfs_show()
943 struct kfd_process *p; in find_process()
1145 struct kfd_process *p = container_of(work, struct kfd_process, in kfd_process_wq_release()
1181 struct kfd_process *p = container_of(ref, struct kfd_process, ref); in kfd_process_ref_release()
1245 struct kfd_process *p; in kfd_process_notifier_release()
1288 struct kfd_process *p; in kfd_cleanup_processes()
1684 struct kfd_process *p; in kfd_process_device_init_vm()
1841 struct kfd_process *p; in kfd_lookup_process_by_mm()
1981 struct kfd_process *p; in evict_process_worker()
2032 struct kfd_process *p; in restore_process_worker()
[all …]
H A Dkfd_events.c158 struct kfd_process *p, uint32_t id, uint32_t bits) in lookup_signaled_event_by_partial_id()
242 int kfd_event_init_process(struct kfd_process *p) in kfd_event_init_process()
281 static void destroy_events(struct kfd_process *p) in destroy_events()
297 static void shutdown_signal_page(struct kfd_process *p) in shutdown_signal_page()
309 void kfd_event_free_process(struct kfd_process *p) in kfd_event_free_process()
446 struct kfd_process *p, in kfd_criu_restore_event()
522 int kfd_criu_checkpoint_events(struct kfd_process *p, in kfd_criu_checkpoint_events()
593 int kfd_get_num_events(struct kfd_process *p) in kfd_get_num_events()
799 static int init_event_waiter(struct kfd_process *p, in init_event_waiter()
939 int kfd_wait_on_events(struct kfd_process *p, in kfd_wait_on_events()
[all …]
H A Dkfd_chardev.c130 struct kfd_process *process; in kfd_open()
922 struct kfd_process *p, void *data) in kfd_ioctl_get_tile_config()
2049 struct kfd_process *p, in criu_checkpoint()
2495 struct kfd_process *p, in criu_restore_objects()
2551 struct kfd_process *p, in criu_restore()
2607 struct kfd_process *p, in criu_unpause()
2631 struct kfd_process *p, in criu_resume()
2634 struct kfd_process *target = NULL; in criu_resume()
2676 struct kfd_process *p, in criu_process_info()
3236 struct kfd_process *process; in kfd_ioctl()
[all …]
H A Dkfd_debug.c32 int kfd_dbg_ev_query_debug_event(struct kfd_process *process, in kfd_dbg_ev_query_debug_event()
98 struct kfd_process *process; in debug_event_write_work_handler()
104 struct kfd_process, in debug_event_write_work_handler()
115 struct kfd_process *process, struct kfd_node *dev, in kfd_dbg_ev_raise()
206 struct kfd_process *p; in kfd_set_dbg_ev_from_interrupt()
256 int kfd_dbg_send_exception_to_runtime(struct kfd_process *p, in kfd_dbg_send_exception_to_runtime()
646 int kfd_dbg_trap_disable(struct kfd_process *target) in kfd_dbg_trap_disable()
676 int kfd_dbg_trap_activate(struct kfd_process *target) in kfd_dbg_trap_activate()
751 int kfd_dbg_trap_enable(struct kfd_process *target, uint32_t fd, in kfd_dbg_trap_enable()
875 int kfd_dbg_trap_set_wave_launch_mode(struct kfd_process *target, in kfd_dbg_trap_set_wave_launch_mode()
[all …]
H A Dkfd_svm.c210 struct kfd_process *p; in svm_range_dma_map()
258 struct kfd_process *p; in svm_range_dma_unmap()
282 struct kfd_process *p = container_of(prange->svms, struct kfd_process, svms); in svm_range_free()
329 struct kfd_process *p; in svm_range_new()
411 struct kfd_process *p; in svm_range_bo_release()
561 struct kfd_process *p; in svm_range_vram_node_new()
680 struct kfd_process *p; in svm_range_get_node_by_id()
696 struct kfd_process *p; in svm_range_get_pdd_by_node()
1330 struct kfd_process *p; in svm_range_unmap_from_gpus()
1463 struct kfd_process *p; in svm_range_map_to_gpus()
[all …]
H A Dkfd_device_queue_manager.h313 int suspend_queues(struct kfd_process *p,
318 int resume_queues(struct kfd_process *p,
H A DMakefile33 $(AMDKFD_PATH)/kfd_process.o \
H A Dkfd_migrate.c385 struct kfd_process *p = container_of(prange->svms, struct kfd_process, svms); in svm_migrate_vma_to_vram()
684 struct kfd_process *p = container_of(prange->svms, struct kfd_process, svms); in svm_migrate_vma_to_ram()
936 struct kfd_process *p; in svm_migrate_to_ram()
H A Dkfd_flat_memory.c363 int kfd_init_apertures(struct kfd_process *process) in kfd_init_apertures()
H A Dkfd_process_queue_manager.c163 void kfd_process_dequeue_from_all_devices(struct kfd_process *p) in kfd_process_dequeue_from_all_devices()
171 int pqm_init(struct process_queue_manager *pqm, struct kfd_process *p) in pqm_init()
747 int kfd_process_get_queue_info(struct kfd_process *p, in kfd_process_get_queue_info()
926 int kfd_criu_checkpoint_queues(struct kfd_process *p, in kfd_criu_checkpoint_queues()
968 int kfd_criu_restore_queue(struct kfd_process *p, in kfd_criu_restore_queue()
H A Dkfd_queue.c92 struct kfd_process *p = pdd->process; in kfd_queue_buffer_svm_get()
153 struct kfd_process *p = pdd->process; in kfd_queue_buffer_svm_put()
H A Dkfd_doorbell.c106 int kfd_doorbell_mmap(struct kfd_node *dev, struct kfd_process *process, in kfd_doorbell_mmap()
H A Dkfd_device.c1109 struct kfd_process *p; in kgd2kfd_quiesce_mm()
1129 struct kfd_process *p; in kgd2kfd_resume_mm()
1157 struct kfd_process *p; in kgd2kfd_schedule_evict_and_restore_process()
H A Dkfd_int_process_v11.c197 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in event_interrupt_poison_consumption_v11()
H A Dkfd_smi_events.c320 struct kfd_process *p; in kfd_smi_event_queue_restore_rescheduled()
H A Dkfd_device_queue_manager.c748 static int dbgdev_wave_reset_wavefronts(struct kfd_node *dev, struct kfd_process *p) in dbgdev_wave_reset_wavefronts()
2938 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in kfd_dqm_suspend_bad_queue_mes()
3027 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in kfd_dqm_evict_pasid()
3173 struct kfd_process *p;
3182 struct kfd_process *p; in copy_context_work_handler()
3233 int resume_queues(struct kfd_process *p, in resume_queues()
3338 int suspend_queues(struct kfd_process *p, in suspend_queues()
H A Dkfd_int_process_v9.c149 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in event_interrupt_poison_consumption_v9()