Home
last modified time | relevance | path

Searched defs:mqd (Results 1 – 22 of 22) sorted by relevance

/Linux-v5.15/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager_vi.c37 static inline struct vi_mqd *get_mqd(void *mqd) in get_mqd()
42 static inline struct vi_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd()
47 static void update_cu_mask(struct mqd_manager *mm, void *mqd, in update_cu_mask()
90 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd()
156 static int load_mqd(struct mqd_manager *mm, void *mqd, in load_mqd()
169 static void __update_mqd(struct mqd_manager *mm, void *mqd, in __update_mqd()
240 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd()
246 static uint32_t read_doorbell_id(void *mqd) in read_doorbell_id()
253 static void update_mqd_tonga(struct mqd_manager *mm, void *mqd, in update_mqd_tonga()
259 static int destroy_mqd(struct mqd_manager *mm, void *mqd, in destroy_mqd()
[all …]
Dkfd_mqd_manager_cik.c34 static inline struct cik_mqd *get_mqd(void *mqd) in get_mqd()
39 static inline struct cik_sdma_rlc_registers *get_sdma_mqd(void *mqd) in get_sdma_mqd()
44 static void update_cu_mask(struct mqd_manager *mm, void *mqd, in update_cu_mask()
87 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd()
141 static void init_mqd_sdma(struct mqd_manager *mm, void **mqd, in init_mqd_sdma()
158 static void free_mqd(struct mqd_manager *mm, void *mqd, in free_mqd()
165 static int load_mqd(struct mqd_manager *mm, void *mqd, uint32_t pipe_id, in load_mqd()
178 static int load_mqd_sdma(struct mqd_manager *mm, void *mqd, in load_mqd_sdma()
187 static void __update_mqd(struct mqd_manager *mm, void *mqd, in __update_mqd()
223 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd()
[all …]
Dkfd_mqd_manager_v10.c34 static inline struct v10_compute_mqd *get_mqd(void *mqd) in get_mqd()
39 static inline struct v10_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd()
44 static void update_cu_mask(struct mqd_manager *mm, void *mqd, in update_cu_mask()
87 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd()
142 static int load_mqd(struct mqd_manager *mm, void *mqd, in load_mqd()
156 static int hiq_load_mqd_kiq(struct mqd_manager *mm, void *mqd, in hiq_load_mqd_kiq()
164 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd()
227 static uint32_t read_doorbell_id(void *mqd) in read_doorbell_id()
234 static int destroy_mqd(struct mqd_manager *mm, void *mqd, in destroy_mqd()
244 static void free_mqd(struct mqd_manager *mm, void *mqd, in free_mqd()
[all …]
Dkfd_mqd_manager_v9.c35 static inline struct v9_mqd *get_mqd(void *mqd) in get_mqd()
40 static inline struct v9_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd()
45 static void update_cu_mask(struct mqd_manager *mm, void *mqd, in update_cu_mask()
130 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd()
194 static int load_mqd(struct mqd_manager *mm, void *mqd, in load_mqd()
206 static int hiq_load_mqd_kiq(struct mqd_manager *mm, void *mqd, in hiq_load_mqd_kiq()
214 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd()
279 static uint32_t read_doorbell_id(void *mqd) in read_doorbell_id()
286 static int destroy_mqd(struct mqd_manager *mm, void *mqd, in destroy_mqd()
296 static void free_mqd(struct mqd_manager *mm, void *mqd, in free_mqd()
[all …]
Dkfd_mqd_manager.c89 void free_mqd_hiq_sdma(struct mqd_manager *mm, void *mqd, in free_mqd_hiq_sdma()
Dkfd_device_queue_manager.c1993 struct kfd_mem_obj *mqd) in deallocate_hiq_sdma_mqd()
Dkfd_priv.h520 void *mqd; member
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_arcturus.c65 static inline struct v9_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd()
126 int kgd_arcturus_hqd_sdma_load(struct kgd_dev *kgd, void *mqd, in kgd_arcturus_hqd_sdma_load()
228 bool kgd_arcturus_hqd_sdma_is_occupied(struct kgd_dev *kgd, void *mqd) in kgd_arcturus_hqd_sdma_is_occupied()
247 int kgd_arcturus_hqd_sdma_destroy(struct kgd_dev *kgd, void *mqd, in kgd_arcturus_hqd_sdma_destroy()
Damdgpu_amdkfd_gfx_v10.c211 static inline struct v10_compute_mqd *get_mqd(void *mqd) in get_mqd()
216 static inline struct v10_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd()
221 static int kgd_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, in kgd_hqd_load()
304 static int kgd_hiq_mqd_load(struct kgd_dev *kgd, void *mqd, in kgd_hiq_mqd_load()
389 static int kgd_hqd_sdma_load(struct kgd_dev *kgd, void *mqd, in kgd_hqd_sdma_load()
513 static bool kgd_hqd_sdma_is_occupied(struct kgd_dev *kgd, void *mqd) in kgd_hqd_sdma_is_occupied()
532 static int kgd_hqd_destroy(struct kgd_dev *kgd, void *mqd, in kgd_hqd_destroy()
646 static int kgd_hqd_sdma_destroy(struct kgd_dev *kgd, void *mqd, in kgd_hqd_sdma_destroy()
Damdgpu_amdkfd_gfx_v10_3.c181 static inline struct v10_compute_mqd *get_mqd(void *mqd) in get_mqd()
186 static inline struct v10_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd()
191 static int hqd_load_v10_3(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, in hqd_load_v10_3()
289 static int hiq_mqd_load_v10_3(struct kgd_dev *kgd, void *mqd, in hiq_mqd_load_v10_3()
374 static int hqd_sdma_load_v10_3(struct kgd_dev *kgd, void *mqd, in hqd_sdma_load_v10_3()
498 static bool hqd_sdma_is_occupied_v10_3(struct kgd_dev *kgd, void *mqd) in hqd_sdma_is_occupied_v10_3()
517 static int hqd_destroy_v10_3(struct kgd_dev *kgd, void *mqd, in hqd_destroy_v10_3()
568 static int hqd_sdma_destroy_v10_3(struct kgd_dev *kgd, void *mqd, in hqd_sdma_destroy_v10_3()
Damdgpu_amdkfd_gfx_v8.c158 static inline struct vi_mqd *get_mqd(void *mqd) in get_mqd()
163 static inline struct vi_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd()
168 static int kgd_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, in kgd_hqd_load()
279 static int kgd_hqd_sdma_load(struct kgd_dev *kgd, void *mqd, in kgd_hqd_sdma_load()
392 static bool kgd_hqd_sdma_is_occupied(struct kgd_dev *kgd, void *mqd) in kgd_hqd_sdma_is_occupied()
410 static int kgd_hqd_destroy(struct kgd_dev *kgd, void *mqd, in kgd_hqd_destroy()
515 static int kgd_hqd_sdma_destroy(struct kgd_dev *kgd, void *mqd, in kgd_hqd_sdma_destroy()
Damdgpu_amdkfd_gfx_v9.c226 static inline struct v9_mqd *get_mqd(void *mqd) in get_mqd()
231 static inline struct v9_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd()
236 int kgd_gfx_v9_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, in kgd_gfx_v9_hqd_load()
316 int kgd_gfx_v9_hiq_mqd_load(struct kgd_dev *kgd, void *mqd, in kgd_gfx_v9_hiq_mqd_load()
401 static int kgd_hqd_sdma_load(struct kgd_dev *kgd, void *mqd, in kgd_hqd_sdma_load()
525 static bool kgd_hqd_sdma_is_occupied(struct kgd_dev *kgd, void *mqd) in kgd_hqd_sdma_is_occupied()
544 int kgd_gfx_v9_hqd_destroy(struct kgd_dev *kgd, void *mqd, in kgd_gfx_v9_hqd_destroy()
597 static int kgd_hqd_sdma_destroy(struct kgd_dev *kgd, void *mqd, in kgd_hqd_sdma_destroy()
Damdgpu_amdkfd_gfx_v7.c200 static inline struct cik_mqd *get_mqd(void *mqd) in get_mqd()
205 static inline struct cik_sdma_rlc_registers *get_sdma_mqd(void *mqd) in get_sdma_mqd()
210 static int kgd_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, in kgd_hqd_load()
292 static int kgd_hqd_sdma_load(struct kgd_dev *kgd, void *mqd, in kgd_hqd_sdma_load()
397 static bool kgd_hqd_sdma_is_occupied(struct kgd_dev *kgd, void *mqd) in kgd_hqd_sdma_is_occupied()
415 static int kgd_hqd_destroy(struct kgd_dev *kgd, void *mqd, in kgd_hqd_destroy()
517 static int kgd_hqd_sdma_destroy(struct kgd_dev *kgd, void *mqd, in kgd_hqd_sdma_destroy()
Dmes_v10_1.c597 struct v10_compute_mqd *mqd = ring->mqd_ptr; in mes_v10_1_mqd_init() local
726 struct v10_compute_mqd *mqd = ring->mqd_ptr; in mes_v10_1_queue_init_register() local
Dgfx_v10_0.c6617 struct v10_gfx_mqd *mqd = ring->mqd_ptr; in gfx_v10_0_gfx_mqd_init() local
6710 struct v10_gfx_mqd *mqd = ring->mqd_ptr; in gfx_v10_0_gfx_queue_init_register() local
6758 struct v10_gfx_mqd *mqd = ring->mqd_ptr; in gfx_v10_0_gfx_init_queue() local
6858 …atic void gfx_v10_0_compute_mqd_set_priority(struct amdgpu_ring *ring, struct v10_compute_mqd *mqd) in gfx_v10_0_compute_mqd_set_priority()
6874 struct v10_compute_mqd *mqd = ring->mqd_ptr; in gfx_v10_0_compute_mqd_init() local
7011 struct v10_compute_mqd *mqd = ring->mqd_ptr; in gfx_v10_0_kiq_init_register() local
7121 struct v10_compute_mqd *mqd = ring->mqd_ptr; in gfx_v10_0_kiq_init_queue() local
7159 struct v10_compute_mqd *mqd = ring->mqd_ptr; in gfx_v10_0_kcq_init_queue() local
Dgfx_v8_0.c4440 static void gfx_v8_0_mqd_set_priority(struct amdgpu_ring *ring, struct vi_mqd *mqd) in gfx_v8_0_mqd_set_priority()
4456 struct vi_mqd *mqd = ring->mqd_ptr; in gfx_v8_0_mqd_init() local
4601 struct vi_mqd *mqd) in gfx_v8_0_mqd_commit()
4640 struct vi_mqd *mqd = ring->mqd_ptr; in gfx_v8_0_kiq_init_queue() local
4679 struct vi_mqd *mqd = ring->mqd_ptr; in gfx_v8_0_kcq_init_queue() local
Dgfx_v9_0.c3451 static void gfx_v9_0_mqd_set_priority(struct amdgpu_ring *ring, struct v9_mqd *mqd) in gfx_v9_0_mqd_set_priority()
3467 struct v9_mqd *mqd = ring->mqd_ptr; in gfx_v9_0_mqd_init() local
3616 struct v9_mqd *mqd = ring->mqd_ptr; in gfx_v9_0_kiq_init_register() local
3769 struct v9_mqd *mqd = ring->mqd_ptr; in gfx_v9_0_kiq_init_queue() local
3816 struct v9_mqd *mqd = ring->mqd_ptr; in gfx_v9_0_kcq_init_queue() local
Dgfx_v7_0.c2924 struct cik_mqd *mqd, in gfx_v7_0_mqd_init()
3043 static int gfx_v7_0_mqd_commit(struct amdgpu_device *adev, struct cik_mqd *mqd) in gfx_v7_0_mqd_commit()
3072 struct cik_mqd *mqd; in gfx_v7_0_compute_queue_init() local
/Linux-v5.15/drivers/misc/sgi-gru/
Dgrukservices.c545 int gru_create_message_queue(struct gru_message_queue_desc *mqd, in gru_create_message_queue()
579 static int send_noop_message(void *cb, struct gru_message_queue_desc *mqd, in send_noop_message()
637 static int send_message_queue_full(void *cb, struct gru_message_queue_desc *mqd, in send_message_queue_full()
706 static int send_message_put_nacked(void *cb, struct gru_message_queue_desc *mqd, in send_message_put_nacked()
754 static int send_message_failure(void *cb, struct gru_message_queue_desc *mqd, in send_message_failure()
796 int gru_send_message_gpa(struct gru_message_queue_desc *mqd, void *mesg, in gru_send_message_gpa()
837 void gru_free_message(struct gru_message_queue_desc *mqd, void *mesg) in gru_free_message()
869 void *gru_get_next_message(struct gru_message_queue_desc *mqd) in gru_get_next_message()
997 struct gru_message_queue_desc mqd; in quicktest1() local
/Linux-v5.15/drivers/gpu/drm/amd/include/
Dvi_structs.h420 struct vi_mqd mqd; member
Dv9_structs.h675 struct v9_mqd mqd; member
/Linux-v5.15/drivers/gpu/drm/radeon/
Dcik.c4518 struct bonaire_mqd *mqd; in cik_cp_compute_resume() local