Home
last modified time | relevance | path

Searched refs:queue_input (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mes.c334 struct mes_remove_queue_input queue_input; in amdgpu_mes_destroy_process() local
358 queue_input.doorbell_offset = queue->doorbell_off; in amdgpu_mes_destroy_process()
359 queue_input.gang_context_addr = gang->gang_ctx_gpu_addr; in amdgpu_mes_destroy_process()
362 &queue_input); in amdgpu_mes_destroy_process()
623 struct mes_add_queue_input queue_input; in amdgpu_mes_add_hw_queue() local
627 memset(&queue_input, 0, sizeof(struct mes_add_queue_input)); in amdgpu_mes_add_hw_queue()
676 queue_input.process_id = gang->process->pasid; in amdgpu_mes_add_hw_queue()
678 queue_input.page_table_base_addr = in amdgpu_mes_add_hw_queue()
682 queue_input.process_va_start = 0; in amdgpu_mes_add_hw_queue()
683 queue_input.process_va_end = in amdgpu_mes_add_hw_queue()
[all …]
Damdgpu_umsch_mm.c215 struct umsch_mm_add_queue_input queue_input = {}; in add_test_queue() local
218 queue_input.process_id = test->pasid; in add_test_queue()
219 queue_input.page_table_base_addr = amdgpu_gmc_pd_addr(test->vm->root.bo); in add_test_queue()
221 queue_input.process_va_start = 0; in add_test_queue()
222 queue_input.process_va_end = (adev->vm_manager.max_pfn - 1) << AMDGPU_GPU_PAGE_SHIFT; in add_test_queue()
224 queue_input.process_quantum = 100000; /* 10ms */ in add_test_queue()
225 queue_input.process_csa_addr = test->ctx_data_gpu_addr + in add_test_queue()
228 queue_input.context_quantum = 10000; /* 1ms */ in add_test_queue()
229 queue_input.context_csa_addr = qinfo->csa_addr; in add_test_queue()
231 queue_input.inprocess_context_priority = CONTEXT_PRIORITY_LEVEL_NORMAL; in add_test_queue()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager.c201 struct mes_add_queue_input queue_input; in add_queue_mes() local
208 memset(&queue_input, 0x0, sizeof(struct mes_add_queue_input)); in add_queue_mes()
209 queue_input.process_id = qpd->pqm->process->pasid; in add_queue_mes()
210 queue_input.page_table_base_addr = qpd->page_table_base; in add_queue_mes()
211 queue_input.process_va_start = 0; in add_queue_mes()
212 queue_input.process_va_end = adev->vm_manager.max_pfn - 1; in add_queue_mes()
214 queue_input.process_quantum = KFD_MES_PROCESS_QUANTUM; /* Equivalent to 10ms. */ in add_queue_mes()
215 queue_input.process_context_addr = pdd->proc_ctx_gpu_addr; in add_queue_mes()
216 queue_input.gang_quantum = KFD_MES_GANG_QUANTUM; /* Equivalent to 1ms */ in add_queue_mes()
217 queue_input.gang_context_addr = q->gang_ctx_gpu_addr; in add_queue_mes()
[all …]