Lines Matching refs:fpriv
434 struct amdgpu_fpriv *fpriv, in amdgpu_xcp_open_device() argument
442 fpriv->xcp_id = AMDGPU_XCP_NO_PARTITION; in amdgpu_xcp_open_device()
455 fpriv->xcp_id = i; in amdgpu_xcp_open_device()
460 fpriv->vm.mem_id = fpriv->xcp_id == AMDGPU_XCP_NO_PARTITION ? -1 : in amdgpu_xcp_open_device()
461 adev->xcp_mgr->xcp[fpriv->xcp_id].mem_id; in amdgpu_xcp_open_device()
483 struct amdgpu_fpriv *fpriv, in amdgpu_xcp_select_scheds() argument
491 if (fpriv->xcp_id == AMDGPU_XCP_NO_PARTITION) { in amdgpu_xcp_select_scheds()
494 fpriv->xcp_id = 0; in amdgpu_xcp_select_scheds()
500 fpriv->xcp_id = i; in amdgpu_xcp_select_scheds()
505 sel_xcp_id = fpriv->xcp_id; in amdgpu_xcp_select_scheds()
509 xcp_mgr->xcp[fpriv->xcp_id].gpu_sched[hw_ip][hw_prio].num_scheds; in amdgpu_xcp_select_scheds()
511 xcp_mgr->xcp[fpriv->xcp_id].gpu_sched[hw_ip][hw_prio].sched; in amdgpu_xcp_select_scheds()