Home
last modified time | relevance | path

Searched refs:kfd_process_device (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_process.c75 static void kfd_process_device_destroy_cwsr_dgpu(struct kfd_process_device *pdd);
88 struct kfd_process_device *pdd;
102 struct kfd_process_device *pdd; in kfd_sdma_activity_worker()
272 struct kfd_process_device *pdd = NULL; in kfd_get_cu_occupancy()
274 pdd = container_of(attr, struct kfd_process_device, attr_cu_occupancy); in kfd_get_cu_occupancy()
307 struct kfd_process_device *pdd = container_of(attr, struct kfd_process_device, in kfd_procfs_show()
311 struct kfd_process_device *pdd = container_of(attr, struct kfd_process_device, in kfd_procfs_show()
399 struct kfd_process_device *pdd = container_of(attr, in kfd_procfs_stats_show()
400 struct kfd_process_device, in kfd_procfs_stats_show()
424 struct kfd_process_device *pdd; in kfd_sysfs_counters_show()
[all …]
H A Dkfd_debug.c71 struct kfd_process_device *pdd = process->pdds[i]; in kfd_dbg_ev_query_debug_event()
132 struct kfd_process_device *pdd = process->pdds[i]; in kfd_dbg_ev_raise()
261 struct kfd_process_device *pdd = NULL; in kfd_dbg_send_exception_to_runtime()
348 int kfd_dbg_set_mes_debug_mode(struct kfd_process_device *pdd, bool sq_trap_en) in kfd_dbg_set_mes_debug_mode()
378 static int kfd_dbg_get_dev_watch_id(struct kfd_process_device *pdd, int *watch_id) in kfd_dbg_get_dev_watch_id()
403 static void kfd_dbg_clear_dev_watch_id(struct kfd_process_device *pdd, int watch_id) in kfd_dbg_clear_dev_watch_id()
416 static bool kfd_dbg_owns_dev_watch_id(struct kfd_process_device *pdd, int watch_id) in kfd_dbg_owns_dev_watch_id()
429 int kfd_dbg_trap_clear_dev_address_watch(struct kfd_process_device *pdd, in kfd_dbg_trap_clear_dev_address_watch()
459 int kfd_dbg_trap_set_dev_address_watch(struct kfd_process_device *pdd, in kfd_dbg_trap_set_dev_address_watch()
528 struct kfd_process_device *pdd = target->pdds[i]; in kfd_dbg_trap_set_flags()
[all …]
H A Dkfd_priv.h730 struct kfd_process_device { struct
841 #define qpd_to_pdd(x) container_of(x, struct kfd_process_device, qpd) argument
896 struct kfd_process_device *pdds[MAX_GPU_INSTANCE];
1026 static inline struct kfd_process_device *kfd_process_device_from_gpuidx( in kfd_process_device_from_gpuidx()
1037 struct kfd_process_device *kfd_process_device_data_by_id(struct kfd_process *process,
1042 int kfd_process_device_init_vm(struct kfd_process_device *pdd,
1044 struct kfd_process_device *kfd_bind_process_to_device(struct kfd_node *dev,
1046 struct kfd_process_device *kfd_get_process_device_data(struct kfd_node *dev,
1048 struct kfd_process_device *kfd_create_process_device_data(struct kfd_node *dev,
1057 int kfd_process_device_create_obj_handle(struct kfd_process_device *pdd,
[all …]
H A Dkfd_doorbell.c110 struct kfd_process_device *pdd; in kfd_doorbell_mmap()
235 phys_addr_t kfd_get_process_doorbells(struct kfd_process_device *pdd) in kfd_get_process_doorbells()
253 int kfd_alloc_process_doorbells(struct kfd_dev *kfd, struct kfd_process_device *pdd) in kfd_alloc_process_doorbells()
293 void kfd_free_process_doorbells(struct kfd_dev *kfd, struct kfd_process_device *pdd) in kfd_free_process_doorbells()
H A Dkfd_flat_memory.c316 static void kfd_init_apertures_vi(struct kfd_process_device *pdd, uint8_t id) in kfd_init_apertures_vi()
337 static void kfd_init_apertures_v9(struct kfd_process_device *pdd, uint8_t id) in kfd_init_apertures_v9()
360 struct kfd_process_device *pdd; in kfd_init_apertures()
H A Dkfd_debug.h58 int kfd_dbg_trap_clear_dev_address_watch(struct kfd_process_device *pdd,
60 int kfd_dbg_trap_set_dev_address_watch(struct kfd_process_device *pdd,
129 int kfd_dbg_set_mes_debug_mode(struct kfd_process_device *pdd, bool sq_trap_en);
H A Dkfd_device_queue_manager_v11.c42 static uint32_t compute_sh_mem_bases_64bit(struct kfd_process_device *pdd) in compute_sh_mem_bases_64bit()
54 struct kfd_process_device *pdd; in update_qpd_v11()
H A Dkfd_device_queue_manager_v10.c43 static uint32_t compute_sh_mem_bases_64bit(struct kfd_process_device *pdd) in compute_sh_mem_bases_64bit()
55 struct kfd_process_device *pdd; in update_qpd_v10()
H A Dkfd_chardev.c69 static inline struct kfd_process_device *kfd_lock_pdd_by_id(struct kfd_process *p, __u32 gpu_id) in kfd_lock_pdd_by_id()
71 struct kfd_process_device *pdd; in kfd_lock_pdd_by_id()
83 static inline void kfd_unlock_pdd(struct kfd_process_device *pdd) in kfd_unlock_pdd()
305 struct kfd_process_device *pdd; in kfd_ioctl_create_queue()
576 struct kfd_process_device *pdd; in kfd_ioctl_set_memory_policy()
630 struct kfd_process_device *pdd; in kfd_ioctl_set_trap_handler()
684 struct kfd_process_device *pdd; in kfd_ioctl_get_clock_counters()
721 struct kfd_process_device *pdd = p->pdds[i]; in kfd_ioctl_get_process_apertures()
796 struct kfd_process_device *pdd = p->pdds[i]; in kfd_ioctl_get_process_apertures_new()
902 struct kfd_process_device *pdd; in kfd_ioctl_set_scratch_backing_va()
[all …]
H A Dkfd_device_queue_manager_v9.c42 static uint32_t compute_sh_mem_bases_64bit(struct kfd_process_device *pdd) in compute_sh_mem_bases_64bit()
54 struct kfd_process_device *pdd; in update_qpd_v9()
H A Dkfd_process_queue_manager.c83 void kfd_process_dequeue_from_device(struct kfd_process_device *pdd) in kfd_process_dequeue_from_device()
105 struct kfd_process_device *pdd; in pqm_set_gws()
183 struct kfd_process_device *pdd; in pqm_clean_queue_resource()
285 struct kfd_process_device *pdd; in pqm_create_queue()
450 struct kfd_process_device *pdd; in pqm_destroy_queue()
666 static int get_queue_data_sizes(struct kfd_process_device *pdd, in get_queue_data_sizes()
696 struct kfd_process_device *pdd = p->pdds[i]; in kfd_process_get_queue_info()
745 static int criu_checkpoint_queue(struct kfd_process_device *pdd, in criu_checkpoint_queue()
792 static int criu_checkpoint_queues_device(struct kfd_process_device *pdd, in criu_checkpoint_queues_device()
869 struct kfd_process_device *pdd = p->pdds[pdd_index]; in kfd_criu_checkpoint_queues()
[all …]
H A Dkfd_packet_manager_v9.c38 struct kfd_process_device *pdd = in pm_map_process_v9()
39 container_of(qpd, struct kfd_process_device, qpd); in pm_map_process_v9()
92 struct kfd_process_device *pdd = in pm_map_process_aldebaran()
93 container_of(qpd, struct kfd_process_device, qpd); in pm_map_process_aldebaran()
H A Dkfd_device_queue_manager.h306 static inline unsigned int get_sh_mem_bases_32(struct kfd_process_device *pdd) in get_sh_mem_bases_32()
312 get_sh_mem_bases_nybble_64(struct kfd_process_device *pdd) in get_sh_mem_bases_nybble_64()
H A Dkfd_device_queue_manager.c192 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in add_queue_mes()
715 struct kfd_process_device *pdd; in dbgdev_wave_reset_wavefronts()
840 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in destroy_queue_nocpsch()
870 struct kfd_process_device *pdd; in update_queue()
976 struct kfd_process_device *pdd, in suspend_single_queue()
1025 struct kfd_process_device *pdd; in resume_single_queue()
1058 struct kfd_process_device *pdd; in evict_process_queues_nocpsch()
1107 struct kfd_process_device *pdd; in evict_process_queues_cpsch()
1165 struct kfd_process_device *pdd; in restore_process_queues_nocpsch()
1244 struct kfd_process_device *pdd; in restore_process_queues_cpsch()
[all …]
H A Dkfd_device_queue_manager_vi.c109 struct kfd_process_device *pdd; in update_qpd_vi()
H A Dkfd_device_queue_manager_cik.c107 struct kfd_process_device *pdd; in update_qpd_cik()
H A Dkfd_svm.c216 struct kfd_process_device *pdd; in svm_range_dma_map()
254 struct kfd_process_device *pdd; in svm_range_free_dma_mappings()
396 struct kfd_process_device *pdd; in svm_range_bo_release()
542 struct kfd_process_device *pdd; in svm_range_vram_node_new()
667 struct kfd_process_device *pdd; in svm_range_get_node_by_id()
679 struct kfd_process_device *
1332 struct kfd_process_device *pdd; in svm_range_unmap_from_gpus()
1384 svm_range_map_to_gpu(struct kfd_process_device *pdd, struct svm_range *prange, in svm_range_map_to_gpu()
1465 struct kfd_process_device *pdd; in svm_range_map_to_gpus()
1527 struct kfd_process_device *pdd; in svm_range_reserve_bos()
[all …]
H A Dkfd_svm.h195 struct kfd_process_device *
H A Dkfd_smi_events.c317 struct kfd_process_device *pdd = p->pdds[i]; in kfd_smi_event_queue_restore_rescheduled()
H A Dkfd_migrate.c401 struct kfd_process_device *pdd; in svm_migrate_vma_to_vram()
694 struct kfd_process_device *pdd; in svm_migrate_vma_to_ram()
H A Dkfd_events.c352 struct kfd_process_device *pdd; in kfd_kmap_event_page()