Home
last modified time | relevance | path

Searched refs:allowed_domains (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_cs.c141 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()
Dradeon_object.c491 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()
Dradeon_uvd.c305 uint32_t allowed_domains) in radeon_uvd_force_into_uvd_segment() argument
315 if (allowed_domains == RADEON_GEM_DOMAIN_VRAM) in radeon_uvd_force_into_uvd_segment()
Dradeon_vm.c144 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()
Dradeon.h464 unsigned allowed_domains; member
1688 uint32_t allowed_domains);
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dma_buf.c255 (bo->allowed_domains & AMDGPU_GEM_DOMAIN_GTT)) { in amdgpu_dma_buf_begin_cpu_access()
344 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_dma_buf_create_obj()
Damdgpu_gem.c417 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_userptr_ioctl()
862 robj->allowed_domains = robj->preferred_domains; in amdgpu_gem_op_ioctl()
863 if (robj->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_gem_op_ioctl()
864 robj->allowed_domains |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_op_ioctl()
Damdgpu_cs.c808 domain = bo->allowed_domains; in amdgpu_cs_bo_validate()
813 domain = bo->allowed_domains; in amdgpu_cs_bo_validate()
825 if (unlikely(r == -ENOMEM) && domain != bo->allowed_domains) { in amdgpu_cs_bo_validate()
826 domain = bo->allowed_domains; in amdgpu_cs_bo_validate()
1779 amdgpu_bo_placement_from_domain(*bo, (*bo)->allowed_domains); in amdgpu_cs_find_mapping()
Damdgpu_gart.c177 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gart_table_ram_alloc()
Damdgpu_object.h98 u32 allowed_domains; member
Damdgpu_object.c588 bo->allowed_domains = bo->preferred_domains; in amdgpu_bo_create()
591 bo->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_bo_create()
592 bo->allowed_domains |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_bo_create()
Damdgpu_trace.h133 __entry->allow = bo->allowed_domains;
Damdgpu_amdkfd_gpuvm.c424 return amdgpu_amdkfd_bo_validate(bo, bo->allowed_domains, false); in amdgpu_amdkfd_validate_vm_bo()
1769 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
Dvcn_v4_0.c1689 amdgpu_bo_placement_from_domain(bo, bo->allowed_domains); in vcn_v4_0_dec_msg()
Dvcn_v3_0.c1810 amdgpu_bo_placement_from_domain(bo, bo->allowed_domains); in vcn_v3_0_dec_msg()