Lines Matching refs:kgd
147 int amdgpu_amdkfd_submit_ib(struct kgd_dev *kgd, enum kgd_engine_type engine,
150 void amdgpu_amdkfd_set_compute_idle(struct kgd_dev *kgd, bool idle);
151 bool amdgpu_amdkfd_have_atomics_support(struct kgd_dev *kgd);
152 int amdgpu_amdkfd_flush_gpu_tlb_vmid(struct kgd_dev *kgd, uint16_t vmid);
153 int amdgpu_amdkfd_flush_gpu_tlb_pasid(struct kgd_dev *kgd, uint16_t pasid,
162 void amdgpu_amdkfd_gpu_reset(struct kgd_dev *kgd);
201 int amdgpu_amdkfd_alloc_gtt_mem(struct kgd_dev *kgd, size_t size,
204 void amdgpu_amdkfd_free_gtt_mem(struct kgd_dev *kgd, void *mem_obj);
205 int amdgpu_amdkfd_alloc_gws(struct kgd_dev *kgd, size_t size, void **mem_obj);
206 void amdgpu_amdkfd_free_gws(struct kgd_dev *kgd, void *mem_obj);
209 uint32_t amdgpu_amdkfd_get_fw_version(struct kgd_dev *kgd,
211 void amdgpu_amdkfd_get_local_mem_info(struct kgd_dev *kgd,
213 uint64_t amdgpu_amdkfd_get_gpu_clock_counter(struct kgd_dev *kgd);
215 uint32_t amdgpu_amdkfd_get_max_engine_clock_in_mhz(struct kgd_dev *kgd);
216 void amdgpu_amdkfd_get_cu_info(struct kgd_dev *kgd, struct kfd_cu_info *cu_info);
217 int amdgpu_amdkfd_get_dmabuf_info(struct kgd_dev *kgd, int dma_buf_fd,
222 uint64_t amdgpu_amdkfd_get_vram_usage(struct kgd_dev *kgd);
223 uint64_t amdgpu_amdkfd_get_hive_id(struct kgd_dev *kgd);
224 uint64_t amdgpu_amdkfd_get_unique_id(struct kgd_dev *kgd);
225 uint64_t amdgpu_amdkfd_get_mmio_remap_phys_addr(struct kgd_dev *kgd);
226 uint32_t amdgpu_amdkfd_get_num_gws(struct kgd_dev *kgd);
227 uint32_t amdgpu_amdkfd_get_asic_rev_id(struct kgd_dev *kgd);
228 int amdgpu_amdkfd_get_noretry(struct kgd_dev *kgd);
261 int amdgpu_amdkfd_gpuvm_acquire_process_vm(struct kgd_dev *kgd,
265 void amdgpu_amdkfd_gpuvm_release_process_vm(struct kgd_dev *kgd, void *drm_priv);
268 struct kgd_dev *kgd, uint64_t va, uint64_t size,
272 struct kgd_dev *kgd, struct kgd_mem *mem, void *drm_priv,
275 struct kgd_dev *kgd, struct kgd_mem *mem, void *drm_priv, bool *table_freed);
277 struct kgd_dev *kgd, struct kgd_mem *mem, void *drm_priv);
279 struct kgd_dev *kgd, struct kgd_mem *mem, bool intr);
280 int amdgpu_amdkfd_gpuvm_map_gtt_bo_to_kernel(struct kgd_dev *kgd,
284 int amdgpu_amdkfd_gpuvm_get_vm_fault_info(struct kgd_dev *kgd,
286 int amdgpu_amdkfd_gpuvm_import_dmabuf(struct kgd_dev *kgd,
291 int amdgpu_amdkfd_get_tile_config(struct kgd_dev *kgd,
324 struct kfd_dev *kgd2kfd_probe(struct kgd_dev *kgd, struct pci_dev *pdev,
349 struct kfd_dev *kgd2kfd_probe(struct kgd_dev *kgd, struct pci_dev *pdev, in kgd2kfd_probe() argument