Searched refs:xcp_mgr (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_gfx.c | 1526 mode = amdgpu_xcp_query_partition_mode(adev->xcp_mgr, in amdgpu_gfx_get_current_compute_partition() 1573 ret = amdgpu_xcp_switch_partition_mode(adev->xcp_mgr, mode); in amdgpu_gfx_set_compute_partition() 1589 int mode = adev->xcp_mgr->mem_alloc_mode; in compute_partition_mem_alloc_mode_show() 1604 adev->xcp_mgr->mem_alloc_mode = AMDGPU_PARTITION_MEM_CAPPING_EVEN; in compute_partition_mem_alloc_mode_store() 1606 adev->xcp_mgr->mem_alloc_mode = AMDGPU_PARTITION_MEM_ALLOC_ALL; in compute_partition_mem_alloc_mode_store() 1627 struct amdgpu_xcp_mgr *xcp_mgr = adev->xcp_mgr; in amdgpu_gfx_get_available_compute_partition() local 1631 if (!xcp_mgr || !xcp_mgr->avail_xcp_modes) in amdgpu_gfx_get_available_compute_partition() 1634 for_each_inst(mode, xcp_mgr->avail_xcp_modes) { in amdgpu_gfx_get_available_compute_partition() 1777 if (adev->xcp_mgr) { in amdgpu_gfx_set_run_cleaner_shader() 1778 if (value >= adev->xcp_mgr->num_xcps) in amdgpu_gfx_set_run_cleaner_shader() [all …]
|
| H A D | amdgpu_amdkfd.c | 809 if (adev->xcp_mgr->mem_alloc_mode == AMDGPU_PARTITION_MEM_CAPPING_EVEN) in amdgpu_amdkfd_xcp_memory_size() 810 do_div(tmp, adev->xcp_mgr->num_xcp_per_mem_partition); in amdgpu_amdkfd_xcp_memory_size()
|
| H A D | amdgpu_kms.c | 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() 713 xcp = &adev->xcp_mgr->xcp[fpriv->xcp_id]; in amdgpu_info_ioctl()
|
| H A D | gfx_v12_1.c | 2537 mode = amdgpu_xcp_query_partition_mode(adev->xcp_mgr, in gfx_v12_1_cp_resume() 2549 r = amdgpu_xcp_init(adev->xcp_mgr, num_xcp, mode); in gfx_v12_1_cp_resume() 2552 if (amdgpu_xcp_query_partition_mode(adev->xcp_mgr, in gfx_v12_1_cp_resume() 2555 r = amdgpu_xcp_switch_partition_mode(adev->xcp_mgr, in gfx_v12_1_cp_resume()
|
| H A D | amdgpu_device.c | 2281 if (adev->xcp_mgr) in amdgpu_device_init_schedulers() 4272 kfree(adev->xcp_mgr); in amdgpu_device_fini_sw() 4273 adev->xcp_mgr = NULL; in amdgpu_device_fini_sw() 5224 tmp_adev->xcp_mgr); in amdgpu_device_reinit_after_reset()
|
| H A D | mes_v12_1.c | 1782 switch (adev->xcp_mgr->mode) { in mes_v12_1_setup_coop_mode()
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_mqd_manager.c | 307 if (node->adev->xcp_mgr && node->adev->xcp_mgr->num_xcps > 0) in kfd_check_hiq_mqd_doorbell_id()
|
| H A D | kfd_device.c | 747 kfd->num_nodes = amdgpu_xcp_get_num_xcp(kfd->adev->xcp_mgr); in kgd2kfd_device_init() 786 if (kfd->adev->xcp_mgr && (KFD_GC_VERSION(kfd) != IP_VERSION(12, 1, 0))) { in kgd2kfd_device_init() 787 partition_mode = amdgpu_xcp_query_partition_mode(kfd->adev->xcp_mgr, in kgd2kfd_device_init() 876 node->xcp = amdgpu_get_next_xcp(kfd->adev->xcp_mgr, &xcp_idx); in kgd2kfd_device_init() 923 if (kfd->adev->xcp_mgr) in kgd2kfd_device_init()
|
| H A D | kfd_topology.c | 538 (dev->gpu->xcp->xcp_mgr->mode != in node_show()
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
| H A D | smu_v13_0_6_ppt.c | 2673 for_each_xcp(adev->xcp_mgr, xcp, i) { in smu_v13_0_6_get_xcp_metrics() 2677 if (i == adev->xcp_mgr->num_xcps) in smu_v13_0_6_get_xcp_metrics()
|