/openbsd/sys/dev/pci/drm/amd/amdkfd/ |
H A D | kfd_svm.h | 158 int svm_range_list_init(struct kfd_process *p); 159 void svm_range_list_fini(struct kfd_process *p); 187 int kfd_criu_checkpoint_svm(struct kfd_process *p, 190 int kfd_criu_restore_svm(struct kfd_process *p, 194 int kfd_criu_resume_svm(struct kfd_process *p); 212 struct kfd_process; 214 static inline int svm_range_list_init(struct kfd_process *p) in svm_range_list_init() 218 static inline void svm_range_list_fini(struct kfd_process *p) in svm_range_list_fini() 238 static inline int svm_range_get_info(struct kfd_process *p, in svm_range_get_info() 254 static inline int kfd_criu_restore_svm(struct kfd_process *p, in kfd_criu_restore_svm() [all …]
|
H A D | kfd_debug.h | 29 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 D | kfd_priv.h | 594 struct kfd_process *process; 634 struct kfd_process *process; 735 struct kfd_process *process; 859 struct kfd_process { struct 947 struct kfd_process *debugger_process; argument 1027 struct kfd_process *p, uint32_t gpuidx) { in kfd_process_device_from_gpuidx() 1045 struct kfd_process *p); 1047 struct kfd_process *p); 1049 struct kfd_process *p); 1274 struct kfd_process *p, [all …]
|
H A D | kfd_process.c | 302 struct kfd_process *p = container_of(attr, struct kfd_process, in kfd_procfs_show() 916 struct kfd_process *p; in find_process() 1118 struct kfd_process *p = container_of(work, struct kfd_process, in kfd_process_wq_release() 1151 struct kfd_process *p = container_of(ref, struct kfd_process, ref); in kfd_process_ref_release() 1215 struct kfd_process *p; in kfd_process_notifier_release() 1258 struct kfd_process *p; in kfd_cleanup_processes() 1647 struct kfd_process *p; in kfd_process_device_init_vm() 1800 struct kfd_process *p; in kfd_lookup_process_by_mm() 1918 struct kfd_process *p; in evict_process_worker() 1955 struct kfd_process *p; in restore_process_worker() [all …]
|
H A D | kfd_events.c | 157 struct kfd_process *p, uint32_t id, uint32_t bits) in lookup_signaled_event_by_partial_id() 241 int kfd_event_init_process(struct kfd_process *p) in kfd_event_init_process() 280 static void destroy_events(struct kfd_process *p) in destroy_events() 296 static void shutdown_signal_page(struct kfd_process *p) in shutdown_signal_page() 308 void kfd_event_free_process(struct kfd_process *p) in kfd_event_free_process() 445 struct kfd_process *p, in kfd_criu_restore_event() 521 int kfd_criu_checkpoint_events(struct kfd_process *p, in kfd_criu_checkpoint_events() 592 int kfd_get_num_events(struct kfd_process *p) in kfd_get_num_events() 798 static int init_event_waiter(struct kfd_process *p, in init_event_waiter() 934 int kfd_wait_on_events(struct kfd_process *p, in kfd_wait_on_events() [all …]
|
H A D | kfd_chardev.c | 130 struct kfd_process *process; in kfd_open() 938 struct kfd_process *p, void *data) in kfd_ioctl_get_tile_config() 2054 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() 3235 struct kfd_process *process; in kfd_ioctl() [all …]
|
H A D | kfd_debug.c | 31 int kfd_dbg_ev_query_debug_event(struct kfd_process *process, in kfd_dbg_ev_query_debug_event() 97 struct kfd_process *process; in debug_event_write_work_handler() 103 struct kfd_process, in debug_event_write_work_handler() 114 struct kfd_process *process, struct kfd_node *dev, in kfd_dbg_ev_raise() 205 struct kfd_process *p; in kfd_set_dbg_ev_from_interrupt() 255 int kfd_dbg_send_exception_to_runtime(struct kfd_process *p, in kfd_dbg_send_exception_to_runtime() 635 int kfd_dbg_trap_disable(struct kfd_process *target) in kfd_dbg_trap_disable() 665 int kfd_dbg_trap_activate(struct kfd_process *target) in kfd_dbg_trap_activate() 740 int kfd_dbg_trap_enable(struct kfd_process *target, uint32_t fd, in kfd_dbg_trap_enable() 864 int kfd_dbg_trap_set_wave_launch_mode(struct kfd_process *target, in kfd_dbg_trap_set_wave_launch_mode() [all …]
|
H A D | kfd_svm.c | 209 struct kfd_process *p; in svm_range_dma_map() 257 struct kfd_process *p; in svm_range_free_dma_mappings() 283 struct kfd_process *p = container_of(prange->svms, struct kfd_process, svms); in svm_range_free() 318 struct kfd_process *p; in svm_range_new() 525 struct kfd_process *p; in svm_range_vram_node_new() 640 struct kfd_process *p; in svm_range_get_node_by_id() 656 struct kfd_process *p; in svm_range_get_pdd_by_node() 1308 struct kfd_process *p; in svm_range_unmap_from_gpus() 1441 struct kfd_process *p; in svm_range_map_to_gpus() 1596 struct kfd_process *p; in svm_range_validate_and_map() [all …]
|
H A D | kfd_device_queue_manager.h | 291 int suspend_queues(struct kfd_process *p, 296 int resume_queues(struct kfd_process *p,
|
H A D | kfd_migrate.c | 398 struct kfd_process *p = container_of(prange->svms, struct kfd_process, svms); in svm_migrate_vma_to_vram() 689 struct kfd_process *p = container_of(prange->svms, struct kfd_process, svms); in svm_migrate_vma_to_ram() 911 struct kfd_process *p; in svm_migrate_to_ram()
|
H A D | kfd_process_queue_manager.c | 159 void kfd_process_dequeue_from_all_devices(struct kfd_process *p) in kfd_process_dequeue_from_all_devices() 167 int pqm_init(struct process_queue_manager *pqm, struct kfd_process *p) in pqm_init() 683 int kfd_process_get_queue_info(struct kfd_process *p, in kfd_process_get_queue_info() 862 int kfd_criu_checkpoint_queues(struct kfd_process *p, in kfd_criu_checkpoint_queues() 904 int kfd_criu_restore_queue(struct kfd_process *p, in kfd_criu_restore_queue()
|
H A D | kfd_flat_memory.c | 356 int kfd_init_apertures(struct kfd_process *process) in kfd_init_apertures()
|
H A D | kfd_doorbell.c | 106 int kfd_doorbell_mmap(struct kfd_node *dev, struct kfd_process *process, in kfd_doorbell_mmap()
|
H A D | kfd_device.c | 1039 struct kfd_process *p; in kgd2kfd_quiesce_mm() 1059 struct kfd_process *p; in kgd2kfd_resume_mm() 1087 struct kfd_process *p; in kgd2kfd_schedule_evict_and_restore_process()
|
H A D | kfd_int_process_v10.c | 136 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in event_interrupt_poison_consumption()
|
H A D | kfd_int_process_v11.c | 195 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in event_interrupt_poison_consumption_v11()
|
H A D | kfd_smi_events.c | 309 struct kfd_process *p; in kfd_smi_event_queue_restore_rescheduled()
|
H A D | kfd_int_process_v9.c | 147 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in event_interrupt_poison_consumption_v9()
|
H A D | kfd_device_queue_manager.c | 693 static int dbgdev_wave_reset_wavefronts(struct kfd_node *dev, struct kfd_process *p) in dbgdev_wave_reset_wavefronts() 2628 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in kfd_dqm_evict_pasid() 2767 struct kfd_process *p; 2776 struct kfd_process *p; in copy_context_work_handler() 2827 int resume_queues(struct kfd_process *p, in resume_queues() 2931 int suspend_queues(struct kfd_process *p, in suspend_queues()
|
/openbsd/sys/dev/pci/drm/ |
H A D | files.drm | 895 #file dev/pci/drm/amd/amdkfd/kfd_process.c amdgpu
|