/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gfx_v8.c | 42 static inline struct amdgpu_device *get_amdgpu_device(struct kgd_dev *kgd) in get_amdgpu_device() argument 44 return (struct amdgpu_device *)kgd; in get_amdgpu_device() 47 static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, in lock_srbm() argument 50 struct amdgpu_device *adev = get_amdgpu_device(kgd); in lock_srbm() 57 static void unlock_srbm(struct kgd_dev *kgd) in unlock_srbm() argument 59 struct amdgpu_device *adev = get_amdgpu_device(kgd); in unlock_srbm() 65 static void acquire_queue(struct kgd_dev *kgd, uint32_t pipe_id, in acquire_queue() argument 68 struct amdgpu_device *adev = get_amdgpu_device(kgd); in acquire_queue() 73 lock_srbm(kgd, mec, pipe, queue_id, 0); in acquire_queue() 76 static void release_queue(struct kgd_dev *kgd) in release_queue() argument [all …]
|
D | amdgpu_amdkfd_gfx_v7.c | 85 static inline struct amdgpu_device *get_amdgpu_device(struct kgd_dev *kgd) in get_amdgpu_device() argument 87 return (struct amdgpu_device *)kgd; in get_amdgpu_device() 90 static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, in lock_srbm() argument 93 struct amdgpu_device *adev = get_amdgpu_device(kgd); in lock_srbm() 100 static void unlock_srbm(struct kgd_dev *kgd) in unlock_srbm() argument 102 struct amdgpu_device *adev = get_amdgpu_device(kgd); in unlock_srbm() 108 static void acquire_queue(struct kgd_dev *kgd, uint32_t pipe_id, in acquire_queue() argument 111 struct amdgpu_device *adev = get_amdgpu_device(kgd); in acquire_queue() 116 lock_srbm(kgd, mec, pipe, queue_id, 0); in acquire_queue() 119 static void release_queue(struct kgd_dev *kgd) in release_queue() argument [all …]
|
D | amdgpu_amdkfd.h | 131 int amdgpu_amdkfd_submit_ib(struct kgd_dev *kgd, enum kgd_engine_type engine, 134 void amdgpu_amdkfd_set_compute_idle(struct kgd_dev *kgd, bool idle); 135 bool amdgpu_amdkfd_have_atomics_support(struct kgd_dev *kgd); 136 int amdgpu_amdkfd_flush_gpu_tlb_vmid(struct kgd_dev *kgd, uint16_t vmid); 137 int amdgpu_amdkfd_flush_gpu_tlb_pasid(struct kgd_dev *kgd, uint16_t pasid); 145 void amdgpu_amdkfd_gpu_reset(struct kgd_dev *kgd); 183 int amdgpu_amdkfd_alloc_gtt_mem(struct kgd_dev *kgd, size_t size, 186 void amdgpu_amdkfd_free_gtt_mem(struct kgd_dev *kgd, void *mem_obj); 187 int amdgpu_amdkfd_alloc_gws(struct kgd_dev *kgd, size_t size, void **mem_obj); 188 void amdgpu_amdkfd_free_gws(struct kgd_dev *kgd, void *mem_obj); [all …]
|
D | amdgpu_amdkfd_gfx_v10.c | 43 static inline struct amdgpu_device *get_amdgpu_device(struct kgd_dev *kgd) in get_amdgpu_device() argument 45 return (struct amdgpu_device *)kgd; in get_amdgpu_device() 48 static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, in lock_srbm() argument 51 struct amdgpu_device *adev = get_amdgpu_device(kgd); in lock_srbm() 57 static void unlock_srbm(struct kgd_dev *kgd) in unlock_srbm() argument 59 struct amdgpu_device *adev = get_amdgpu_device(kgd); in unlock_srbm() 65 static void acquire_queue(struct kgd_dev *kgd, uint32_t pipe_id, in acquire_queue() argument 68 struct amdgpu_device *adev = get_amdgpu_device(kgd); in acquire_queue() 73 lock_srbm(kgd, mec, pipe, queue_id, 0); in acquire_queue() 85 static void release_queue(struct kgd_dev *kgd) in release_queue() argument [all …]
|
D | amdgpu_amdkfd_gfx_v9.h | 25 void kgd_gfx_v9_program_sh_mem_settings(struct kgd_dev *kgd, uint32_t vmid, 29 int kgd_gfx_v9_set_pasid_vmid_mapping(struct kgd_dev *kgd, u32 pasid, 31 int kgd_gfx_v9_init_interrupts(struct kgd_dev *kgd, uint32_t pipe_id); 32 int kgd_gfx_v9_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, 36 int kgd_gfx_v9_hiq_mqd_load(struct kgd_dev *kgd, void *mqd, 39 int kgd_gfx_v9_hqd_dump(struct kgd_dev *kgd, 42 bool kgd_gfx_v9_hqd_is_occupied(struct kgd_dev *kgd, uint64_t queue_address, 44 int kgd_gfx_v9_hqd_destroy(struct kgd_dev *kgd, void *mqd, 48 int kgd_gfx_v9_address_watch_disable(struct kgd_dev *kgd); 49 int kgd_gfx_v9_address_watch_execute(struct kgd_dev *kgd, [all …]
|
D | amdgpu_amdkfd_gfx_v10_3.c | 42 static inline struct amdgpu_device *get_amdgpu_device(struct kgd_dev *kgd) in get_amdgpu_device() argument 44 return (struct amdgpu_device *)kgd; in get_amdgpu_device() 47 static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, in lock_srbm() argument 50 struct amdgpu_device *adev = get_amdgpu_device(kgd); in lock_srbm() 56 static void unlock_srbm(struct kgd_dev *kgd) in unlock_srbm() argument 58 struct amdgpu_device *adev = get_amdgpu_device(kgd); in unlock_srbm() 64 static void acquire_queue(struct kgd_dev *kgd, uint32_t pipe_id, in acquire_queue() argument 67 struct amdgpu_device *adev = get_amdgpu_device(kgd); in acquire_queue() 72 lock_srbm(kgd, mec, pipe, queue_id, 0); in acquire_queue() 84 static void release_queue(struct kgd_dev *kgd) in release_queue() argument [all …]
|
D | amdgpu_amdkfd_gfx_v9.c | 47 static inline struct amdgpu_device *get_amdgpu_device(struct kgd_dev *kgd) in get_amdgpu_device() argument 49 return (struct amdgpu_device *)kgd; in get_amdgpu_device() 52 static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, in lock_srbm() argument 55 struct amdgpu_device *adev = get_amdgpu_device(kgd); in lock_srbm() 61 static void unlock_srbm(struct kgd_dev *kgd) in unlock_srbm() argument 63 struct amdgpu_device *adev = get_amdgpu_device(kgd); in unlock_srbm() 69 static void acquire_queue(struct kgd_dev *kgd, uint32_t pipe_id, in acquire_queue() argument 72 struct amdgpu_device *adev = get_amdgpu_device(kgd); in acquire_queue() 77 lock_srbm(kgd, mec, pipe, queue_id, 0); in acquire_queue() 89 static void release_queue(struct kgd_dev *kgd) in release_queue() argument [all …]
|
D | amdgpu_amdkfd.c | 233 void amdgpu_amdkfd_gpu_reset(struct kgd_dev *kgd) in amdgpu_amdkfd_gpu_reset() argument 235 struct amdgpu_device *adev = (struct amdgpu_device *)kgd; in amdgpu_amdkfd_gpu_reset() 241 int amdgpu_amdkfd_alloc_gtt_mem(struct kgd_dev *kgd, size_t size, in amdgpu_amdkfd_alloc_gtt_mem() argument 245 struct amdgpu_device *adev = (struct amdgpu_device *)kgd; in amdgpu_amdkfd_alloc_gtt_mem() 313 void amdgpu_amdkfd_free_gtt_mem(struct kgd_dev *kgd, void *mem_obj) in amdgpu_amdkfd_free_gtt_mem() argument 324 int amdgpu_amdkfd_alloc_gws(struct kgd_dev *kgd, size_t size, in amdgpu_amdkfd_alloc_gws() argument 327 struct amdgpu_device *adev = (struct amdgpu_device *)kgd; in amdgpu_amdkfd_alloc_gws() 351 void amdgpu_amdkfd_free_gws(struct kgd_dev *kgd, void *mem_obj) in amdgpu_amdkfd_free_gws() argument 358 uint32_t amdgpu_amdkfd_get_fw_version(struct kgd_dev *kgd, in amdgpu_amdkfd_get_fw_version() argument 361 struct amdgpu_device *adev = (struct amdgpu_device *)kgd; in amdgpu_amdkfd_get_fw_version() [all …]
|
D | amdgpu_amdkfd_arcturus.c | 59 static inline struct amdgpu_device *get_amdgpu_device(struct kgd_dev *kgd) in get_amdgpu_device() argument 61 return (struct amdgpu_device *)kgd; in get_amdgpu_device() 125 static int kgd_hqd_sdma_load(struct kgd_dev *kgd, void *mqd, in kgd_hqd_sdma_load() argument 128 struct amdgpu_device *adev = get_amdgpu_device(kgd); in kgd_hqd_sdma_load() 195 static int kgd_hqd_sdma_dump(struct kgd_dev *kgd, in kgd_hqd_sdma_dump() argument 199 struct amdgpu_device *adev = get_amdgpu_device(kgd); in kgd_hqd_sdma_dump() 227 static bool kgd_hqd_sdma_is_occupied(struct kgd_dev *kgd, void *mqd) in kgd_hqd_sdma_is_occupied() argument 229 struct amdgpu_device *adev = get_amdgpu_device(kgd); in kgd_hqd_sdma_is_occupied() 246 static int kgd_hqd_sdma_destroy(struct kgd_dev *kgd, void *mqd, in kgd_hqd_sdma_destroy() argument 249 struct amdgpu_device *adev = get_amdgpu_device(kgd); in kgd_hqd_sdma_destroy()
|
D | amdgpu_amdkfd_gpuvm.c | 65 static inline struct amdgpu_device *get_amdgpu_device(struct kgd_dev *kgd) in get_amdgpu_device() argument 67 return (struct amdgpu_device *)kgd; in get_amdgpu_device() 986 int amdgpu_amdkfd_gpuvm_create_process_vm(struct kgd_dev *kgd, u32 pasid, in amdgpu_amdkfd_gpuvm_create_process_vm() argument 990 struct amdgpu_device *adev = get_amdgpu_device(kgd); in amdgpu_amdkfd_gpuvm_create_process_vm() 1021 int amdgpu_amdkfd_gpuvm_acquire_process_vm(struct kgd_dev *kgd, in amdgpu_amdkfd_gpuvm_acquire_process_vm() argument 1026 struct amdgpu_device *adev = get_amdgpu_device(kgd); in amdgpu_amdkfd_gpuvm_acquire_process_vm() 1087 void amdgpu_amdkfd_gpuvm_destroy_process_vm(struct kgd_dev *kgd, void *vm) in amdgpu_amdkfd_gpuvm_destroy_process_vm() argument 1089 struct amdgpu_device *adev = get_amdgpu_device(kgd); in amdgpu_amdkfd_gpuvm_destroy_process_vm() 1092 if (WARN_ON(!kgd || !vm)) in amdgpu_amdkfd_gpuvm_destroy_process_vm() 1102 void amdgpu_amdkfd_gpuvm_release_process_vm(struct kgd_dev *kgd, void *vm) in amdgpu_amdkfd_gpuvm_release_process_vm() argument [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/ |
D | kgd_kfd_interface.h | 230 void (*program_sh_mem_settings)(struct kgd_dev *kgd, uint32_t vmid, 234 int (*set_pasid_vmid_mapping)(struct kgd_dev *kgd, u32 pasid, 237 int (*init_interrupts)(struct kgd_dev *kgd, uint32_t pipe_id); 239 int (*hqd_load)(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, 244 int (*hiq_mqd_load)(struct kgd_dev *kgd, void *mqd, 248 int (*hqd_sdma_load)(struct kgd_dev *kgd, void *mqd, 251 int (*hqd_dump)(struct kgd_dev *kgd, 255 int (*hqd_sdma_dump)(struct kgd_dev *kgd, 259 bool (*hqd_is_occupied)(struct kgd_dev *kgd, uint64_t queue_address, 262 int (*hqd_destroy)(struct kgd_dev *kgd, void *mqd, uint32_t reset_type, [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_device.c | 533 struct kfd_dev *kgd2kfd_probe(struct kgd_dev *kgd, in kgd2kfd_probe() argument 563 kfd->pci_atomic_requested = amdgpu_amdkfd_have_atomics_support(kgd); in kgd2kfd_probe() 573 kfd->kgd = kgd; in kgd2kfd_probe() 635 ret = amdgpu_amdkfd_alloc_gws(kfd->kgd, in kfd_gws_init() 636 amdgpu_amdkfd_get_num_gws(kfd->kgd), &kfd->gws); in kfd_gws_init() 653 kfd->mec_fw_version = amdgpu_amdkfd_get_fw_version(kfd->kgd, in kgd2kfd_device_init() 655 kfd->mec2_fw_version = amdgpu_amdkfd_get_fw_version(kfd->kgd, in kgd2kfd_device_init() 657 kfd->sdma_fw_version = amdgpu_amdkfd_get_fw_version(kfd->kgd, in kgd2kfd_device_init() 696 kfd->kgd, size, &kfd->gtt_mem, in kgd2kfd_device_init() 717 kfd->hive_id = amdgpu_amdkfd_get_hive_id(kfd->kgd); in kgd2kfd_device_init() [all …]
|
D | kfd_mqd_manager_v9.c | 110 retval = amdgpu_amdkfd_alloc_gtt_mem(kfd->kgd, in allocate_mqd() 201 return mm->dev->kfd2kgd->hqd_load(mm->dev->kgd, mqd, pipe_id, queue_id, in load_mqd() 210 return mm->dev->kfd2kgd->hiq_mqd_load(mm->dev->kgd, mqd, pipe_id, in hiq_load_mqd_kiq() 285 (mm->dev->kgd, mqd, type, timeout, in destroy_mqd() 295 amdgpu_amdkfd_free_gtt_mem(kfd->kgd, mqd_mem_obj->gtt_mem); in free_mqd() 307 mm->dev->kgd, queue_address, in is_occupied() 369 return mm->dev->kfd2kgd->hqd_sdma_load(mm->dev->kgd, mqd, in load_mqd_sdma() 411 return mm->dev->kfd2kgd->hqd_sdma_destroy(mm->dev->kgd, mqd, timeout); in destroy_mqd_sdma() 418 return mm->dev->kfd2kgd->hqd_sdma_is_occupied(mm->dev->kgd, mqd); in is_occupied_sdma()
|
D | cik_event_interrupt.c | 53 vmid = f2g->read_vmid_from_vmfault_reg(dev->kgd); in cik_event_interrupt_isr() 54 ret = f2g->get_atc_vmid_pasid_mapping_info(dev->kgd, vmid, &pasid); in cik_event_interrupt_isr() 115 amdgpu_amdkfd_gpuvm_get_vm_fault_info(dev->kgd, &info); in cik_event_interrupt_wq()
|
D | kfd_mqd_manager_v10.c | 150 r = mm->dev->kfd2kgd->hqd_load(mm->dev->kgd, mqd, pipe_id, queue_id, in load_mqd() 160 return mm->dev->kfd2kgd->hiq_mqd_load(mm->dev->kgd, mqd, pipe_id, in hiq_load_mqd_kiq() 233 (mm->dev->kgd, mqd, type, timeout, in destroy_mqd() 248 mm->dev->kgd, queue_address, in is_occupied() 314 return mm->dev->kfd2kgd->hqd_sdma_load(mm->dev->kgd, mqd, in load_mqd_sdma() 356 return mm->dev->kfd2kgd->hqd_sdma_destroy(mm->dev->kgd, mqd, timeout); in destroy_mqd_sdma() 363 return mm->dev->kfd2kgd->hqd_sdma_is_occupied(mm->dev->kgd, mqd); in is_occupied_sdma()
|
D | kfd_process.c | 290 dev->kfd2kgd->get_cu_occupancy(dev->kgd, proc->pasid, &wave_cnt, in kfd_get_cu_occupancy() 643 amdgpu_amdkfd_gpuvm_unmap_memory_from_gpu(dev->kgd, mem, pdd->vm); in kfd_process_free_gpuvm() 644 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(dev->kgd, mem, NULL); in kfd_process_free_gpuvm() 662 err = amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu(kdev->kgd, gpu_va, size, in kfd_process_alloc_gpuvm() 667 err = amdgpu_amdkfd_gpuvm_map_memory_to_gpu(kdev->kgd, mem, pdd->vm); in kfd_process_alloc_gpuvm() 671 err = amdgpu_amdkfd_gpuvm_sync_memory(kdev->kgd, mem, true); in kfd_process_alloc_gpuvm() 690 err = amdgpu_amdkfd_gpuvm_map_gtt_bo_to_kernel(kdev->kgd, in kfd_process_alloc_gpuvm() 708 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(kdev->kgd, mem, NULL); in kfd_process_alloc_gpuvm() 892 peer_pdd->dev->kgd, mem, peer_pdd->vm); in kfd_process_device_free_bos() 895 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(pdd->dev->kgd, mem, NULL); in kfd_process_device_free_bos() [all …]
|
D | kfd_mqd_manager_cik.c | 173 return mm->dev->kfd2kgd->hqd_load(mm->dev->kgd, mqd, pipe_id, queue_id, in load_mqd() 182 return mm->dev->kfd2kgd->hqd_sdma_load(mm->dev->kgd, mqd, in load_mqd_sdma() 267 return mm->dev->kfd2kgd->hqd_destroy(mm->dev->kgd, mqd, type, timeout, in destroy_mqd() 280 return mm->dev->kfd2kgd->hqd_sdma_destroy(mm->dev->kgd, mqd, timeout); in destroy_mqd_sdma() 288 return mm->dev->kfd2kgd->hqd_is_occupied(mm->dev->kgd, queue_address, in is_occupied() 297 return mm->dev->kfd2kgd->hqd_sdma_is_occupied(mm->dev->kgd, mqd); in is_occupied_sdma()
|
D | kfd_dbgdev.c | 44 dev->kfd2kgd->address_watch_disable(dev->kgd); in dbgdev_address_watch_disable_nodiq() 325 dbgdev->dev->kgd, in dbgdev_address_watch_nodiq() 423 dbgdev->dev->kgd, in dbgdev_address_watch_diq() 434 dbgdev->dev->kgd, in dbgdev_address_watch_diq() 444 dbgdev->dev->kgd, in dbgdev_address_watch_diq() 460 dbgdev->dev->kgd, in dbgdev_address_watch_diq() 755 return dbgdev->dev->kfd2kgd->wave_control_execute(dbgdev->dev->kgd, in dbgdev_wave_control_nodiq() 787 (dev->kgd, vmid, &queried_pasid); in dbgdev_wave_reset_wavefronts() 814 dev->kfd2kgd->wave_control_execute(dev->kgd, in dbgdev_wave_reset_wavefronts()
|
D | kfd_mqd_manager_vi.c | 164 return mm->dev->kfd2kgd->hqd_load(mm->dev->kgd, mqd, pipe_id, queue_id, in load_mqd() 258 (mm->dev->kgd, mqd, type, timeout, in destroy_mqd() 273 mm->dev->kgd, queue_address, in is_occupied() 339 return mm->dev->kfd2kgd->hqd_sdma_load(mm->dev->kgd, mqd, in load_mqd_sdma() 380 return mm->dev->kfd2kgd->hqd_sdma_destroy(mm->dev->kgd, mqd, timeout); in destroy_mqd_sdma() 387 return mm->dev->kfd2kgd->hqd_sdma_is_occupied(mm->dev->kgd, mqd); in is_occupied_sdma()
|
D | kfd_chardev.c | 856 args->gpu_clock_counter = amdgpu_amdkfd_get_gpu_clock_counter(dev->kgd); in kfd_ioctl_get_clock_counters() 1063 err = amdgpu_amdkfd_gpuvm_map_gtt_bo_to_kernel(kfd->kgd, in kfd_ioctl_create_event() 1154 dev->kgd, args->va_addr, pdd->qpd.vmid); in kfd_ioctl_set_scratch_backing_va() 1175 amdgpu_amdkfd_get_tile_config(dev->kgd, &config); in kfd_ioctl_get_tile_config() 1261 amdgpu_amdkfd_get_local_mem_info(dev->kgd, &mem_info); in kfd_dev_is_large_bar() 1313 offset = amdgpu_amdkfd_get_mmio_remap_phys_addr(dev->kgd); in kfd_ioctl_alloc_memory_of_gpu() 1321 dev->kgd, args->va_addr, args->size, in kfd_ioctl_alloc_memory_of_gpu() 1353 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(dev->kgd, (struct kgd_mem *)mem, NULL); in kfd_ioctl_alloc_memory_of_gpu() 1389 ret = amdgpu_amdkfd_gpuvm_free_memory_of_gpu(dev->kgd, in kfd_ioctl_free_memory_of_gpu() 1473 peer->kgd, (struct kgd_mem *)mem, peer_pdd->vm); in kfd_ioctl_map_memory_to_gpu() [all …]
|
D | kfd_topology.c | 115 struct kfd_dev *kfd_device_by_kgd(const struct kgd_dev *kgd) in kfd_device_by_kgd() argument 123 if (top_dev->gpu && top_dev->gpu->kgd == kgd) { in kfd_device_by_kgd() 1105 amdgpu_amdkfd_get_local_mem_info(gpu->kgd, &local_mem_info); in kfd_generate_gpu_id() 1188 amdgpu_amdkfd_get_local_mem_info(dev->gpu->kgd, &local_mem_info); in kfd_fill_mem_clk_max_info() 1310 amdgpu_amdkfd_get_cu_info(dev->gpu->kgd, &cu_info); in kfd_topology_add_device() 1321 ((amdgpu_amdkfd_get_asic_rev_id(dev->gpu->kgd) << in kfd_topology_add_device() 1327 amdgpu_amdkfd_get_max_engine_clock_in_mhz(dev->gpu->kgd); in kfd_topology_add_device() 1341 amdgpu_amdkfd_get_num_gws(dev->gpu->kgd) : 0; in kfd_topology_add_device() 1407 adev = (struct amdgpu_device *)(dev->gpu->kgd); in kfd_topology_add_device()
|
D | kfd_device_queue_manager.c | 133 dqm->dev->kgd, qpd->vmid, in program_sh_mem_settings() 247 dqm->dev->kfd2kgd->set_vm_context_page_table_base(dqm->dev->kgd, in allocate_vmid() 254 dqm->dev->kfd2kgd->set_scratch_backing_va(dqm->dev->kgd, in allocate_vmid() 273 return amdgpu_amdkfd_submit_ib(kdev->kgd, KGD_ENGINE_MEC1, qpd->vmid, in flush_texture_cache_nocpsch() 761 dqm->dev->kgd, in restore_process_queues_nocpsch() 939 dqm->dev->kgd, pasid, vmid); in set_pasid_vmid_mapping() 948 dqm->dev->kfd2kgd->init_interrupts(dqm->dev->kgd, i); in init_interrupts() 1117 (struct amdgpu_device *)dqm->dev->kgd, i); in set_sched_resources() 1837 retval = amdgpu_amdkfd_alloc_gtt_mem(dev->kgd, size, in allocate_hiq_sdma_mqd() 1983 amdgpu_amdkfd_free_gtt_mem(dev->kgd, mqd->gtt_mem); in deallocate_hiq_sdma_mqd() [all …]
|
D | kfd_smi_events.c | 210 struct amdgpu_device *adev = (struct amdgpu_device *)dev->kgd; in kfd_smi_event_update_thermal_throttling() 233 struct amdgpu_device *adev = (struct amdgpu_device *)dev->kgd; in kfd_smi_event_update_vmfault()
|
D | kfd_mqd_manager.c | 103 amdgpu_amdkfd_get_cu_info(mm->dev->kgd, &cu_info); in mqd_symmetrically_map_cu_mask()
|
D | kfd_crat.c | 1163 amdgpu_amdkfd_get_xgmi_hops_count(kdev->kgd, peer_kdev->kgd); in kfd_fill_gpu_xgmi_link_to_gpu() 1228 amdgpu_amdkfd_get_cu_info(kdev->kgd, &cu_info); in kfd_create_vcrat_image_gpu() 1259 amdgpu_amdkfd_get_local_mem_info(kdev->kgd, &local_mem_info); in kfd_create_vcrat_image_gpu()
|