Lines Matching refs:xcp
104 if (adev->xcp_mgr->xcp[xcp_id].ip[ip_blk].inst_mask & inst_mask) { in aqua_vanjaram_set_xcp_id()
122 num_gpu_sched = &adev->xcp_mgr->xcp[sel_xcp_id] in aqua_vanjaram_xcp_gpu_sched_update()
124 adev->xcp_mgr->xcp[sel_xcp_id].gpu_sched[ring->funcs->type][ring->hw_prio] in aqua_vanjaram_xcp_gpu_sched_update()
138 atomic_set(&adev->xcp_mgr->xcp[i].ref_cnt, 0); in aqua_vanjaram_xcp_sched_list_update()
139 memset(adev->xcp_mgr->xcp[i].gpu_sched, 0, sizeof(adev->xcp_mgr->xcp->gpu_sched)); in aqua_vanjaram_xcp_sched_list_update()
199 total_ref_cnt = atomic_read(&adev->xcp_mgr->xcp[i].ref_cnt); in aqua_vanjaram_select_scheds()
208 if (adev->xcp_mgr->xcp[sel_xcp_id].gpu_sched[hw_ip][hw_prio].num_scheds) { in aqua_vanjaram_select_scheds()
209 *num_scheds = adev->xcp_mgr->xcp[fpriv->xcp_id].gpu_sched[hw_ip][hw_prio].num_scheds; in aqua_vanjaram_select_scheds()
210 *scheds = adev->xcp_mgr->xcp[fpriv->xcp_id].gpu_sched[hw_ip][hw_prio].sched; in aqua_vanjaram_select_scheds()
211 atomic_inc(&adev->xcp_mgr->xcp[sel_xcp_id].ref_cnt); in aqua_vanjaram_select_scheds()
599 struct amdgpu_xcp *xcp, uint8_t *mem_id) in aqua_vanjaram_get_xcp_mem_id() argument
620 r = amdgpu_xcp_get_inst_details(xcp, AMDGPU_XCP_GFX, &xcc_mask); in aqua_vanjaram_get_xcp_mem_id()