Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdkfd/
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()
398 struct kfd_process_device *pdd = container_of(attr, in kfd_procfs_stats_show()
399 struct kfd_process_device, in kfd_procfs_stats_show()
423 struct kfd_process_device *pdd; in kfd_sysfs_counters_show()
[all …]
Dkfd_debug.c71 struct kfd_process_device *pdd = process->pdds[i]; in kfd_dbg_ev_query_debug_event()
131 struct kfd_process_device *pdd = process->pdds[i]; in kfd_dbg_ev_raise()
260 struct kfd_process_device *pdd = NULL; in kfd_dbg_send_exception_to_runtime()
347 int kfd_dbg_set_mes_debug_mode(struct kfd_process_device *pdd, bool sq_trap_en) in kfd_dbg_set_mes_debug_mode()
360 static int kfd_dbg_get_dev_watch_id(struct kfd_process_device *pdd, int *watch_id) in kfd_dbg_get_dev_watch_id()
385 static void kfd_dbg_clear_dev_watch_id(struct kfd_process_device *pdd, int watch_id) in kfd_dbg_clear_dev_watch_id()
398 static bool kfd_dbg_owns_dev_watch_id(struct kfd_process_device *pdd, int watch_id) in kfd_dbg_owns_dev_watch_id()
411 int kfd_dbg_trap_clear_dev_address_watch(struct kfd_process_device *pdd, in kfd_dbg_trap_clear_dev_address_watch()
441 int kfd_dbg_trap_set_dev_address_watch(struct kfd_process_device *pdd, in kfd_dbg_trap_set_dev_address_watch()
510 struct kfd_process_device *pdd = target->pdds[i]; in kfd_dbg_trap_set_flags()
[all …]
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 …]
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()
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()
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 …]
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);
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()
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()
Dkfd_process_queue_manager.c82 void kfd_process_dequeue_from_device(struct kfd_process_device *pdd) in kfd_process_dequeue_from_device()
100 struct kfd_process_device *pdd; in pqm_set_gws()
178 struct kfd_process_device *pdd; in pqm_clean_queue_resource()
280 struct kfd_process_device *pdd; in pqm_create_queue()
445 struct kfd_process_device *pdd; in pqm_destroy_queue()
661 static int get_queue_data_sizes(struct kfd_process_device *pdd, in get_queue_data_sizes()
691 struct kfd_process_device *pdd = p->pdds[i]; in kfd_process_get_queue_info()
740 static int criu_checkpoint_queue(struct kfd_process_device *pdd, in criu_checkpoint_queue()
787 static int criu_checkpoint_queues_device(struct kfd_process_device *pdd, in criu_checkpoint_queues_device()
864 struct kfd_process_device *pdd = p->pdds[pdd_index]; in kfd_criu_checkpoint_queues()
[all …]
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()
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()
Dkfd_device_queue_manager.c192 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in add_queue_mes()
700 struct kfd_process_device *pdd; in dbgdev_wave_reset_wavefronts()
825 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in destroy_queue_nocpsch()
855 struct kfd_process_device *pdd; in update_queue()
961 struct kfd_process_device *pdd, in suspend_single_queue()
1010 struct kfd_process_device *pdd; in resume_single_queue()
1043 struct kfd_process_device *pdd; in evict_process_queues_nocpsch()
1092 struct kfd_process_device *pdd; in evict_process_queues_cpsch()
1150 struct kfd_process_device *pdd; in restore_process_queues_nocpsch()
1229 struct kfd_process_device *pdd; in restore_process_queues_cpsch()
[all …]
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()
Dkfd_device_queue_manager_vi.c109 struct kfd_process_device *pdd; in update_qpd_vi()
Dkfd_device_queue_manager_cik.c107 struct kfd_process_device *pdd; in update_qpd_cik()
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()
641 struct kfd_process_device *pdd; in svm_range_get_node_by_id()
653 struct kfd_process_device *
1306 struct kfd_process_device *pdd; in svm_range_unmap_from_gpus()
1358 svm_range_map_to_gpu(struct kfd_process_device *pdd, struct svm_range *prange, in svm_range_map_to_gpu()
1439 struct kfd_process_device *pdd; in svm_range_map_to_gpus()
1501 struct kfd_process_device *pdd; in svm_range_reserve_bos()
1557 struct kfd_process_device *pdd; in kfd_svm_page_owner()
2250 struct kfd_process_device *pdd; in svm_range_drain_retry_fault()
[all …]
Dkfd_svm.h195 struct kfd_process_device *
Dkfd_smi_events.c317 struct kfd_process_device *pdd = p->pdds[i]; in kfd_smi_event_queue_restore_rescheduled()
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()
Dkfd_events.c352 struct kfd_process_device *pdd; in kfd_kmap_event_page()