Home
last modified time | relevance | path

Searched refs:mem_partitions (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_object.c137 if (adev->gmc.mem_partitions && mem_id >= 0) { in amdgpu_bo_placement_from_domain()
138 places[c].fpfn = adev->gmc.mem_partitions[mem_id].range.fpfn; in amdgpu_bo_placement_from_domain()
143 places[c].lpfn = adev->gmc.mem_partitions[mem_id].range.lpfn + 1; in amdgpu_bo_placement_from_domain()
596 if (adev->gmc.mem_partitions) in amdgpu_bo_create()
H A Dgmc_v9_0.c1342 local_node = adev->gmc.mem_partitions[vm->mem_id].numa.node; in gmc_v9_0_override_vm_pte_flags()
1975 adev->gmc.mem_partitions = kzalloc( in gmc_v9_0_init_mem_ranges()
1979 if (!adev->gmc.mem_partitions) in gmc_v9_0_init_mem_ranges()
1984 gmc_v9_0_init_acpi_mem_ranges(adev, adev->gmc.mem_partitions); in gmc_v9_0_init_mem_ranges()
1986 gmc_v9_0_init_sw_mem_ranges(adev, adev->gmc.mem_partitions); in gmc_v9_0_init_mem_ranges()
2237 kfree(adev->gmc.mem_partitions); in gmc_v9_0_sw_fini()
H A Damdgpu_gmc.h288 struct amdgpu_mem_partition_info *mem_partitions; member
H A Daqua_vanjaram.c593 if (adev->gmc.mem_partitions[i].numa.node == numa_info.nid) { in aqua_vanjaram_get_xcp_mem_id()
H A Damdgpu_amdkfd.c790 tmp = adev->gmc.mem_partitions[mem_id].size; in amdgpu_amdkfd_xcp_memory_size()
H A Damdgpu_ttm.c1098 if (adev->gmc.mem_partitions && abo->xcp_id >= 0) in amdgpu_ttm_tt_create()
1802 adev->gmc.mem_partitions[i].numa.node, in amdgpu_ttm_pools_init()