Home
last modified time | relevance | path

Searched refs:mqd_mgr (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_kernel_queue.c66 kq->mqd_mgr = dev->dqm->mqd_mgrs[KFD_MQD_TYPE_DIQ]; in kq_initialize()
69 kq->mqd_mgr = dev->dqm->mqd_mgrs[KFD_MQD_TYPE_HIQ]; in kq_initialize()
76 if (!kq->mqd_mgr) in kq_initialize()
149 kq->queue->mqd_mem_obj = kq->mqd_mgr->allocate_mqd(kq->mqd_mgr->dev, in kq_initialize()
153 kq->mqd_mgr->init_mqd(kq->mqd_mgr, &kq->queue->mqd, in kq_initialize()
162 kq->mqd_mgr->load_mqd(kq->mqd_mgr, kq->queue->mqd, in kq_initialize()
182 kq->mqd_mgr->free_mqd(kq->mqd_mgr, kq->queue->mqd, kq->queue->mqd_mem_obj); in kq_initialize()
204 kq->mqd_mgr->destroy_mqd(kq->mqd_mgr, in kq_uninitialize()
215 kq->mqd_mgr->free_mqd(kq->mqd_mgr, kq->queue->mqd, in kq_uninitialize()
Dkfd_device_queue_manager.c590 struct mqd_manager *mqd_mgr; in create_queue_nocpsch() local
618 mqd_mgr = dqm->mqd_mgrs[get_mqd_type_from_queue_type( in create_queue_nocpsch()
640 q->mqd_mem_obj = mqd_mgr->allocate_mqd(mqd_mgr->dev, &q->properties); in create_queue_nocpsch()
649 mqd_mgr->restore_mqd(mqd_mgr, &q->mqd, q->mqd_mem_obj, &q->gart_mqd_addr, in create_queue_nocpsch()
653 mqd_mgr->init_mqd(mqd_mgr, &q->mqd, q->mqd_mem_obj, in create_queue_nocpsch()
666 retval = mqd_mgr->load_mqd(mqd_mgr, q->mqd, q->pipe, in create_queue_nocpsch()
688 mqd_mgr->free_mqd(mqd_mgr, q->mqd, q->mqd_mem_obj); in create_queue_nocpsch()
820 struct mqd_manager *mqd_mgr; in destroy_queue_nocpsch_locked() local
822 mqd_mgr = dqm->mqd_mgrs[get_mqd_type_from_queue_type( in destroy_queue_nocpsch_locked()
845 retval = mqd_mgr->destroy_mqd(mqd_mgr, q->mqd, in destroy_queue_nocpsch_locked()
[all …]
Dkfd_kernel_queue.h57 struct mqd_manager *mqd_mgr; member
Dkfd_process_queue_manager.c1086 struct mqd_manager *mqd_mgr; in pqm_debugfs_mqds() local
1113 mqd_mgr = q->device->dqm->mqd_mgrs[mqd_type]; in pqm_debugfs_mqds()
1114 size = mqd_mgr->mqd_stride(mqd_mgr, in pqm_debugfs_mqds()
1118 mqd_mgr = pqn->kq->mqd_mgr; in pqm_debugfs_mqds()
1139 r = mqd_mgr->debugfs_show_mqd(m, mqd); in pqm_debugfs_mqds()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ring.c694 struct amdgpu_mqd *mqd_mgr; in amdgpu_ring_init_mqd() local
702 mqd_mgr = &adev->mqds[AMDGPU_HW_IP_COMPUTE]; in amdgpu_ring_init_mqd()
704 mqd_mgr = &adev->mqds[ring->funcs->type]; in amdgpu_ring_init_mqd()
706 return mqd_mgr->init_mqd(adev, ring->mqd_ptr, &prop); in amdgpu_ring_init_mqd()
Damdgpu_mes.c554 struct amdgpu_mqd *mqd_mgr = &adev->mqds[p->queue_type]; in amdgpu_mes_queue_alloc_mqd() local
555 u32 mqd_size = mqd_mgr->mqd_size; in amdgpu_mes_queue_alloc_mqd()
585 struct amdgpu_mqd *mqd_mgr = &adev->mqds[p->queue_type]; in amdgpu_mes_queue_init_mqd() local
606 mqd_mgr->init_mqd(adev, q->mqd_cpu_ptr, &mqd_prop); in amdgpu_mes_queue_init_mqd()