Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_kernel_queue.c65 kq->mqd_mgr = dev->dqm->mqd_mgrs[KFD_MQD_TYPE_DIQ]; in kq_initialize()
68 kq->mqd_mgr = dev->dqm->mqd_mgrs[KFD_MQD_TYPE_HIQ]; in kq_initialize()
75 if (!kq->mqd_mgr) in kq_initialize()
147 kq->queue->mqd_mem_obj = kq->mqd_mgr->allocate_mqd(kq->mqd_mgr->dev, in kq_initialize()
151 kq->mqd_mgr->init_mqd(kq->mqd_mgr, &kq->queue->mqd, in kq_initialize()
160 kq->mqd_mgr->load_mqd(kq->mqd_mgr, kq->queue->mqd, in kq_initialize()
180 kq->mqd_mgr->free_mqd(kq->mqd_mgr, kq->queue->mqd, kq->queue->mqd_mem_obj); in kq_initialize()
202 kq->mqd_mgr->destroy_mqd(kq->mqd_mgr, in kq_uninitialize()
211 kq->mqd_mgr->free_mqd(kq->mqd_mgr, kq->queue->mqd, in kq_uninitialize()
Dkfd_device_queue_manager.c535 struct mqd_manager *mqd_mgr; in create_queue_nocpsch() local
563 mqd_mgr = dqm->mqd_mgrs[get_mqd_type_from_queue_type( in create_queue_nocpsch()
585 q->mqd_mem_obj = mqd_mgr->allocate_mqd(mqd_mgr->dev, &q->properties); in create_queue_nocpsch()
594 mqd_mgr->restore_mqd(mqd_mgr, &q->mqd, q->mqd_mem_obj, &q->gart_mqd_addr, in create_queue_nocpsch()
598 mqd_mgr->init_mqd(mqd_mgr, &q->mqd, q->mqd_mem_obj, in create_queue_nocpsch()
611 retval = mqd_mgr->load_mqd(mqd_mgr, q->mqd, q->pipe, in create_queue_nocpsch()
633 mqd_mgr->free_mqd(mqd_mgr, q->mqd, q->mqd_mem_obj); in create_queue_nocpsch()
765 struct mqd_manager *mqd_mgr; in destroy_queue_nocpsch_locked() local
767 mqd_mgr = dqm->mqd_mgrs[get_mqd_type_from_queue_type( in destroy_queue_nocpsch_locked()
790 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.c1016 struct mqd_manager *mqd_mgr; in pqm_debugfs_mqds() local
1043 mqd_mgr = q->device->dqm->mqd_mgrs[mqd_type]; in pqm_debugfs_mqds()
1044 size = mqd_mgr->mqd_stride(mqd_mgr, in pqm_debugfs_mqds()
1048 mqd_mgr = pqn->kq->mqd_mgr; in pqm_debugfs_mqds()
1069 r = mqd_mgr->debugfs_show_mqd(m, mqd); in pqm_debugfs_mqds()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ring.c670 struct amdgpu_mqd *mqd_mgr; in amdgpu_ring_init_mqd() local
678 mqd_mgr = &adev->mqds[AMDGPU_HW_IP_COMPUTE]; in amdgpu_ring_init_mqd()
680 mqd_mgr = &adev->mqds[ring->funcs->type]; in amdgpu_ring_init_mqd()
682 return mqd_mgr->init_mqd(adev, ring->mqd_ptr, &prop); in amdgpu_ring_init_mqd()
Damdgpu_mes.c513 struct amdgpu_mqd *mqd_mgr = &adev->mqds[p->queue_type]; in amdgpu_mes_queue_alloc_mqd() local
514 u32 mqd_size = mqd_mgr->mqd_size; in amdgpu_mes_queue_alloc_mqd()
544 struct amdgpu_mqd *mqd_mgr = &adev->mqds[p->queue_type]; in amdgpu_mes_queue_init_mqd() local
565 mqd_mgr->init_mqd(adev, q->mqd_cpu_ptr, &mqd_prop); in amdgpu_mes_queue_init_mqd()