Searched refs:pqm (Results 1 – 11 of 11) sorted by relevance
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_process_queue_manager.c | 31 struct process_queue_manager *pqm, unsigned int qid) in get_queue_by_qid() argument 35 BUG_ON(!pqm); in get_queue_by_qid() 37 list_for_each_entry(pqn, &pqm->queues, process_queue_list) { in get_queue_by_qid() 47 static int find_available_queue_slot(struct process_queue_manager *pqm, in find_available_queue_slot() argument 52 BUG_ON(!pqm || !qid); in find_available_queue_slot() 56 found = find_first_zero_bit(pqm->queue_slot_bitmap, in find_available_queue_slot() 63 pqm->process->pasid); in find_available_queue_slot() 67 set_bit(found, pqm->queue_slot_bitmap); in find_available_queue_slot() 73 int pqm_init(struct process_queue_manager *pqm, struct kfd_process *p) in pqm_init() argument 75 BUG_ON(!pqm); in pqm_init() [all …]
|
D | kfd_priv.h | 419 struct process_queue_manager *pqm; member 508 struct process_queue_manager pqm; member 649 int pqm_init(struct process_queue_manager *pqm, struct kfd_process *p); 650 void pqm_uninit(struct process_queue_manager *pqm); 651 int pqm_create_queue(struct process_queue_manager *pqm, 658 int pqm_destroy_queue(struct process_queue_manager *pqm, unsigned int qid); 659 int pqm_update_queue(struct process_queue_manager *pqm, unsigned int qid, 661 struct kernel_queue *pqm_get_kernel_queue(struct process_queue_manager *pqm,
|
D | kfd_process.c | 244 pqm_uninit(&p->pqm); in kfd_process_notifier_release() 317 err = pqm_init(&process->pqm, process); in create_process() 329 pqm_uninit(&process->pqm); in create_process() 432 pqm_uninit(&p->pqm); in kfd_unbind_process_from_device()
|
D | kfd_dbgdev.c | 190 BUG_ON(!dbgdev || !dbgdev->pqm || !dbgdev->dev); in dbgdev_register_diq() 192 status = pqm_create_queue(dbgdev->pqm, dbgdev->dev, NULL, in dbgdev_register_diq() 203 kq = pqm_get_kernel_queue(dbgdev->pqm, qid); in dbgdev_register_diq() 207 pqm_destroy_queue(dbgdev->pqm, qid); in dbgdev_register_diq() 230 BUG_ON(!dbgdev || !dbgdev->pqm || !dbgdev->kq); in dbgdev_unregister_diq() 232 status = pqm_destroy_queue(dbgdev->pqm, in dbgdev_unregister_diq() 868 pdbgdev->pqm = NULL; in kfd_dbgdev_init()
|
D | kfd_device_queue_manager_cik.c | 121 if (qpd->pqm->process->is_32bit_user_mode) { in register_process_cik() 131 qpd->pqm->process->is_32bit_user_mode, temp, qpd->sh_mem_bases); in register_process_cik()
|
D | kfd_device_queue_manager_vi.c | 130 if (qpd->pqm->process->is_32bit_user_mode) { in register_process_vi() 143 qpd->pqm->process->is_32bit_user_mode, temp, qpd->sh_mem_bases); in register_process_vi()
|
D | kfd_dbgmgr.c | 111 pmgr->dbgdev->pqm = &p->pqm; in kfd_dbgmgr_register()
|
D | kfd_dbgmgr.h | 263 struct process_queue_manager *pqm; member
|
D | kfd_chardev.c | 286 err = pqm_create_queue(&p->pqm, dev, filep, &q_properties, in kfd_ioctl_create_queue() 331 retval = pqm_destroy_queue(&p->pqm, args->queue_id); in kfd_ioctl_destroy_queue() 377 retval = pqm_update_queue(&p->pqm, args->queue_id, &properties); in kfd_ioctl_update_queue()
|
D | kfd_device_queue_manager.c | 758 if (node->qpd->pqm->process && dqm->dev) in start_cpsch() 760 node->qpd->pqm->process); in start_cpsch()
|
D | kfd_packet_manager.c | 164 packet->bitfields2.pasid = qpd->pqm->process->pasid; in pm_create_map_process()
|