Searched refs:allowed_domains (Results 1 – 14 of 14) sorted by relevance
141 p->relocs[i].allowed_domains = in radeon_cs_parser_relocs()159 p->relocs[i].allowed_domains = domain; in radeon_cs_parser_relocs()172 p->relocs[i].allowed_domains = domain; in radeon_cs_parser_relocs()177 p->relocs[i].allowed_domains &= ~RADEON_GEM_DOMAIN_VRAM; in radeon_cs_parser_relocs()178 if (!p->relocs[i].allowed_domains) { in radeon_cs_parser_relocs()
491 u32 allowed = lobj->allowed_domains; in radeon_bo_list_validate()522 domain != lobj->allowed_domains) { in radeon_bo_list_validate()523 domain = lobj->allowed_domains; in radeon_bo_list_validate()
305 uint32_t allowed_domains) in radeon_uvd_force_into_uvd_segment() argument315 if (allowed_domains == RADEON_GEM_DOMAIN_VRAM) in radeon_uvd_force_into_uvd_segment()
144 list[0].allowed_domains = RADEON_GEM_DOMAIN_VRAM; in radeon_vm_get_bos()156 list[idx].allowed_domains = RADEON_GEM_DOMAIN_VRAM; in radeon_vm_get_bos()
463 unsigned allowed_domains; member1725 uint32_t allowed_domains);
254 (bo->allowed_domains & AMDGPU_GEM_DOMAIN_GTT)) { in amdgpu_dma_buf_begin_cpu_access()341 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_dma_buf_create_obj()
412 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_userptr_ioctl()859 robj->allowed_domains = robj->preferred_domains; in amdgpu_gem_op_ioctl()860 if (robj->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_gem_op_ioctl()861 robj->allowed_domains |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_op_ioctl()
793 domain = bo->allowed_domains; in amdgpu_cs_bo_validate()798 domain = bo->allowed_domains; in amdgpu_cs_bo_validate()810 if (unlikely(r == -ENOMEM) && domain != bo->allowed_domains) { in amdgpu_cs_bo_validate()811 domain = bo->allowed_domains; in amdgpu_cs_bo_validate()1769 amdgpu_bo_placement_from_domain(*bo, (*bo)->allowed_domains); in amdgpu_cs_find_mapping()
568 bo->allowed_domains = bo->preferred_domains; in amdgpu_bo_create()571 bo->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_bo_create()572 bo->allowed_domains |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_bo_create()
96 u32 allowed_domains; member
133 __entry->allow = bo->allowed_domains;
364 return amdgpu_amdkfd_bo_validate(bo, bo->allowed_domains, false); in amdgpu_amdkfd_validate_vm_bo()1744 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1633 amdgpu_bo_placement_from_domain(bo, bo->allowed_domains); in vcn_v4_0_dec_msg()
1806 amdgpu_bo_placement_from_domain(bo, bo->allowed_domains); in vcn_v3_0_dec_msg()