Home
last modified time | relevance | path

Searched refs:kfd_process_device (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_process.c85 struct kfd_process_device *pdd;
99 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()
[all...]
H A Dkfd_priv.h649 struct kfd_process_device { struct
659 /* The process that owns this kfd_process_device. */
735 #define qpd_to_pdd(x) container_of(x, struct kfd_process_device, qpd)
772 * List of kfd_process_device structures,
853 int kfd_process_device_init_vm(struct kfd_process_device *pdd,
855 struct kfd_process_device *kfd_bind_process_to_device(struct kfd_dev *dev,
857 struct kfd_process_device *kfd_get_process_device_data(struct kfd_dev *dev,
859 struct kfd_process_device *kfd_create_process_device_data(struct kfd_dev *dev,
866 int kfd_process_device_create_obj_handle(struct kfd_process_device *pdd,
868 void *kfd_process_device_translate_handle(struct kfd_process_device *
[all...]
H A Dkfd_iommu.c110 int kfd_iommu_bind_process_to_device(struct kfd_process_device *pdd) in kfd_iommu_bind_process_to_device()
138 struct kfd_process_device *pdd; in kfd_iommu_unbind_process()
150 struct kfd_process_device *pdd; in iommu_pasid_shutdown_callback()
220 struct kfd_process_device *pdd; in kfd_bind_processes_to_device()
261 struct kfd_process_device *pdd; in kfd_unbind_processes_from_device()
H A Dkfd_iommu.h35 int kfd_iommu_bind_process_to_device(struct kfd_process_device *pdd);
58 struct kfd_process_device *pdd) in kfd_iommu_bind_process_to_device()
H A Dkfd_device_queue_manager_v10.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_v10()
H A Dkfd_device_queue_manager_v9.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_v9()
H A Dkfd_flat_memory.c315 static void kfd_init_apertures_vi(struct kfd_process_device *pdd, uint8_t id) in kfd_init_apertures_vi()
345 static void kfd_init_apertures_v9(struct kfd_process_device *pdd, uint8_t id) in kfd_init_apertures_v9()
368 struct kfd_process_device *pdd; in kfd_init_apertures()
H A Dkfd_doorbell.c130 struct kfd_process_device *pdd; in kfd_doorbell_mmap()
230 struct kfd_process_device *pdd, in kfd_get_doorbell_dw_offset_in_bar()
255 phys_addr_t kfd_get_process_doorbells(struct kfd_process_device *pdd) in kfd_get_process_doorbells()
H A Dkfd_process_queue_manager.c67 void kfd_process_dequeue_from_device(struct kfd_process_device *pdd) in kfd_process_dequeue_from_device()
83 struct kfd_process_device *pdd; in pqm_set_gws()
129 struct kfd_process_device *pdd; in kfd_process_dequeue_from_all_devices()
200 struct kfd_process_device *pdd; in pqm_create_queue()
343 struct kfd_process_device *pdd; in pqm_destroy_queue()
H A Dkfd_device_queue_manager.h228 static inline unsigned int get_sh_mem_bases_32(struct kfd_process_device *pdd) in get_sh_mem_bases_32()
234 get_sh_mem_bases_nybble_64(struct kfd_process_device *pdd) in get_sh_mem_bases_nybble_64()
H A Dkfd_device_queue_manager_vi.c156 struct kfd_process_device *pdd; in update_qpd_vi()
197 struct kfd_process_device *pdd; in update_qpd_vi_tonga()
H A Dkfd_device_queue_manager_cik.c119 struct kfd_process_device *pdd; in update_qpd_cik()
153 struct kfd_process_device *pdd; in update_qpd_cik_hawaii()
H A Dkfd_chardev.c281 struct kfd_process_device *pdd; in kfd_ioctl_create_queue()
493 struct kfd_process_device *pdd; in kfd_ioctl_set_memory_policy()
545 struct kfd_process_device *pdd; in kfd_ioctl_set_trap_handler()
577 struct kfd_process_device *pdd; in kfd_ioctl_dbg_register()
877 struct kfd_process_device *pdd; in kfd_ioctl_get_process_apertures()
933 struct kfd_process_device *pdd; in kfd_ioctl_get_process_apertures_new()
1031 struct kfd_process_device *pdd; in kfd_ioctl_create_event()
1131 struct kfd_process_device *pdd; in kfd_ioctl_set_scratch_backing_va()
1209 struct kfd_process_device *pdd; in kfd_ioctl_acquire_vm()
1272 struct kfd_process_device *pd in kfd_ioctl_alloc_memory_of_gpu()
[all...]
/kernel/linux/linux-6.6/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()
398 struct kfd_process_device *pd in kfd_procfs_stats_show()
[all...]
H A Dkfd_priv.h730 struct kfd_process_device { struct
734 /* The process that owns this kfd_process_device. */
841 #define qpd_to_pdd(x) container_of(x, struct kfd_process_device, qpd)
893 * Array of kfd_process_device pointers,
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_dat
[all...]
H A 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 *pd in kfd_dbg_trap_set_flags()
[all...]
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_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_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_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_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_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 *pd in kfd_ioctl_set_scratch_backing_va()
[all...]
H A 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 *pd 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()

Completed in 21 milliseconds

12