Lines Matching refs:queue_input

350 	struct mes_remove_queue_input queue_input;  in amdgpu_mes_destroy_process()  local
374 queue_input.doorbell_offset = queue->doorbell_off; in amdgpu_mes_destroy_process()
375 queue_input.gang_context_addr = gang->gang_ctx_gpu_addr; in amdgpu_mes_destroy_process()
378 &queue_input); in amdgpu_mes_destroy_process()
639 struct mes_add_queue_input queue_input; in amdgpu_mes_add_hw_queue() local
690 queue_input.process_id = gang->process->pasid; in amdgpu_mes_add_hw_queue()
692 queue_input.page_table_base_addr = in amdgpu_mes_add_hw_queue()
696 queue_input.process_va_start = 0; in amdgpu_mes_add_hw_queue()
697 queue_input.process_va_end = in amdgpu_mes_add_hw_queue()
699 queue_input.process_quantum = gang->process->process_quantum; in amdgpu_mes_add_hw_queue()
700 queue_input.process_context_addr = gang->process->proc_ctx_gpu_addr; in amdgpu_mes_add_hw_queue()
701 queue_input.gang_quantum = gang->gang_quantum; in amdgpu_mes_add_hw_queue()
702 queue_input.gang_context_addr = gang->gang_ctx_gpu_addr; in amdgpu_mes_add_hw_queue()
703 queue_input.inprocess_gang_priority = gang->inprocess_gang_priority; in amdgpu_mes_add_hw_queue()
704 queue_input.gang_global_priority_level = gang->global_priority_level; in amdgpu_mes_add_hw_queue()
705 queue_input.doorbell_offset = qprops->doorbell_off; in amdgpu_mes_add_hw_queue()
706 queue_input.mqd_addr = queue->mqd_gpu_addr; in amdgpu_mes_add_hw_queue()
707 queue_input.wptr_addr = qprops->wptr_gpu_addr; in amdgpu_mes_add_hw_queue()
708 queue_input.wptr_mc_addr = qprops->wptr_mc_addr; in amdgpu_mes_add_hw_queue()
709 queue_input.queue_type = qprops->queue_type; in amdgpu_mes_add_hw_queue()
710 queue_input.paging = qprops->paging; in amdgpu_mes_add_hw_queue()
711 queue_input.is_kfd_process = 0; in amdgpu_mes_add_hw_queue()
713 r = adev->mes.funcs->add_hw_queue(&adev->mes, &queue_input); in amdgpu_mes_add_hw_queue()
757 struct mes_remove_queue_input queue_input; in amdgpu_mes_remove_hw_queue() local
784 queue_input.doorbell_offset = queue->doorbell_off; in amdgpu_mes_remove_hw_queue()
785 queue_input.gang_context_addr = gang->gang_ctx_gpu_addr; in amdgpu_mes_remove_hw_queue()
787 r = adev->mes.funcs->remove_hw_queue(&adev->mes, &queue_input); in amdgpu_mes_remove_hw_queue()
807 struct mes_unmap_legacy_queue_input queue_input; in amdgpu_mes_unmap_legacy_queue() local
810 queue_input.action = action; in amdgpu_mes_unmap_legacy_queue()
811 queue_input.queue_type = ring->funcs->type; in amdgpu_mes_unmap_legacy_queue()
812 queue_input.doorbell_offset = ring->doorbell_index; in amdgpu_mes_unmap_legacy_queue()
813 queue_input.pipe_id = ring->pipe; in amdgpu_mes_unmap_legacy_queue()
814 queue_input.queue_id = ring->queue; in amdgpu_mes_unmap_legacy_queue()
815 queue_input.trail_fence_addr = gpu_addr; in amdgpu_mes_unmap_legacy_queue()
816 queue_input.trail_fence_data = seq; in amdgpu_mes_unmap_legacy_queue()
818 r = adev->mes.funcs->unmap_legacy_queue(&adev->mes, &queue_input); in amdgpu_mes_unmap_legacy_queue()