Home
last modified time | relevance | path

Searched refs:pqm (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/gpu/drm/amd/amdkfd/
A Dkfd_process_queue_manager.c57 pqm->process->pasid); in find_available_queue_slot()
87 pqn = get_queue_by_qid(pqm, qid); in pqm_set_gws()
137 INIT_LIST_HEAD(&pqm->queues); in pqm_init()
138 pqm->queue_slot_bitmap = in pqm_init()
141 if (!pqm->queue_slot_bitmap) in pqm_init()
143 pqm->process = p; in pqm_init()
162 kfree(pqm->queue_slot_bitmap); in pqm_uninit()
163 pqm->queue_slot_bitmap = NULL; in pqm_uninit()
185 (*q)->process = pqm->process; in init_user_queue()
352 pqn = get_queue_by_qid(pqm, qid); in pqm_destroy_queue()
[all …]
A Dkfd_priv.h585 struct process_queue_manager *pqm; member
816 struct process_queue_manager pqm; member
1041 int pqm_init(struct process_queue_manager *pqm, struct kfd_process *p);
1042 void pqm_uninit(struct process_queue_manager *pqm);
1043 int pqm_create_queue(struct process_queue_manager *pqm,
1049 int pqm_destroy_queue(struct process_queue_manager *pqm, unsigned int qid);
1052 int pqm_update_mqd(struct process_queue_manager *pqm, unsigned int qid,
1054 int pqm_set_gws(struct process_queue_manager *pqm, unsigned int qid,
1056 struct kernel_queue *pqm_get_kernel_queue(struct process_queue_manager *pqm,
1058 struct queue *pqm_get_user_queue(struct process_queue_manager *pqm,
[all …]
A Dkfd_device_queue_manager_cik.c134 if (qpd->pqm->process->is_32bit_user_mode) { in update_qpd_cik()
145 qpd->pqm->process->is_32bit_user_mode, temp, qpd->sh_mem_bases); in update_qpd_cik()
175 qpd->pqm->process->is_32bit_user_mode, temp, qpd->sh_mem_bases); in update_qpd_cik_hawaii()
A Dkfd_dbgmgr.c108 pmgr->dbgdev->pqm = &p->pqm; in kfd_dbgmgr_register()
A Dkfd_device_queue_manager_vi.c174 if (qpd->pqm->process->is_32bit_user_mode) { in update_qpd_vi()
189 qpd->pqm->process->is_32bit_user_mode, temp, qpd->sh_mem_bases); in update_qpd_vi()
A Dkfd_dbgdev.c187 status = pqm_create_queue(dbgdev->pqm, dbgdev->dev, NULL, in dbgdev_register_diq()
197 kq = pqm_get_kernel_queue(dbgdev->pqm, qid); in dbgdev_register_diq()
201 pqm_destroy_queue(dbgdev->pqm, qid); in dbgdev_register_diq()
222 status = pqm_destroy_queue(dbgdev->pqm, in dbgdev_unregister_diq()
827 pdbgdev->pqm = NULL; in kfd_dbgdev_init()
A Dkfd_chardev.c313 err = pqm_create_queue(&p->pqm, dev, filep, &q_properties, &queue_id, in kfd_ioctl_create_queue()
363 retval = pqm_destroy_queue(&p->pqm, args->queue_id); in kfd_ioctl_destroy_queue()
408 retval = pqm_update_queue_properties(&p->pqm, args->queue_id, &properties); in kfd_ioctl_update_queue()
462 retval = pqm_update_mqd(&p->pqm, args->queue_id, &minfo); in kfd_ioctl_set_cu_mask()
479 r = pqm_get_wave_state(&p->pqm, args->queue_id, in kfd_ioctl_get_queue_wave_state()
1648 q = pqm_get_user_queue(&p->pqm, args->queue_id); in kfd_ioctl_alloc_queue_gws()
1667 retval = pqm_set_gws(&p->pqm, args->queue_id, args->num_gws ? dev->gws : NULL); in kfd_ioctl_alloc_queue_gws()
1812 if (!list_empty(&p->pqm.queues)) { in kfd_ioctl_set_xnack_mode()
A Dkfd_packet_manager_v9.c43 packet->bitfields2.pasid = qpd->pqm->process->pasid; in pm_map_process_v9()
88 packet->bitfields2.pasid = qpd->pqm->process->pasid; in pm_map_process_aldebaran()
A Dkfd_dbgmgr.h262 struct process_queue_manager *pqm; member
A Dkfd_process.c1175 pqm_uninit(&p->pqm); in kfd_process_notifier_release()
1374 err = pqm_init(&process->pqm, process); in create_process()
1417 pqm_uninit(&process->pqm); in create_process()
1497 pdd->qpd.pqm = &p->pqm; in kfd_create_process_device_data()
1977 r = pqm_debugfs_mqds(m, &p->pqm); in kfd_debugfs_mqds_by_process()
A Dkfd_packet_manager_vi.c54 packet->bitfields2.pasid = qpd->pqm->process->pasid; in pm_map_process_vi()
A Dkfd_device_queue_manager.c511 qpd->pqm->process); in destroy_queue_nocpsch_locked()
1789 dbgdev_wave_reset_wavefronts(dqm->dev, qpd->pqm->process); in process_termination_cpsch()

Completed in 35 milliseconds