Searched refs:num_xcps (Results 1 – 4 of 4) sorted by relevance
142 int amdgpu_xcp_init(struct amdgpu_xcp_mgr *xcp_mgr, int num_xcps, int mode) in amdgpu_xcp_init() argument149 if (!num_xcps || num_xcps > MAX_XCP) in amdgpu_xcp_init()158 xcp_mgr->num_xcp_per_mem_partition = num_xcps / xcp_mgr->adev->gmc.num_mem_partitions; in amdgpu_xcp_init()160 for (i = 0; i < num_xcps; ++i) { in amdgpu_xcp_init()183 xcp_mgr->num_xcps = num_xcps; in amdgpu_xcp_init()192 int ret, curr_mode, num_xcps = 0; in __amdgpu_xcp_switch_partition_mode() local203 ret = xcp_mgr->funcs->switch_partition_mode(xcp_mgr, mode, &num_xcps); in __amdgpu_xcp_switch_partition_mode()366 for (i = 0; i < xcp_mgr->num_xcps; ++i) { in amdgpu_xcp_get_partition()495 for (i = 0; i < xcp_mgr->num_xcps; i++) { in amdgpu_xcp_select_scheds()558 for (xcp_id = 0; xcp_id < adev->xcp_mgr->num_xcps; xcp_id++) { in amdgpu_set_xcp_id()[all …]
711 if (adev->xcp_mgr && adev->xcp_mgr->num_xcps > 0 && in amdgpu_info_ioctl()712 fpriv->xcp_id < adev->xcp_mgr->num_xcps) { in amdgpu_info_ioctl()
307 if (node->adev->xcp_mgr && node->adev->xcp_mgr->num_xcps > 0) in kfd_check_hiq_mqd_doorbell_id()
2587 if (i == adev->xcp_mgr->num_xcps) in smu_v13_0_6_get_xcp_metrics()