• Home
  • Raw
  • Download

Lines Matching defs:kgd

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()
366 static void acquire_queue(struct kgd_dev *kgd, uint32_t pipe_id, in acquire_queue()
375 static void release_queue(struct kgd_dev *kgd) in release_queue()
380 static void kgd_program_sh_mem_settings(struct kgd_dev *kgd, uint32_t vmid, in kgd_program_sh_mem_settings()
396 static int kgd_set_pasid_vmid_mapping(struct kgd_dev *kgd, unsigned int pasid, in kgd_set_pasid_vmid_mapping()
424 static int kgd_init_pipeline(struct kgd_dev *kgd, uint32_t pipe_id, in kgd_init_pipeline()
442 static int kgd_init_interrupts(struct kgd_dev *kgd, uint32_t pipe_id) in kgd_init_interrupts()
482 static int kgd_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, in kgd_hqd_load()
559 static int kgd_hqd_sdma_load(struct kgd_dev *kgd, void *mqd) in kgd_hqd_sdma_load()
598 static bool kgd_hqd_is_occupied(struct kgd_dev *kgd, uint64_t queue_address, in kgd_hqd_is_occupied()
619 static bool kgd_hqd_sdma_is_occupied(struct kgd_dev *kgd, void *mqd) in kgd_hqd_sdma_is_occupied()
637 static int kgd_hqd_destroy(struct kgd_dev *kgd, uint32_t reset_type, in kgd_hqd_destroy()
666 static int kgd_hqd_sdma_destroy(struct kgd_dev *kgd, void *mqd, in kgd_hqd_sdma_destroy()
699 static int kgd_address_watch_disable(struct kgd_dev *kgd) in kgd_address_watch_disable()
720 static int kgd_address_watch_execute(struct kgd_dev *kgd, in kgd_address_watch_execute()
758 static int kgd_wave_control_execute(struct kgd_dev *kgd, in kgd_wave_control_execute()
782 static uint32_t kgd_address_watch_get_offset(struct kgd_dev *kgd, in kgd_address_watch_get_offset()
789 static bool get_atc_vmid_pasid_mapping_valid(struct kgd_dev *kgd, uint8_t vmid) in get_atc_vmid_pasid_mapping_valid()
798 static uint16_t get_atc_vmid_pasid_mapping_pasid(struct kgd_dev *kgd, in get_atc_vmid_pasid_mapping_pasid()
808 static void write_vmid_invalidate_request(struct kgd_dev *kgd, uint8_t vmid) in write_vmid_invalidate_request()
815 static uint16_t get_fw_version(struct kgd_dev *kgd, enum kgd_engine_type type) in get_fw_version()