Searched refs:num_xcps (Results 1 – 10 of 10) sorted by relevance
| /drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_xcp.h | 123 uint8_t num_xcps; member 135 int *num_xcps); 158 int amdgpu_xcp_init(struct amdgpu_xcp_mgr *xcp_mgr, int num_xcps, int mode); 194 return xcp_mgr->num_xcps; in amdgpu_xcp_get_num_xcp()
|
| A D | amdgpu_xcp.c | 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() [all …]
|
| A D | aqua_vanjaram.c | 386 int mode, int *num_xcps) in aqua_vanjaram_switch_partition_mode() argument 429 *num_xcps = num_xcc / num_xcc_per_xcp; in aqua_vanjaram_switch_partition_mode() 430 amdgpu_xcp_init(xcp_mgr, *num_xcps, mode); in aqua_vanjaram_switch_partition_mode()
|
| A D | amdgpu_gfx.c | 1582 if (value >= adev->xcp_mgr->num_xcps) in amdgpu_gfx_set_run_cleaner_shader() 1630 for (i = 0; i < adev->xcp_mgr->num_xcps; i++) { in amdgpu_gfx_get_enforce_isolation() 1632 if (i < (adev->xcp_mgr->num_xcps - 1)) in amdgpu_gfx_get_enforce_isolation() 1670 for (i = 0; i < (adev->xcp_mgr ? adev->xcp_mgr->num_xcps : 1); i++) { in amdgpu_gfx_set_enforce_isolation() 1686 if (adev->xcp_mgr && num_partitions != adev->xcp_mgr->num_xcps) in amdgpu_gfx_set_enforce_isolation()
|
| A D | amdgpu_ids.c | 598 for (i = 0; i < (adev->xcp_mgr ? adev->xcp_mgr->num_xcps : 1); i++) { in amdgpu_vmid_mgr_init()
|
| A D | amdgpu_mes.c | 666 for (i = 0; i < (adev->xcp_mgr ? adev->xcp_mgr->num_xcps : 1); i++) { in amdgpu_mes_update_enforce_isolation()
|
| A D | amdgpu_kms.c | 672 if (adev->xcp_mgr && adev->xcp_mgr->num_xcps > 0 && in amdgpu_info_ioctl() 673 fpriv->xcp_id < adev->xcp_mgr->num_xcps) { in amdgpu_info_ioctl()
|
| /drivers/gpu/drm/amd/amdkfd/ |
| A D | kfd_mqd_manager.c | 302 if (node->adev->xcp_mgr && node->adev->xcp_mgr->num_xcps > 0) in kfd_check_hiq_mqd_doorbell_id()
|
| /drivers/gpu/drm/amd/pm/swsmu/smu13/ |
| A D | smu_v13_0_12_ppt.c | 523 gpu_metrics->num_partition = adev->xcp_mgr->num_xcps; in smu_v13_0_12_get_gpu_metrics()
|
| A D | smu_v13_0_6_ppt.c | 2579 if (i == adev->xcp_mgr->num_xcps) in smu_v13_0_6_get_xcp_metrics() 2834 gpu_metrics->num_partition = adev->xcp_mgr->num_xcps; in smu_v13_0_6_get_gpu_metrics()
|
Completed in 30 milliseconds