/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_mqd_manager_vi.c | 38 static inline struct vi_mqd *get_mqd(void *mqd) in get_mqd() 43 static inline struct vi_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd() 48 static void update_cu_mask(struct mqd_manager *mm, void *mqd, in update_cu_mask() 91 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd() 157 static int load_mqd(struct mqd_manager *mm, void *mqd, in load_mqd() 170 static void __update_mqd(struct mqd_manager *mm, void *mqd, in __update_mqd() 240 static bool check_preemption_failed(struct mqd_manager *mm, void *mqd) in check_preemption_failed() 247 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd() 254 static int get_wave_state(struct mqd_manager *mm, void *mqd, in get_wave_state() 277 static void get_checkpoint_info(struct mqd_manager *mm, void *mqd, u32 *ctl_stack_size) in get_checkpoint_info() [all …]
|
D | kfd_mqd_manager_cik.c | 35 static inline struct cik_mqd *get_mqd(void *mqd) in get_mqd() 40 static inline struct cik_sdma_rlc_registers *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() 88 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd() 142 static void init_mqd_sdma(struct mqd_manager *mm, void **mqd, in init_mqd_sdma() 159 static int load_mqd(struct mqd_manager *mm, void *mqd, uint32_t pipe_id, in load_mqd() 172 static void __update_mqd(struct mqd_manager *mm, void *mqd, in __update_mqd() 209 static bool check_preemption_failed(struct mqd_manager *mm, void *mqd) in check_preemption_failed() 216 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd() 223 static void update_mqd_sdma(struct mqd_manager *mm, void *mqd, in update_mqd_sdma() [all …]
|
D | kfd_mqd_manager_v10.c | 35 static inline struct v10_compute_mqd *get_mqd(void *mqd) in get_mqd() 40 static inline struct v10_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() 88 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd() 148 static int load_mqd(struct mqd_manager *mm, void *mqd, in load_mqd() 162 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd() 227 static bool check_preemption_failed(struct mqd_manager *mm, void *mqd) in check_preemption_failed() 234 static int get_wave_state(struct mqd_manager *mm, void *mqd, in get_wave_state() 272 static void checkpoint_mqd(struct mqd_manager *mm, void *mqd, void *mqd_dst, void *ctl_stack_dst) in checkpoint_mqd() 281 static void restore_mqd(struct mqd_manager *mm, void **mqd, in restore_mqd() [all …]
|
D | kfd_mqd_manager_v11.c | 34 static inline struct v11_compute_mqd *get_mqd(void *mqd) in get_mqd() 39 static inline struct v11_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() 123 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd() 202 static int load_mqd(struct mqd_manager *mm, void *mqd, in load_mqd() 216 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd() 281 static bool check_preemption_failed(struct mqd_manager *mm, void *mqd) in check_preemption_failed() 288 static int get_wave_state(struct mqd_manager *mm, void *mqd, in get_wave_state() 325 static void checkpoint_mqd(struct mqd_manager *mm, void *mqd, void *mqd_dst, void *ctl_stack_dst) in checkpoint_mqd() 334 static void restore_mqd(struct mqd_manager *mm, void **mqd, in restore_mqd() [all …]
|
D | kfd_mqd_manager_v9.c | 52 static inline struct v9_mqd *get_mqd(void *mqd) in get_mqd() 57 static inline struct v9_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd() 62 static void update_cu_mask(struct mqd_manager *mm, void *mqd, in update_cu_mask() 159 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd() 227 static int load_mqd(struct mqd_manager *mm, void *mqd, in load_mqd() 239 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd() 321 static bool check_preemption_failed(struct mqd_manager *mm, void *mqd) in check_preemption_failed() 331 static int get_wave_state(struct mqd_manager *mm, void *mqd, in get_wave_state() 367 static void get_checkpoint_info(struct mqd_manager *mm, void *mqd, u32 *ctl_stack_size) in get_checkpoint_info() 374 static void checkpoint_mqd(struct mqd_manager *mm, void *mqd, void *mqd_dst, void *ctl_stack_dst) in checkpoint_mqd() [all …]
|
D | kfd_mqd_manager_v12.c | 34 static inline struct v12_compute_mqd *get_mqd(void *mqd) in get_mqd() 39 static inline struct v12_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() 98 static void init_mqd(struct mqd_manager *mm, void **mqd, in init_mqd() 165 static int load_mqd(struct mqd_manager *mm, void *mqd, in load_mqd() 179 static void update_mqd(struct mqd_manager *mm, void *mqd, in update_mqd() 244 static bool check_preemption_failed(struct mqd_manager *mm, void *mqd) in check_preemption_failed() 251 static int get_wave_state(struct mqd_manager *mm, void *mqd, in get_wave_state() 288 static void init_mqd_hiq(struct mqd_manager *mm, void **mqd, in init_mqd_hiq() 302 static void init_mqd_sdma(struct mqd_manager *mm, void **mqd, in init_mqd_sdma() [all …]
|
D | kfd_mqd_manager.c | 91 void free_mqd_hiq_sdma(struct mqd_manager *mm, void *mqd, in free_mqd_hiq_sdma() 208 int kfd_hiq_load_mqd_kiq(struct mqd_manager *mm, void *mqd, in kfd_hiq_load_mqd_kiq() 216 int kfd_destroy_mqd_cp(struct mqd_manager *mm, void *mqd, in kfd_destroy_mqd_cp() 224 void kfd_free_mqd_cp(struct mqd_manager *mm, void *mqd, in kfd_free_mqd_cp() 235 bool kfd_is_occupied_cp(struct mqd_manager *mm, void *mqd, in kfd_is_occupied_cp() 243 int kfd_load_mqd_sdma(struct mqd_manager *mm, void *mqd, in kfd_load_mqd_sdma() 256 int kfd_destroy_mqd_sdma(struct mqd_manager *mm, void *mqd, in kfd_destroy_mqd_sdma() 264 bool kfd_is_occupied_sdma(struct mqd_manager *mm, void *mqd, in kfd_is_occupied_sdma()
|
D | kfd_process_queue_manager.c | 789 void *mqd, in pqm_checkpoint_mqd() 813 uint8_t *mqd, *ctl_stack; in criu_checkpoint_queue() local 973 uint8_t *mqd, *ctl_stack, *q_extra_data = NULL; in kfd_criu_restore_queue() local 1088 void *mqd; in pqm_debugfs_mqds() local
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gfx_v10_3.c | 169 static inline struct v10_compute_mqd *get_mqd(void *mqd) in get_mqd() 174 static inline struct v10_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd() 179 static int hqd_load_v10_3(struct amdgpu_device *adev, void *mqd, in hqd_load_v10_3() 276 static int hiq_mqd_load_v10_3(struct amdgpu_device *adev, void *mqd, in hiq_mqd_load_v10_3() 359 static int hqd_sdma_load_v10_3(struct amdgpu_device *adev, void *mqd, in hqd_sdma_load_v10_3() 482 void *mqd) in hqd_sdma_is_occupied_v10_3() 500 static int hqd_destroy_v10_3(struct amdgpu_device *adev, void *mqd, in hqd_destroy_v10_3() 550 static int hqd_sdma_destroy_v10_3(struct amdgpu_device *adev, void *mqd, in hqd_sdma_destroy_v10_3()
|
D | amdgpu_amdkfd_gc_9_4_3.c | 38 static inline struct v9_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd() 59 static int kgd_gfx_v9_4_3_hqd_sdma_load(struct amdgpu_device *adev, void *mqd, in kgd_gfx_v9_4_3_hqd_sdma_load() 165 static bool kgd_gfx_v9_4_3_hqd_sdma_is_occupied(struct amdgpu_device *adev, void *mqd) in kgd_gfx_v9_4_3_hqd_sdma_is_occupied() 183 static int kgd_gfx_v9_4_3_hqd_sdma_destroy(struct amdgpu_device *adev, void *mqd, in kgd_gfx_v9_4_3_hqd_sdma_destroy() 279 static inline struct v9_mqd *get_mqd(void *mqd) in get_mqd() 284 static int kgd_gfx_v9_4_3_hqd_load(struct amdgpu_device *adev, void *mqd, in kgd_gfx_v9_4_3_hqd_load()
|
D | amdgpu_amdkfd_gfx_v7.c | 149 static inline struct cik_mqd *get_mqd(void *mqd) in get_mqd() 154 static inline struct cik_sdma_rlc_registers *get_sdma_mqd(void *mqd) in get_sdma_mqd() 159 static int kgd_hqd_load(struct amdgpu_device *adev, void *mqd, in kgd_hqd_load() 239 static int kgd_hqd_sdma_load(struct amdgpu_device *adev, void *mqd, in kgd_hqd_sdma_load() 342 static bool kgd_hqd_sdma_is_occupied(struct amdgpu_device *adev, void *mqd) in kgd_hqd_sdma_is_occupied() 359 static int kgd_hqd_destroy(struct amdgpu_device *adev, void *mqd, in kgd_hqd_destroy() 460 static int kgd_hqd_sdma_destroy(struct amdgpu_device *adev, void *mqd, in kgd_hqd_sdma_destroy()
|
D | amdgpu_amdkfd_gfx_v8.c | 144 static inline struct vi_mqd *get_mqd(void *mqd) in get_mqd() 149 static inline struct vi_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd() 154 static int kgd_hqd_load(struct amdgpu_device *adev, void *mqd, in kgd_hqd_load() 263 static int kgd_hqd_sdma_load(struct amdgpu_device *adev, void *mqd, in kgd_hqd_sdma_load() 374 static bool kgd_hqd_sdma_is_occupied(struct amdgpu_device *adev, void *mqd) in kgd_hqd_sdma_is_occupied() 391 static int kgd_hqd_destroy(struct amdgpu_device *adev, void *mqd, in kgd_hqd_destroy() 495 static int kgd_hqd_sdma_destroy(struct amdgpu_device *adev, void *mqd, in kgd_hqd_sdma_destroy()
|
D | amdgpu_amdkfd_arcturus.c | 62 static inline struct v9_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd() 123 int kgd_arcturus_hqd_sdma_load(struct amdgpu_device *adev, void *mqd, in kgd_arcturus_hqd_sdma_load() 224 void *mqd) in kgd_arcturus_hqd_sdma_is_occupied() 242 int kgd_arcturus_hqd_sdma_destroy(struct amdgpu_device *adev, void *mqd, in kgd_arcturus_hqd_sdma_destroy()
|
D | amdgpu_amdkfd_gfx_v11.c | 154 static inline struct v11_compute_mqd *get_mqd(void *mqd) in get_mqd() 159 static inline struct v11_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd() 164 static int hqd_load_v11(struct amdgpu_device *adev, void *mqd, uint32_t pipe_id, in hqd_load_v11() 261 static int hiq_mqd_load_v11(struct amdgpu_device *adev, void *mqd, in hiq_mqd_load_v11() 344 static int hqd_sdma_load_v11(struct amdgpu_device *adev, void *mqd, in hqd_sdma_load_v11() 470 static bool hqd_sdma_is_occupied_v11(struct amdgpu_device *adev, void *mqd) in hqd_sdma_is_occupied_v11() 488 static int hqd_destroy_v11(struct amdgpu_device *adev, void *mqd, in hqd_destroy_v11() 535 static int hqd_sdma_destroy_v11(struct amdgpu_device *adev, void *mqd, in hqd_sdma_destroy_v11()
|
D | amdgpu_amdkfd_gfx_v10.c | 198 static inline struct v10_compute_mqd *get_mqd(void *mqd) in get_mqd() 203 static inline struct v10_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd() 208 static int kgd_hqd_load(struct amdgpu_device *adev, void *mqd, in kgd_hqd_load() 290 static int kgd_hiq_mqd_load(struct amdgpu_device *adev, void *mqd, in kgd_hiq_mqd_load() 373 static int kgd_hqd_sdma_load(struct amdgpu_device *adev, void *mqd, in kgd_hqd_sdma_load() 495 static bool kgd_hqd_sdma_is_occupied(struct amdgpu_device *adev, void *mqd) in kgd_hqd_sdma_is_occupied() 513 static int kgd_hqd_destroy(struct amdgpu_device *adev, void *mqd, in kgd_hqd_destroy() 626 static int kgd_hqd_sdma_destroy(struct amdgpu_device *adev, void *mqd, in kgd_hqd_sdma_destroy()
|
D | amdgpu_amdkfd_gfx_v9.c | 212 static inline struct v9_mqd *get_mqd(void *mqd) in get_mqd() 217 static inline struct v9_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd() 222 int kgd_gfx_v9_hqd_load(struct amdgpu_device *adev, void *mqd, in kgd_gfx_v9_hqd_load() 301 int kgd_gfx_v9_hiq_mqd_load(struct amdgpu_device *adev, void *mqd, in kgd_gfx_v9_hiq_mqd_load() 384 static int kgd_hqd_sdma_load(struct amdgpu_device *adev, void *mqd, in kgd_hqd_sdma_load() 506 static bool kgd_hqd_sdma_is_occupied(struct amdgpu_device *adev, void *mqd) in kgd_hqd_sdma_is_occupied() 524 int kgd_gfx_v9_hqd_destroy(struct amdgpu_device *adev, void *mqd, in kgd_gfx_v9_hqd_destroy() 576 static int kgd_hqd_sdma_destroy(struct amdgpu_device *adev, void *mqd, in kgd_hqd_sdma_destroy()
|
D | mes_v12_0.c | 1001 struct v12_compute_mqd *mqd = ring->mqd_ptr; in mes_v12_0_mqd_init() local 1110 struct v12_compute_mqd *mqd = ring->mqd_ptr; in mes_v12_0_queue_init_register() local
|
D | mes_v11_0.c | 1033 struct v11_compute_mqd *mqd = ring->mqd_ptr; in mes_v11_0_mqd_init() local 1137 struct v11_compute_mqd *mqd = ring->mqd_ptr; in mes_v11_0_queue_init_register() local
|
D | gfx_v12_0.c | 2840 struct v12_gfx_mqd *mqd = m; in gfx_v12_0_gfx_mqd_init() local 2926 struct v12_gfx_mqd *mqd = ring->mqd_ptr; in gfx_v12_0_kgq_init_queue() local 2993 struct v12_compute_mqd *mqd = m; in gfx_v12_0_compute_mqd_init() local 3122 struct v12_compute_mqd *mqd = ring->mqd_ptr; in gfx_v12_0_kiq_init_register() local 3232 struct v12_compute_mqd *mqd = ring->mqd_ptr; in gfx_v12_0_kiq_init_queue() local 3272 struct v12_compute_mqd *mqd = ring->mqd_ptr; in gfx_v12_0_kcq_init_queue() local
|
D | amdgpu_umsch_mm.c | 185 struct MQD_INFO *mqd = (struct MQD_INFO *)test->mqd_data_cpu_addr; in setup_vpe_queue() local 271 struct MQD_INFO *mqd = (struct MQD_INFO *)test->mqd_data_cpu_addr; in submit_vpe_queue() local
|
D | gfx_v10_0.c | 6595 struct v10_gfx_mqd *mqd, in gfx_v10_0_gfx_mqd_set_priority() 6615 struct v10_gfx_mqd *mqd = m; in gfx_v10_0_gfx_mqd_init() local 6698 struct v10_gfx_mqd *mqd = ring->mqd_ptr; in gfx_v10_0_kgq_init_queue() local 6772 struct v10_compute_mqd *mqd = m; in gfx_v10_0_compute_mqd_init() local 6888 struct v10_compute_mqd *mqd = ring->mqd_ptr; in gfx_v10_0_kiq_init_register() local 6997 struct v10_compute_mqd *mqd = ring->mqd_ptr; in gfx_v10_0_kiq_init_queue() local 7036 struct v10_compute_mqd *mqd = ring->mqd_ptr; in gfx_v10_0_kcq_init_queue() local
|
D | gfx_v11_0.c | 3887 struct v11_gfx_mqd *mqd, in gfx_v11_0_gfx_mqd_set_priority() 3907 struct v11_gfx_mqd *mqd = m; in gfx_v11_0_gfx_mqd_init() local 3990 struct v11_gfx_mqd *mqd = ring->mqd_ptr; in gfx_v11_0_kgq_init_queue() local 4048 struct v11_compute_mqd *mqd = m; in gfx_v11_0_compute_mqd_init() local 4178 struct v11_compute_mqd *mqd = ring->mqd_ptr; in gfx_v11_0_kiq_init_register() local 4288 struct v11_compute_mqd *mqd = ring->mqd_ptr; in gfx_v11_0_kiq_init_queue() local 4327 struct v11_compute_mqd *mqd = ring->mqd_ptr; in gfx_v11_0_kcq_init_queue() local
|
D | amdgpu_ring.c | 531 volatile u32 *mqd; in amdgpu_debugfs_mqd_read() local
|
D | gfx_v8_0.c | 4394 static void gfx_v8_0_mqd_set_priority(struct amdgpu_ring *ring, struct vi_mqd *mqd) in gfx_v8_0_mqd_set_priority() 4410 struct vi_mqd *mqd = ring->mqd_ptr; in gfx_v8_0_mqd_init() local 4555 struct vi_mqd *mqd) in gfx_v8_0_mqd_commit() 4594 struct vi_mqd *mqd = ring->mqd_ptr; in gfx_v8_0_kiq_init_queue() local 4634 struct vi_mqd *mqd = ring->mqd_ptr; in gfx_v8_0_kcq_init_queue() local
|
/linux-6.12.1/drivers/misc/sgi-gru/ |
D | grukservices.c | 543 int gru_create_message_queue(struct gru_message_queue_desc *mqd, in gru_create_message_queue() 577 static int send_noop_message(void *cb, struct gru_message_queue_desc *mqd, in send_noop_message() 635 static int send_message_queue_full(void *cb, struct gru_message_queue_desc *mqd, in send_message_queue_full() 704 static int send_message_put_nacked(void *cb, struct gru_message_queue_desc *mqd, in send_message_put_nacked() 752 static int send_message_failure(void *cb, struct gru_message_queue_desc *mqd, in send_message_failure() 794 int gru_send_message_gpa(struct gru_message_queue_desc *mqd, void *mesg, in gru_send_message_gpa() 835 void gru_free_message(struct gru_message_queue_desc *mqd, void *mesg) in gru_free_message() 867 void *gru_get_next_message(struct gru_message_queue_desc *mqd) in gru_get_next_message() 995 struct gru_message_queue_desc mqd; in quicktest1() local
|