Searched refs:num_xcps (Results 1 - 4 of 4) sorted by relevance
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_xcp.h | 95 uint8_t num_xcps; member in struct:amdgpu_xcp_mgr 104 int *num_xcps); 129 int amdgpu_xcp_init(struct amdgpu_xcp_mgr *xcp_mgr, int num_xcps, int mode); 163 return xcp_mgr->num_xcps;
|
H A D | amdgpu_xcp.c | 120 int amdgpu_xcp_init(struct amdgpu_xcp_mgr *xcp_mgr, int num_xcps, int mode) argument 127 if (!num_xcps || num_xcps > MAX_XCP) 136 xcp_mgr->num_xcp_per_mem_partition = num_xcps / xcp_mgr->adev->gmc.num_mem_partitions; 138 for (i = 0; i < num_xcps; ++i) { 160 xcp_mgr->num_xcps = num_xcps; 169 int ret, curr_mode, num_xcps = 0; local 180 ret = xcp_mgr->funcs->switch_partition_mode(xcp_mgr, mode, &num_xcps); 316 for (i = 0; i < xcp_mgr->num_xcps; [all...] |
H A D | aqua_vanjaram.c | 67 return (adev->xcp_mgr->num_xcps > adev->vcn.num_vcn_inst); 103 for (xcp_id = 0; xcp_id < adev->xcp_mgr->num_xcps; xcp_id++) { 192 for (i = 0; i < adev->xcp_mgr->num_xcps; i++) { 493 int mode, int *num_xcps) 530 *num_xcps = num_xcc / num_xcc_per_xcp; 531 amdgpu_xcp_init(xcp_mgr, *num_xcps, mode); 492 aqua_vanjaram_switch_partition_mode(struct amdgpu_xcp_mgr *xcp_mgr, int mode, int *num_xcps) argument
|
H A D | amdgpu_kms.c | 620 if (adev->xcp_mgr && adev->xcp_mgr->num_xcps > 0 && 621 fpriv->xcp_id >= 0 && fpriv->xcp_id < adev->xcp_mgr->num_xcps) {
|
Completed in 181 milliseconds