Searched refs:alloc_domain (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gpuvm.c | 1144 u32 domain, alloc_domain; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() local 1152 domain = alloc_domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1158 domain = alloc_domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1162 alloc_domain = AMDGPU_GEM_DOMAIN_CPU; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1170 alloc_domain = AMDGPU_GEM_DOMAIN_CPU; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1202 ret = amdgpu_amdkfd_reserve_mem_limit(adev, size, alloc_domain, !!sg); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1209 va, size, domain_string(alloc_domain)); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1214 bp.domain = alloc_domain; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1221 domain_string(alloc_domain), ret); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1256 unreserve_mem_limit(adev, size, alloc_domain, !!sg); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
|
/kernel/linux/linux-5.10/drivers/iommu/intel/ |
D | iommu.c | 1896 static struct dmar_domain *alloc_domain(int flags) in alloc_domain() function 2800 si_domain = alloc_domain(DOMAIN_FLAG_STATIC_IDENTITY); in si_domain_init() 5167 dmar_domain = alloc_domain(0); in intel_iommu_domain_alloc()
|