Searched refs:pqm (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_process_queue_manager.c | 33 struct process_queue_manager *pqm, unsigned int qid) in get_queue_by_qid() argument 37 list_for_each_entry(pqn, &pqm->queues, process_queue_list) { in get_queue_by_qid() 46 static int assign_queue_slot_by_qid(struct process_queue_manager *pqm, in assign_queue_slot_by_qid() argument 52 if (__test_and_set_bit(qid, pqm->queue_slot_bitmap)) { in assign_queue_slot_by_qid() 60 static int find_available_queue_slot(struct process_queue_manager *pqm, in find_available_queue_slot() argument 65 found = find_first_zero_bit(pqm->queue_slot_bitmap, in find_available_queue_slot() 72 pqm->process->pasid); in find_available_queue_slot() 76 set_bit(found, pqm->queue_slot_bitmap); in find_available_queue_slot() 93 int pqm_set_gws(struct process_queue_manager *pqm, unsigned int qid, in pqm_set_gws() argument 102 pqn = get_queue_by_qid(pqm, qid); in pqm_set_gws() [all …]
|
D | kfd_priv.h | 612 struct process_queue_manager *pqm; member 855 struct process_queue_manager pqm; member 1204 int pqm_init(struct process_queue_manager *pqm, struct kfd_process *p); 1205 void pqm_uninit(struct process_queue_manager *pqm); 1206 int pqm_create_queue(struct process_queue_manager *pqm, 1216 int pqm_destroy_queue(struct process_queue_manager *pqm, unsigned int qid); 1217 int pqm_update_queue_properties(struct process_queue_manager *pqm, unsigned int qid, 1219 int pqm_update_mqd(struct process_queue_manager *pqm, unsigned int qid, 1221 int pqm_set_gws(struct process_queue_manager *pqm, unsigned int qid, 1223 struct kernel_queue *pqm_get_kernel_queue(struct process_queue_manager *pqm, [all …]
|
D | kfd_device_queue_manager_cik.c | 135 if (qpd->pqm->process->is_32bit_user_mode) { in update_qpd_cik() 146 qpd->pqm->process->is_32bit_user_mode, temp, qpd->sh_mem_bases); in update_qpd_cik() 176 qpd->pqm->process->is_32bit_user_mode, temp, qpd->sh_mem_bases); in update_qpd_cik_hawaii()
|
D | kfd_device_queue_manager_vi.c | 175 if (qpd->pqm->process->is_32bit_user_mode) { in update_qpd_vi() 190 qpd->pqm->process->is_32bit_user_mode, temp, qpd->sh_mem_bases); in update_qpd_vi()
|
D | kfd_packet_manager_v9.c | 44 packet->bitfields2.pasid = qpd->pqm->process->pasid; in pm_map_process_v9() 89 packet->bitfields2.pasid = qpd->pqm->process->pasid; in pm_map_process_aldebaran()
|
D | kfd_process.c | 1119 pqm_uninit(&p->pqm); in kfd_process_wq_release() 1385 err = pqm_init(&process->pqm, process); in create_process() 1434 pqm_uninit(&process->pqm); in create_process() 1511 pdd->qpd.pqm = &p->pqm; in kfd_create_process_device_data() 2062 r = pqm_debugfs_mqds(m, &p->pqm); in kfd_debugfs_mqds_by_process()
|
D | kfd_chardev.c | 377 err = pqm_create_queue(&p->pqm, dev, filep, &q_properties, &queue_id, wptr_bo, in kfd_ioctl_create_queue() 432 retval = pqm_destroy_queue(&p->pqm, args->queue_id); in kfd_ioctl_destroy_queue() 477 retval = pqm_update_queue_properties(&p->pqm, args->queue_id, &properties); in kfd_ioctl_update_queue() 531 retval = pqm_update_mqd(&p->pqm, args->queue_id, &minfo); in kfd_ioctl_set_cu_mask() 548 r = pqm_get_wave_state(&p->pqm, args->queue_id, in kfd_ioctl_get_queue_wave_state() 1428 q = pqm_get_user_queue(&p->pqm, args->queue_id); in kfd_ioctl_alloc_queue_gws() 1447 retval = pqm_set_gws(&p->pqm, args->queue_id, args->num_gws ? dev->gws : NULL); in kfd_ioctl_alloc_queue_gws() 1597 if (!list_empty(&p->pqm.queues)) { in kfd_ioctl_set_xnack_mode()
|
D | kfd_packet_manager_vi.c | 55 packet->bitfields2.pasid = qpd->pqm->process->pasid; in pm_map_process_vi()
|
D | kfd_device_queue_manager.c | 186 queue_input.process_id = qpd->pqm->process->pasid; in add_queue_mes() 774 qpd->pqm->process); in destroy_queue_nocpsch_locked() 2188 dbgdev_wave_reset_wavefronts(dqm->dev, qpd->pqm->process); in process_termination_cpsch()
|