/Linux-v6.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_process.c | 77 static void kfd_process_device_destroy_cwsr_dgpu(struct kfd_process_device *pdd); 90 struct kfd_process_device *pdd; 104 struct kfd_process_device *pdd; in kfd_sdma_activity_worker() 274 struct kfd_process_device *pdd = NULL; in kfd_get_cu_occupancy() 276 pdd = container_of(attr, struct kfd_process_device, attr_cu_occupancy); in kfd_get_cu_occupancy() 309 struct kfd_process_device *pdd = container_of(attr, struct kfd_process_device, in kfd_procfs_show() 313 struct kfd_process_device *pdd = container_of(attr, struct kfd_process_device, in kfd_procfs_show() 400 struct kfd_process_device *pdd = container_of(attr, in kfd_procfs_stats_show() 401 struct kfd_process_device, in kfd_procfs_stats_show() 425 struct kfd_process_device *pdd; in kfd_sysfs_counters_show() [all …]
|
D | kfd_priv.h | 697 struct kfd_process_device { struct 797 #define qpd_to_pdd(x) container_of(x, struct kfd_process_device, qpd) argument 852 struct kfd_process_device *pdds[MAX_GPU_INSTANCE]; 944 static inline struct kfd_process_device *kfd_process_device_from_gpuidx( in kfd_process_device_from_gpuidx() 955 struct kfd_process_device *kfd_process_device_data_by_id(struct kfd_process *process, 960 int kfd_process_device_init_vm(struct kfd_process_device *pdd, 962 struct kfd_process_device *kfd_bind_process_to_device(struct kfd_dev *dev, 964 struct kfd_process_device *kfd_get_process_device_data(struct kfd_dev *dev, 966 struct kfd_process_device *kfd_create_process_device_data(struct kfd_dev *dev, 975 int kfd_process_device_create_obj_handle(struct kfd_process_device *pdd, [all …]
|
D | kfd_iommu.h | 36 int kfd_iommu_bind_process_to_device(struct kfd_process_device *pdd); 59 struct kfd_process_device *pdd) in kfd_iommu_bind_process_to_device()
|
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() 346 static void kfd_init_apertures_v9(struct kfd_process_device *pdd, uint8_t id) in kfd_init_apertures_v9() 369 struct kfd_process_device *pdd; in kfd_init_apertures()
|
D | kfd_iommu.c | 110 int kfd_iommu_bind_process_to_device(struct kfd_process_device *pdd) in kfd_iommu_bind_process_to_device() 150 struct kfd_process_device *pdd; in iommu_pasid_shutdown_callback() 209 struct kfd_process_device *pdd; in kfd_bind_processes_to_device() 250 struct kfd_process_device *pdd; in kfd_unbind_processes_from_device()
|
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()
|
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()
|
D | kfd_device_queue_manager_v9.c | 44 static uint32_t compute_sh_mem_bases_64bit(struct kfd_process_device *pdd) in compute_sh_mem_bases_64bit() 56 struct kfd_process_device *pdd; in update_qpd_v9()
|
D | kfd_process_queue_manager.c | 82 void kfd_process_dequeue_from_device(struct kfd_process_device *pdd) in kfd_process_dequeue_from_device() 98 struct kfd_process_device *pdd; in pqm_set_gws() 238 struct kfd_process_device *pdd; in pqm_create_queue() 388 struct kfd_process_device *pdd; in pqm_destroy_queue() 568 static int get_queue_data_sizes(struct kfd_process_device *pdd, in get_queue_data_sizes() 598 struct kfd_process_device *pdd = p->pdds[i]; in kfd_process_get_queue_info() 647 static int criu_checkpoint_queue(struct kfd_process_device *pdd, in criu_checkpoint_queue() 694 static int criu_checkpoint_queues_device(struct kfd_process_device *pdd, in criu_checkpoint_queues_device() 771 struct kfd_process_device *pdd = p->pdds[pdd_index]; in kfd_criu_checkpoint_queues() 813 struct kfd_process_device *pdd; in kfd_criu_restore_queue()
|
D | kfd_chardev.c | 68 static inline struct kfd_process_device *kfd_lock_pdd_by_id(struct kfd_process *p, __u32 gpu_id) in kfd_lock_pdd_by_id() 70 struct kfd_process_device *pdd; in kfd_lock_pdd_by_id() 82 static inline void kfd_unlock_pdd(struct kfd_process_device *pdd) in kfd_unlock_pdd() 299 struct kfd_process_device *pdd; in kfd_ioctl_create_queue() 563 struct kfd_process_device *pdd; in kfd_ioctl_set_memory_policy() 617 struct kfd_process_device *pdd; in kfd_ioctl_set_trap_handler() 671 struct kfd_process_device *pdd; in kfd_ioctl_get_clock_counters() 708 struct kfd_process_device *pdd = p->pdds[i]; in kfd_ioctl_get_process_apertures() 783 struct kfd_process_device *pdd = p->pdds[i]; in kfd_ioctl_get_process_apertures_new() 889 struct kfd_process_device *pdd; in kfd_ioctl_set_scratch_backing_va() [all …]
|
D | kfd_doorbell.c | 145 struct kfd_process_device *pdd; in kfd_doorbell_mmap() 247 struct kfd_process_device *pdd, in kfd_get_doorbell_dw_offset_in_bar() 278 phys_addr_t kfd_get_process_doorbells(struct kfd_process_device *pdd) in kfd_get_process_doorbells()
|
D | kfd_device_queue_manager_cik.c | 120 struct kfd_process_device *pdd; in update_qpd_cik() 154 struct kfd_process_device *pdd; in update_qpd_cik_hawaii()
|
D | kfd_device_queue_manager_vi.c | 157 struct kfd_process_device *pdd; in update_qpd_vi() 198 struct kfd_process_device *pdd; in update_qpd_vi_tonga()
|
D | kfd_device_queue_manager.h | 283 static inline unsigned int get_sh_mem_bases_32(struct kfd_process_device *pdd) in get_sh_mem_bases_32() 289 get_sh_mem_bases_nybble_64(struct kfd_process_device *pdd) in get_sh_mem_bases_nybble_64()
|
D | kfd_device_queue_manager.c | 177 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in add_queue_mes() 671 struct kfd_process_device *pdd; in dbgdev_wave_reset_wavefronts() 793 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in destroy_queue_nocpsch() 823 struct kfd_process_device *pdd; in update_queue() 925 struct kfd_process_device *pdd; in evict_process_queues_nocpsch() 974 struct kfd_process_device *pdd; in evict_process_queues_cpsch() 1023 struct kfd_process_device *pdd; in restore_process_queues_nocpsch() 1102 struct kfd_process_device *pdd; in restore_process_queues_cpsch() 1159 struct kfd_process_device *pdd; in register_process() 1855 struct kfd_process_device *pdd = qpd_to_pdd(qpd); in destroy_queue_cpsch() [all …]
|
D | kfd_svm.c | 206 struct kfd_process_device *pdd; in svm_range_dma_map() 244 struct kfd_process_device *pdd; in svm_range_free_dma_mappings() 613 struct kfd_process_device *pdd; in svm_range_get_adev_by_id() 633 struct kfd_process_device * 1228 struct kfd_process_device *pdd; in svm_range_unmap_from_gpus() 1280 svm_range_map_to_gpu(struct kfd_process_device *pdd, struct svm_range *prange, in svm_range_map_to_gpu() 1357 struct kfd_process_device *pdd; in svm_range_map_to_gpus() 1423 struct kfd_process_device *pdd; in svm_range_reserve_bos() 1480 struct kfd_process_device *pdd; in kfd_svm_page_owner() 2145 struct kfd_process_device *pdd; in svm_range_drain_retry_fault() [all …]
|
D | kfd_svm.h | 194 struct kfd_process_device *
|
D | kfd_smi_events.c | 317 struct kfd_process_device *pdd = p->pdds[i]; in kfd_smi_event_queue_restore_rescheduled()
|
D | kfd_migrate.c | 411 struct kfd_process_device *pdd; in svm_migrate_vma_to_vram() 675 struct kfd_process_device *pdd; in svm_migrate_vma_to_ram()
|
D | kfd_events.c | 352 struct kfd_process_device *pdd; in kfd_kmap_event_page()
|