Searched refs:num_mem_partitions (Results 1 – 6 of 6) sorted by relevance
458 if (adev->gmc.num_mem_partitions == 1) in __aqua_vanjaram_get_auto_mode()461 if (adev->gmc.num_mem_partitions == num_xcc) in __aqua_vanjaram_get_auto_mode()464 if (adev->gmc.num_mem_partitions == num_xcc / 2) in __aqua_vanjaram_get_auto_mode()468 if (adev->gmc.num_mem_partitions == 2 && !(adev->flags & AMD_IS_APU)) in __aqua_vanjaram_get_auto_mode()483 return adev->gmc.num_mem_partitions == 1 && num_xcc > 0; in __aqua_vanjaram_is_valid_mode()485 return adev->gmc.num_mem_partitions <= 2 && (num_xcc % 4) == 0; in __aqua_vanjaram_is_valid_mode()487 return (adev->gmc.num_mem_partitions == 1 || in __aqua_vanjaram_is_valid_mode()488 adev->gmc.num_mem_partitions == 3) && in __aqua_vanjaram_is_valid_mode()492 return (adev->gmc.num_mem_partitions == 1 || in __aqua_vanjaram_is_valid_mode()493 adev->gmc.num_mem_partitions == 4) && in __aqua_vanjaram_is_valid_mode()[all …]
1828 valid = (adev->gmc.num_mem_partitions == 1); in gmc_v9_0_validate_partition_info()1831 valid = (adev->gmc.num_mem_partitions == 2); in gmc_v9_0_validate_partition_info()1834 valid = (adev->gmc.num_mem_partitions == 3 || in gmc_v9_0_validate_partition_info()1835 adev->gmc.num_mem_partitions == 4); in gmc_v9_0_validate_partition_info()1891 adev->gmc.num_mem_partitions = num_ranges; in gmc_v9_0_init_acpi_mem_ranges()1907 adev->gmc.num_mem_partitions = 1; in gmc_v9_0_init_sw_mem_ranges()1910 adev->gmc.num_mem_partitions = 2; in gmc_v9_0_init_sw_mem_ranges()1914 adev->gmc.num_mem_partitions = 3; in gmc_v9_0_init_sw_mem_ranges()1916 adev->gmc.num_mem_partitions = 4; in gmc_v9_0_init_sw_mem_ranges()1919 adev->gmc.num_mem_partitions = 1; in gmc_v9_0_init_sw_mem_ranges()[all …]
802 if (adev->gmc.num_mem_partitions && xcp_id >= 0 && mem_id >= 0) { in amdgpu_amdkfd_xcp_memory_size()803 if (adev->gmc.is_app_apu && adev->gmc.num_mem_partitions == 1) { in amdgpu_amdkfd_xcp_memory_size()
306 uint8_t num_mem_partitions; member
136 xcp_mgr->num_xcp_per_mem_partition = num_xcps / xcp_mgr->adev->gmc.num_mem_partitions; in amdgpu_xcp_init()
1805 if (!adev->gmc.is_app_apu || !adev->gmc.num_mem_partitions) in amdgpu_ttm_pools_init()1808 adev->mman.ttm_pools = kcalloc(adev->gmc.num_mem_partitions, in amdgpu_ttm_pools_init()1814 for (i = 0; i < adev->gmc.num_mem_partitions; i++) { in amdgpu_ttm_pools_init()1829 for (i = 0; i < adev->gmc.num_mem_partitions; i++) in amdgpu_ttm_pools_fini()