Lines Matching refs:xcp_mgr

1354 	mode = amdgpu_xcp_query_partition_mode(adev->xcp_mgr,  in amdgpu_gfx_get_current_compute_partition()
1397 ret = amdgpu_xcp_switch_partition_mode(adev->xcp_mgr, mode); in amdgpu_gfx_set_compute_partition()
1419 struct amdgpu_xcp_mgr *xcp_mgr = adev->xcp_mgr; in amdgpu_gfx_get_available_compute_partition() local
1423 if (!xcp_mgr || !xcp_mgr->avail_xcp_modes) in amdgpu_gfx_get_available_compute_partition()
1426 for_each_inst(mode, xcp_mgr->avail_xcp_modes) { in amdgpu_gfx_get_available_compute_partition()
1563 if (adev->xcp_mgr) { in amdgpu_gfx_set_run_cleaner_shader()
1564 if (value >= adev->xcp_mgr->num_xcps) in amdgpu_gfx_set_run_cleaner_shader()
1610 if (adev->xcp_mgr) { in amdgpu_gfx_get_enforce_isolation()
1611 for (i = 0; i < adev->xcp_mgr->num_xcps; i++) { in amdgpu_gfx_get_enforce_isolation()
1613 if (i < (adev->xcp_mgr->num_xcps - 1)) in amdgpu_gfx_get_enforce_isolation()
1648 for (i = 0; i < (adev->xcp_mgr ? adev->xcp_mgr->num_xcps : 1); i++) { in amdgpu_gfx_set_enforce_isolation()
1664 if (adev->xcp_mgr && num_partitions != adev->xcp_mgr->num_xcps) in amdgpu_gfx_set_enforce_isolation()
1667 if (!adev->xcp_mgr && num_partitions != 1) in amdgpu_gfx_set_enforce_isolation()
1732 struct amdgpu_xcp_mgr *xcp_mgr = adev->xcp_mgr; in amdgpu_gfx_sysfs_xcp_init() local
1736 if (!xcp_mgr) in amdgpu_gfx_sysfs_xcp_init()
1740 (xcp_mgr->funcs && xcp_mgr->funcs->switch_partition_mode); in amdgpu_gfx_sysfs_xcp_init()
1759 struct amdgpu_xcp_mgr *xcp_mgr = adev->xcp_mgr; in amdgpu_gfx_sysfs_xcp_fini() local
1762 if (!xcp_mgr) in amdgpu_gfx_sysfs_xcp_fini()
1766 (xcp_mgr->funcs && xcp_mgr->funcs->switch_partition_mode); in amdgpu_gfx_sysfs_xcp_fini()