Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_xcp.c487 u32 sel_xcp_id; in amdgpu_xcp_select_scheds() local
505 sel_xcp_id = fpriv->xcp_id; in amdgpu_xcp_select_scheds()
507 if (xcp_mgr->xcp[sel_xcp_id].gpu_sched[hw_ip][hw_prio].num_scheds) { in amdgpu_xcp_select_scheds()
512 atomic_inc(&adev->xcp_mgr->xcp[sel_xcp_id].ref_cnt); in amdgpu_xcp_select_scheds()
513 dev_dbg(adev->dev, "Selected partition #%d", sel_xcp_id); in amdgpu_xcp_select_scheds()
515 dev_err(adev->dev, "Failed to schedule partition #%d.", sel_xcp_id); in amdgpu_xcp_select_scheds()
572 unsigned int sel_xcp_id) in amdgpu_xcp_gpu_sched_update() argument
576 num_gpu_sched = &adev->xcp_mgr->xcp[sel_xcp_id] in amdgpu_xcp_gpu_sched_update()
578 adev->xcp_mgr->xcp[sel_xcp_id].gpu_sched[ring->funcs->type][ring->hw_prio] in amdgpu_xcp_gpu_sched_update()
581 ring->name, sel_xcp_id, ring->funcs->type, in amdgpu_xcp_gpu_sched_update()