/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_process.c | 76 static void kfd_process_device_destroy_cwsr_dgpu(struct kfd_process_device *pdd); 89 struct kfd_process_device *pdd; 103 struct kfd_process_device *pdd; in kfd_sdma_activity_worker() 273 struct kfd_process_device *pdd = NULL; in kfd_get_cu_occupancy() 278 pdd = container_of(attr, struct kfd_process_device, attr_cu_occupancy); in kfd_get_cu_occupancy() 334 struct kfd_process_device *pdd = container_of(attr, struct kfd_process_device, in kfd_procfs_show() 338 struct kfd_process_device *pdd = container_of(attr, struct kfd_process_device, in kfd_procfs_show() 426 struct kfd_process_device *pd in kfd_procfs_stats_show() [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() 207 struct kfd_process_device *pdd = NULL; in kfd_set_dbg_ev_from_interrupt() 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 *pd [all...] |
H A D | kfd_flat_memory.c | 316 static void kfd_init_apertures_vi(struct kfd_process_device *pdd, uint8_t id) in kfd_init_apertures_vi() 343 static void kfd_init_apertures_v9(struct kfd_process_device *pdd, uint8_t id) in kfd_init_apertures_v9() 366 struct kfd_process_device *pdd; in kfd_init_apertures()
|
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_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() 341 int kfd_queue_release_buffers(struct kfd_process_device *pdd, struct queue_properties *properties) in kfd_queue_release_buffers() 374 int kfd_queue_unref_bo_vas(struct kfd_process_device *pdd, in kfd_queue_unref_bo_vas()
|
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, 131 int kfd_dbg_set_mes_debug_mode(struct kfd_process_device *pdd, bool sq_trap_en);
|
H A D | kfd_device_queue_manager_v9.c | 50 static uint32_t compute_sh_mem_bases_64bit(struct kfd_process_device *pdd) in compute_sh_mem_bases_64bit() 94 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in update_qpd_v9()
|
H A D | kfd_debugfs.c | 129 struct kfd_process_device *pdd = file_inode(file)->i_private; in kfd_debugfs_pasid_read() 163 struct kfd_process_device *pdd = p->pdds[i]; in kfd_debugfs_add_process()
|
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 | 168 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in kfd_hws_hang() 204 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in add_queue_mes() 534 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in allocate_vmid() 791 struct kfd_process_device *pdd; in dbgdev_wave_reset_wavefronts() 918 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in destroy_queue_nocpsch() 949 struct kfd_process_device *pdd; in update_queue() 1061 struct kfd_process_device *pdd, in suspend_single_queue() 1110 struct kfd_process_device *pdd; in resume_single_queue() 1143 struct kfd_process_device *pdd; in evict_process_queues_nocpsch() 1193 struct kfd_process_device *pd in evict_process_queues_cpsch() [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_v12.c | 50 static uint32_t compute_sh_mem_bases_64bit(struct kfd_process_device *pdd) in compute_sh_mem_bases_64bit()
|
H A D | kfd_device_queue_manager_v10.c | 51 static uint32_t compute_sh_mem_bases_64bit(struct kfd_process_device *pdd) in compute_sh_mem_bases_64bit()
|
H A D | kfd_device_queue_manager_v11.c | 50 static uint32_t compute_sh_mem_bases_64bit(struct kfd_process_device *pdd) in compute_sh_mem_bases_64bit()
|
H A D | cik_event_interrupt.c | 109 struct kfd_process_device *pdd = NULL; in cik_event_interrupt_wq()
|
H A D | kfd_packet_manager_vi.c | 45 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in pm_map_process_vi()
|
H A D | kfd_migrate.c | 394 struct kfd_process_device *pdd; in svm_migrate_vma_to_vram() 695 struct kfd_process_device *pdd; in svm_migrate_vma_to_ram()
|