Lines Matching refs:num_xcps
123 int amdgpu_xcp_init(struct amdgpu_xcp_mgr *xcp_mgr, int num_xcps, int mode) in amdgpu_xcp_init() argument
130 if (!num_xcps || num_xcps > MAX_XCP) in amdgpu_xcp_init()
139 xcp_mgr->num_xcp_per_mem_partition = num_xcps / xcp_mgr->adev->gmc.num_mem_partitions; in amdgpu_xcp_init()
141 for (i = 0; i < num_xcps; ++i) { in amdgpu_xcp_init()
163 xcp_mgr->num_xcps = num_xcps; in amdgpu_xcp_init()
172 int ret, curr_mode, num_xcps = 0; in __amdgpu_xcp_switch_partition_mode() local
183 ret = xcp_mgr->funcs->switch_partition_mode(xcp_mgr, mode, &num_xcps); in __amdgpu_xcp_switch_partition_mode()
346 for (i = 0; i < xcp_mgr->num_xcps; ++i) { in amdgpu_xcp_get_partition()
474 for (i = 0; i < xcp_mgr->num_xcps; i++) { in amdgpu_xcp_select_scheds()
536 for (xcp_id = 0; xcp_id < adev->xcp_mgr->num_xcps; xcp_id++) { in amdgpu_set_xcp_id()
588 (adev->xcp_mgr->num_xcps > adev->vcn.num_vcn_inst)) in amdgpu_xcp_sched_list_update()