Home
last modified time | relevance | path

Searched defs:kgd (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v8.c106 static int get_tile_config(struct kgd_dev *kgd, in get_tile_config()
160 static inline struct amdgpu_device *get_amdgpu_device(struct kgd_dev *kgd) in get_amdgpu_device()
165 static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, in lock_srbm()
175 static void unlock_srbm(struct kgd_dev *kgd) in unlock_srbm()
183 static void acquire_queue(struct kgd_dev *kgd, uint32_t pipe_id, in acquire_queue()
194 static void release_queue(struct kgd_dev *kgd) in release_queue()
199 static void kgd_program_sh_mem_settings(struct kgd_dev *kgd, uint32_t vmid, in kgd_program_sh_mem_settings()
217 static int kgd_set_pasid_vmid_mapping(struct kgd_dev *kgd, unsigned int pasid, in kgd_set_pasid_vmid_mapping()
244 static int kgd_init_interrupts(struct kgd_dev *kgd, uint32_t pipe_id) in kgd_init_interrupts()
284 static int kgd_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, in kgd_hqd_load()
[all …]
Damdgpu_amdkfd_gfx_v10.c113 static int amdgpu_amdkfd_get_tile_config(struct kgd_dev *kgd, in amdgpu_amdkfd_get_tile_config()
173 static inline struct amdgpu_device *get_amdgpu_device(struct kgd_dev *kgd) in get_amdgpu_device()
178 static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, in lock_srbm()
187 static void unlock_srbm(struct kgd_dev *kgd) in unlock_srbm()
195 static void acquire_queue(struct kgd_dev *kgd, uint32_t pipe_id, in acquire_queue()
215 static void release_queue(struct kgd_dev *kgd) in release_queue()
220 static void kgd_program_sh_mem_settings(struct kgd_dev *kgd, uint32_t vmid, in kgd_program_sh_mem_settings()
237 static int kgd_set_pasid_vmid_mapping(struct kgd_dev *kgd, unsigned int pasid, in kgd_set_pasid_vmid_mapping()
289 static int kgd_init_interrupts(struct kgd_dev *kgd, uint32_t pipe_id) in kgd_init_interrupts()
357 static int kgd_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, in kgd_hqd_load()
[all …]
Damdgpu_amdkfd_gfx_v9.c66 int kgd_gfx_v9_get_tile_config(struct kgd_dev *kgd, in kgd_gfx_v9_get_tile_config()
84 static inline struct amdgpu_device *get_amdgpu_device(struct kgd_dev *kgd) in get_amdgpu_device()
89 static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, in lock_srbm()
98 static void unlock_srbm(struct kgd_dev *kgd) in unlock_srbm()
106 static void acquire_queue(struct kgd_dev *kgd, uint32_t pipe_id, in acquire_queue()
126 static void release_queue(struct kgd_dev *kgd) in release_queue()
131 void kgd_gfx_v9_program_sh_mem_settings(struct kgd_dev *kgd, uint32_t vmid, in kgd_gfx_v9_program_sh_mem_settings()
148 int kgd_gfx_v9_set_pasid_vmid_mapping(struct kgd_dev *kgd, unsigned int pasid, in kgd_gfx_v9_set_pasid_vmid_mapping()
209 int kgd_gfx_v9_init_interrupts(struct kgd_dev *kgd, uint32_t pipe_id) in kgd_gfx_v9_init_interrupts()
259 int kgd_gfx_v9_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, in kgd_gfx_v9_hqd_load()
[all …]
Damdgpu_amdkfd_gfx_v7.c151 static int get_tile_config(struct kgd_dev *kgd, in get_tile_config()
204 static inline struct amdgpu_device *get_amdgpu_device(struct kgd_dev *kgd) in get_amdgpu_device()
209 static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, in lock_srbm()
219 static void unlock_srbm(struct kgd_dev *kgd) in unlock_srbm()
227 static void acquire_queue(struct kgd_dev *kgd, uint32_t pipe_id, in acquire_queue()
238 static void release_queue(struct kgd_dev *kgd) in release_queue()
243 static void kgd_program_sh_mem_settings(struct kgd_dev *kgd, uint32_t vmid, in kgd_program_sh_mem_settings()
261 static int kgd_set_pasid_vmid_mapping(struct kgd_dev *kgd, unsigned int pasid, in kgd_set_pasid_vmid_mapping()
287 static int kgd_init_interrupts(struct kgd_dev *kgd, uint32_t pipe_id) in kgd_init_interrupts()
328 static int kgd_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, in kgd_hqd_load()
[all …]
Damdgpu_amdkfd.c260 void amdgpu_amdkfd_gpu_reset(struct kgd_dev *kgd) in amdgpu_amdkfd_gpu_reset()
268 int amdgpu_amdkfd_alloc_gtt_mem(struct kgd_dev *kgd, size_t size, in amdgpu_amdkfd_alloc_gtt_mem()
340 void amdgpu_amdkfd_free_gtt_mem(struct kgd_dev *kgd, void *mem_obj) in amdgpu_amdkfd_free_gtt_mem()
351 int amdgpu_amdkfd_alloc_gws(struct kgd_dev *kgd, size_t size, in amdgpu_amdkfd_alloc_gws()
378 void amdgpu_amdkfd_free_gws(struct kgd_dev *kgd, void *mem_obj) in amdgpu_amdkfd_free_gws()
385 uint32_t amdgpu_amdkfd_get_fw_version(struct kgd_dev *kgd, in amdgpu_amdkfd_get_fw_version()
422 void amdgpu_amdkfd_get_local_mem_info(struct kgd_dev *kgd, in amdgpu_amdkfd_get_local_mem_info()
457 uint64_t amdgpu_amdkfd_get_gpu_clock_counter(struct kgd_dev *kgd) in amdgpu_amdkfd_get_gpu_clock_counter()
466 uint32_t amdgpu_amdkfd_get_max_engine_clock_in_mhz(struct kgd_dev *kgd) in amdgpu_amdkfd_get_max_engine_clock_in_mhz()
479 void amdgpu_amdkfd_get_cu_info(struct kgd_dev *kgd, struct kfd_cu_info *cu_info) in amdgpu_amdkfd_get_cu_info()
[all …]
Damdgpu_amdkfd_arcturus.c62 static inline struct amdgpu_device *get_amdgpu_device(struct kgd_dev *kgd) in get_amdgpu_device()
130 static int kgd_hqd_sdma_load(struct kgd_dev *kgd, void *mqd, in kgd_hqd_sdma_load()
203 static int kgd_hqd_sdma_dump(struct kgd_dev *kgd, in kgd_hqd_sdma_dump()
234 static bool kgd_hqd_sdma_is_occupied(struct kgd_dev *kgd, void *mqd) in kgd_hqd_sdma_is_occupied()
253 static int kgd_hqd_sdma_destroy(struct kgd_dev *kgd, void *mqd, in kgd_hqd_sdma_destroy()
Damdgpu_amdkfd_gpuvm.c78 static inline struct amdgpu_device *get_amdgpu_device(struct kgd_dev *kgd) in get_amdgpu_device()
926 int amdgpu_amdkfd_gpuvm_create_process_vm(struct kgd_dev *kgd, unsigned int pasid, in amdgpu_amdkfd_gpuvm_create_process_vm()
961 int amdgpu_amdkfd_gpuvm_acquire_process_vm(struct kgd_dev *kgd, in amdgpu_amdkfd_gpuvm_acquire_process_vm()
1025 void amdgpu_amdkfd_gpuvm_destroy_process_vm(struct kgd_dev *kgd, void *vm) in amdgpu_amdkfd_gpuvm_destroy_process_vm()
1040 void amdgpu_amdkfd_gpuvm_release_process_vm(struct kgd_dev *kgd, void *vm) in amdgpu_amdkfd_gpuvm_release_process_vm()
1071 struct kgd_dev *kgd, uint64_t va, uint64_t size, in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1227 struct kgd_dev *kgd, struct kgd_mem *mem) in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1299 struct kgd_dev *kgd, struct kgd_mem *mem, void *vm) in amdgpu_amdkfd_gpuvm_map_memory_to_gpu()
1437 struct kgd_dev *kgd, struct kgd_mem *mem, void *vm) in amdgpu_amdkfd_gpuvm_unmap_memory_from_gpu()
1505 struct kgd_dev *kgd, struct kgd_mem *mem, bool intr) in amdgpu_amdkfd_gpuvm_sync_memory()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_device.c524 struct kfd_dev *kgd2kfd_probe(struct kgd_dev *kgd, in kgd2kfd_probe()
Dkfd_topology.c115 struct kfd_dev *kfd_device_by_kgd(const struct kgd_dev *kgd) in kfd_device_by_kgd()
Dkfd_priv.h229 struct kgd_dev *kgd; member