Searched defs:kgd (Results 1 – 6 of 6) sorted by relevance
/drivers/gpu/drm/radeon/ |
D | radeon_kfd.c | 230 static int alloc_gtt_mem(struct kgd_dev *kgd, size_t size, in alloc_gtt_mem() 291 static void free_gtt_mem(struct kgd_dev *kgd, void *mem_obj) in free_gtt_mem() 305 static uint64_t get_vmem_size(struct kgd_dev *kgd) in get_vmem_size() 314 static uint64_t get_gpu_clock_counter(struct kgd_dev *kgd) in get_gpu_clock_counter() 321 static uint32_t get_max_engine_clock_in_mhz(struct kgd_dev *kgd) in get_max_engine_clock_in_mhz() 329 static inline struct radeon_device *get_radeon_device(struct kgd_dev *kgd) in get_radeon_device() 334 static void write_register(struct kgd_dev *kgd, uint32_t offset, uint32_t value) in write_register() 341 static uint32_t read_register(struct kgd_dev *kgd, uint32_t offset) in read_register() 348 static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, in lock_srbm() 358 static void unlock_srbm(struct kgd_dev *kgd) in unlock_srbm() [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gfx_v8.c | 123 static inline struct amdgpu_device *get_amdgpu_device(struct kgd_dev *kgd) in get_amdgpu_device() 128 static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, in lock_srbm() 138 static void unlock_srbm(struct kgd_dev *kgd) in unlock_srbm() 146 static void acquire_queue(struct kgd_dev *kgd, uint32_t pipe_id, in acquire_queue() 155 static void release_queue(struct kgd_dev *kgd) in release_queue() 160 static void kgd_program_sh_mem_settings(struct kgd_dev *kgd, uint32_t vmid, in kgd_program_sh_mem_settings() 178 static int kgd_set_pasid_vmid_mapping(struct kgd_dev *kgd, unsigned int pasid, in kgd_set_pasid_vmid_mapping() 205 static int kgd_init_pipeline(struct kgd_dev *kgd, uint32_t pipe_id, in kgd_init_pipeline() 211 static int kgd_init_interrupts(struct kgd_dev *kgd, uint32_t pipe_id) in kgd_init_interrupts() 244 static int kgd_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, in kgd_hqd_load() [all …]
|
D | amdgpu_amdkfd_gfx_v7.c | 162 static inline struct amdgpu_device *get_amdgpu_device(struct kgd_dev *kgd) in get_amdgpu_device() 167 static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, in lock_srbm() 177 static void unlock_srbm(struct kgd_dev *kgd) in unlock_srbm() 185 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() 243 static int kgd_init_pipeline(struct kgd_dev *kgd, uint32_t pipe_id, in kgd_init_pipeline() 261 static int kgd_init_interrupts(struct kgd_dev *kgd, uint32_t pipe_id) in kgd_init_interrupts() 302 static int kgd_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, in kgd_hqd_load() [all …]
|
D | amdgpu_amdkfd.c | 169 int alloc_gtt_mem(struct kgd_dev *kgd, size_t size, in alloc_gtt_mem() 230 void free_gtt_mem(struct kgd_dev *kgd, void *mem_obj) in free_gtt_mem() 244 uint64_t get_vmem_size(struct kgd_dev *kgd) in get_vmem_size() 254 uint64_t get_gpu_clock_counter(struct kgd_dev *kgd) in get_gpu_clock_counter() 263 uint32_t get_max_engine_clock_in_mhz(struct kgd_dev *kgd) in get_max_engine_clock_in_mhz()
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_device.c | 109 struct kfd_dev *kgd2kfd_probe(struct kgd_dev *kgd, in kgd2kfd_probe()
|
D | kfd_priv.h | 145 struct kgd_dev *kgd; member
|