Lines Matching refs:fpriv
413 struct amdgpu_fpriv *fpriv, in amdgpu_xcp_open_device() argument
421 fpriv->xcp_id = AMDGPU_XCP_NO_PARTITION; in amdgpu_xcp_open_device()
434 fpriv->xcp_id = i; in amdgpu_xcp_open_device()
439 fpriv->vm.mem_id = fpriv->xcp_id == AMDGPU_XCP_NO_PARTITION ? -1 : in amdgpu_xcp_open_device()
440 adev->xcp_mgr->xcp[fpriv->xcp_id].mem_id; in amdgpu_xcp_open_device()
462 struct amdgpu_fpriv *fpriv, in amdgpu_xcp_select_scheds() argument
470 if (fpriv->xcp_id == AMDGPU_XCP_NO_PARTITION) { in amdgpu_xcp_select_scheds()
473 fpriv->xcp_id = 0; in amdgpu_xcp_select_scheds()
479 fpriv->xcp_id = i; in amdgpu_xcp_select_scheds()
484 sel_xcp_id = fpriv->xcp_id; in amdgpu_xcp_select_scheds()
488 xcp_mgr->xcp[fpriv->xcp_id].gpu_sched[hw_ip][hw_prio].num_scheds; in amdgpu_xcp_select_scheds()
490 xcp_mgr->xcp[fpriv->xcp_id].gpu_sched[hw_ip][hw_prio].sched; in amdgpu_xcp_select_scheds()