Searched refs:mem_partitions (Results 1 – 6 of 6) sorted by relevance
119 if (adev->gmc.mem_partitions && mem_id >= 0) { in amdgpu_bo_placement_from_domain()120 places[c].fpfn = adev->gmc.mem_partitions[mem_id].range.fpfn; in amdgpu_bo_placement_from_domain()125 places[c].lpfn = adev->gmc.mem_partitions[mem_id].range.lpfn + 1; in amdgpu_bo_placement_from_domain()580 if (adev->gmc.mem_partitions) in amdgpu_bo_create()
1300 local_node = adev->gmc.mem_partitions[vm->mem_id].numa.node; in gmc_v9_0_override_vm_pte_flags()1962 adev->gmc.mem_partitions = kcalloc(MAX_MEM_RANGES, in gmc_v9_0_init_mem_ranges()1965 if (!adev->gmc.mem_partitions) in gmc_v9_0_init_mem_ranges()1970 gmc_v9_0_init_acpi_mem_ranges(adev, adev->gmc.mem_partitions); in gmc_v9_0_init_mem_ranges()1972 gmc_v9_0_init_sw_mem_ranges(adev, adev->gmc.mem_partitions); in gmc_v9_0_init_mem_ranges()2225 kfree(adev->gmc.mem_partitions); in gmc_v9_0_sw_fini()
305 struct amdgpu_mem_partition_info *mem_partitions; member
814 tmp = adev->gmc.mem_partitions[mem_id].size; in amdgpu_amdkfd_xcp_memory_size()
1109 if (adev->gmc.mem_partitions && abo->xcp_id >= 0) in amdgpu_ttm_tt_create()1816 adev->gmc.mem_partitions[i].numa.node, in amdgpu_ttm_pools_init()
635 if (adev->gmc.mem_partitions[i].numa.node == numa_info.nid) { in aqua_vanjaram_get_xcp_mem_id()