/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_process.c | 75 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() 277 pdd = container_of(attr, struct kfd_process_device, attr_cu_occupancy); in kfd_get_cu_occupancy() 336 struct kfd_process_device *pdd = container_of(attr, struct kfd_process_device, in kfd_procfs_show() 340 struct kfd_process_device *pdd = container_of(attr, struct kfd_process_device, in kfd_procfs_show() 428 struct kfd_process_device *pdd = container_of(attr, in kfd_procfs_stats_show() 429 struct kfd_process_device, in kfd_procfs_stats_show() 453 struct kfd_process_device *pdd; in kfd_sysfs_counters_show() [all …]
|
H A D | kfd_priv.h | 741 struct kfd_process_device { struct 854 #define qpd_to_pdd(x) container_of(x, struct kfd_process_device, qpd) argument 917 struct kfd_process_device *pdds[MAX_GPU_INSTANCE]; 1047 static inline struct kfd_process_device *kfd_process_device_from_gpuidx( in kfd_process_device_from_gpuidx() 1058 struct kfd_process_device *kfd_process_device_data_by_id(struct kfd_process *process, 1063 int kfd_process_device_init_vm(struct kfd_process_device *pdd, 1065 struct kfd_process_device *kfd_bind_process_to_device(struct kfd_node *dev, 1067 struct kfd_process_device *kfd_get_process_device_data(struct kfd_node *dev, 1069 struct kfd_process_device *kfd_create_process_device_data(struct kfd_node *dev, 1078 int kfd_process_device_create_obj_handle(struct kfd_process_device *pdd, [all …]
|
H A D | kfd_debug.c | 72 struct kfd_process_device *pdd = process->pdds[i]; in kfd_dbg_ev_query_debug_event() 133 struct kfd_process_device *pdd = process->pdds[i]; in kfd_dbg_ev_raise() 262 struct kfd_process_device *pdd = NULL; in kfd_dbg_send_exception_to_runtime() 349 int kfd_dbg_set_mes_debug_mode(struct kfd_process_device *pdd, bool sq_trap_en) in kfd_dbg_set_mes_debug_mode() 379 static int kfd_dbg_get_dev_watch_id(struct kfd_process_device *pdd, int *watch_id) in kfd_dbg_get_dev_watch_id() 404 static void kfd_dbg_clear_dev_watch_id(struct kfd_process_device *pdd, int watch_id) in kfd_dbg_clear_dev_watch_id() 417 static bool kfd_dbg_owns_dev_watch_id(struct kfd_process_device *pdd, int watch_id) in kfd_dbg_owns_dev_watch_id() 430 int kfd_dbg_trap_clear_dev_address_watch(struct kfd_process_device *pdd, in kfd_dbg_trap_clear_dev_address_watch() 460 int kfd_dbg_trap_set_dev_address_watch(struct kfd_process_device *pdd, in kfd_dbg_trap_set_dev_address_watch() 539 struct kfd_process_device *pdd = target->pdds[i]; in kfd_dbg_trap_set_flags() [all …]
|
H A D | kfd_queue.c | 90 static int kfd_queue_buffer_svm_get(struct kfd_process_device *pdd, u64 addr, u64 size) in kfd_queue_buffer_svm_get() 151 static void kfd_queue_buffer_svm_put(struct kfd_process_device *pdd, u64 addr, u64 size) in kfd_queue_buffer_svm_put() 185 static int kfd_queue_buffer_svm_get(struct kfd_process_device *pdd, u64 addr, u64 size) in kfd_queue_buffer_svm_get() 190 static void kfd_queue_buffer_svm_put(struct kfd_process_device *pdd, u64 addr, u64 size) in kfd_queue_buffer_svm_put() 233 int kfd_queue_acquire_buffers(struct kfd_process_device *pdd, struct queue_properties *properties) in kfd_queue_acquire_buffers() 331 int kfd_queue_release_buffers(struct kfd_process_device *pdd, struct queue_properties *properties) in kfd_queue_release_buffers() 364 int kfd_queue_unref_bo_vas(struct kfd_process_device *pdd, in kfd_queue_unref_bo_vas()
|
H A D | kfd_doorbell.c | 110 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 D | kfd_flat_memory.c | 317 static void kfd_init_apertures_vi(struct kfd_process_device *pdd, uint8_t id) in kfd_init_apertures_vi() 344 static void kfd_init_apertures_v9(struct kfd_process_device *pdd, uint8_t id) in kfd_init_apertures_v9() 367 struct kfd_process_device *pdd; in kfd_init_apertures()
|
H A D | kfd_debug.h | 58 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, 130 int kfd_dbg_set_mes_debug_mode(struct kfd_process_device *pdd, bool sq_trap_en);
|
H A D | kfd_chardev.c | 70 static inline struct kfd_process_device *kfd_lock_pdd_by_id(struct kfd_process *p, __u32 gpu_id) in kfd_lock_pdd_by_id() 72 struct kfd_process_device *pdd; in kfd_lock_pdd_by_id() 84 static inline void kfd_unlock_pdd(struct kfd_process_device *pdd) in kfd_unlock_pdd() 308 struct kfd_process_device *pdd; in kfd_ioctl_create_queue() 560 struct kfd_process_device *pdd; in kfd_ioctl_set_memory_policy() 614 struct kfd_process_device *pdd; in kfd_ioctl_set_trap_handler() 668 struct kfd_process_device *pdd; in kfd_ioctl_get_clock_counters() 705 struct kfd_process_device *pdd = p->pdds[i]; in kfd_ioctl_get_process_apertures() 780 struct kfd_process_device *pdd = p->pdds[i]; in kfd_ioctl_get_process_apertures_new() 886 struct kfd_process_device *pdd; in kfd_ioctl_set_scratch_backing_va() [all …]
|
H A D | kfd_process_queue_manager.c | 83 void kfd_process_dequeue_from_device(struct kfd_process_device *pdd) in kfd_process_dequeue_from_device() 106 struct kfd_process_device *pdd; in pqm_set_gws() 187 struct kfd_process_device *pdd; in pqm_clean_queue_resource() 218 struct kfd_process_device *pdd = kfd_get_process_device_data(pqn->q->device, in pqm_uninit() 315 struct kfd_process_device *pdd; in pqm_create_queue() 482 struct kfd_process_device *pdd; in pqm_destroy_queue() 566 struct kfd_process_device *pdd; in pqm_update_queue_properties() 733 static int get_queue_data_sizes(struct kfd_process_device *pdd, in get_queue_data_sizes() 763 struct kfd_process_device *pdd = p->pdds[i]; in kfd_process_get_queue_info() 812 static int criu_checkpoint_queue(struct kfd_process_device *pdd, in criu_checkpoint_queue() [all …]
|
H A D | kfd_device_queue_manager_v10.c | 43 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 D | kfd_device_queue_manager_v11.c | 42 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 D | kfd_device_queue_manager_v12.c | 42 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_v12()
|
H A D | kfd_device_queue_manager_v9.c | 42 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 D | kfd_packet_manager_v9.c | 38 struct kfd_process_device *pdd = in pm_map_process_v9() 39 container_of(qpd, struct kfd_process_device, qpd); in pm_map_process_v9() 96 struct kfd_process_device *pdd = in pm_map_process_aldebaran() 97 container_of(qpd, struct kfd_process_device, qpd); in pm_map_process_aldebaran()
|
H A D | kfd_device_queue_manager.c | 164 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in kfd_hws_hang() 200 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in add_queue_mes() 801 struct kfd_process_device *pdd; in dbgdev_wave_reset_wavefronts() 927 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in destroy_queue_nocpsch() 958 struct kfd_process_device *pdd; in update_queue() 1070 struct kfd_process_device *pdd, in suspend_single_queue() 1119 struct kfd_process_device *pdd; in resume_single_queue() 1152 struct kfd_process_device *pdd; in evict_process_queues_nocpsch() 1202 struct kfd_process_device *pdd; in evict_process_queues_cpsch() 1260 struct kfd_process_device *pdd; in restore_process_queues_nocpsch() [all …]
|
H A D | kfd_device_queue_manager.h | 331 static inline unsigned int get_sh_mem_bases_32(struct kfd_process_device *pdd) in get_sh_mem_bases_32() 337 get_sh_mem_bases_nybble_64(struct kfd_process_device *pdd) in get_sh_mem_bases_nybble_64()
|
H A D | kfd_device_queue_manager_vi.c | 109 struct kfd_process_device *pdd; in update_qpd_vi()
|
H A D | kfd_device_queue_manager_cik.c | 107 struct kfd_process_device *pdd; in update_qpd_cik()
|
H A D | kfd_svm.c | 217 struct kfd_process_device *pdd; in svm_range_dma_map() 255 struct kfd_process_device *pdd; in svm_range_dma_unmap() 410 struct kfd_process_device *pdd; in svm_range_bo_release() 556 struct kfd_process_device *pdd; in svm_range_vram_node_new() 681 struct kfd_process_device *pdd; in svm_range_get_node_by_id() 693 struct kfd_process_device * 1328 struct kfd_process_device *pdd; in svm_range_unmap_from_gpus() 1380 svm_range_map_to_gpu(struct kfd_process_device *pdd, struct svm_range *prange, in svm_range_map_to_gpu() 1461 struct kfd_process_device *pdd; in svm_range_map_to_gpus() 1523 struct kfd_process_device *pdd; in svm_range_reserve_bos() [all …]
|
H A D | kfd_svm.h | 197 struct kfd_process_device *
|
H A D | kfd_smi_events.c | 329 struct kfd_process_device *pdd = p->pdds[i]; in kfd_smi_event_queue_restore_rescheduled()
|
H A D | kfd_migrate.c | 388 struct kfd_process_device *pdd; in svm_migrate_vma_to_vram() 689 struct kfd_process_device *pdd; in svm_migrate_vma_to_ram()
|
H A D | kfd_events.c | 353 struct kfd_process_device *pdd; in kfd_kmap_event_page() 1248 struct kfd_process_device *pdd = kfd_get_process_device_data(dev, p); in kfd_signal_reset_event()
|