Home
last modified time | relevance | path

Searched refs:preferred_domains (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bo_list.c123 if (bo->preferred_domains == AMDGPU_GEM_DOMAIN_GDS) in amdgpu_bo_list_create()
125 if (bo->preferred_domains == AMDGPU_GEM_DOMAIN_GWS) in amdgpu_bo_list_create()
127 if (bo->preferred_domains == AMDGPU_GEM_DOMAIN_OA) in amdgpu_bo_list_create()
Damdgpu_dma_buf.c301 if (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM && in amdgpu_dma_buf_map()
493 bo->preferred_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_dma_buf_create_obj()
644 (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM)) in amdgpu_dmabuf_is_xgmi_accessible()
Damdgpu_object.c567 bo->preferred_domains = bp->preferred_domain ? bp->preferred_domain : in amdgpu_bo_do_create()
569 bo->allowed_domains = bo->preferred_domains; in amdgpu_bo_do_create()
727 domain = bo->preferred_domains; in amdgpu_bo_validate()
909 if (bo->preferred_domains & domain) in amdgpu_bo_pin_restricted()
910 domain = bo->preferred_domains & domain; in amdgpu_bo_pin_restricted()
Damdgpu_gem.c338 bo->preferred_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_userptr_ioctl()
751 info.domains = robj->preferred_domains; in amdgpu_gem_op_ioctl()
778 robj->preferred_domains = args->value & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_gem_op_ioctl()
781 robj->allowed_domains = robj->preferred_domains; in amdgpu_gem_op_ioctl()
Damdgpu_amdkfd_gpuvm.c201 u32 domain = bo->preferred_domains; in amdgpu_amdkfd_unreserve_memory_limit()
202 bool sg = (bo->preferred_domains == AMDGPU_GEM_DOMAIN_CPU); in amdgpu_amdkfd_unreserve_memory_limit()
1342 if ((mem->bo->preferred_domains == AMDGPU_GEM_DOMAIN_VRAM) && in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1671 if (!(bo->preferred_domains & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_amdkfd_gpuvm_import_dmabuf()
1690 ((bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_gpuvm_import_dmabuf()
1698 (*mem)->domain = (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_gpuvm_import_dmabuf()
Damdgpu_amdkfd.c503 if (!(bo->preferred_domains & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_amdkfd_get_dmabuf_info()
519 *flags = (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_get_dmabuf_info()
Damdgpu_object.h85 u32 preferred_domains; member
Damdgpu_trace.h132 __entry->prefer = bo->preferred_domains;
Damdgpu_cs.c429 domain = bo->preferred_domains; in amdgpu_cs_bo_validate()
433 domain = bo->preferred_domains; in amdgpu_cs_bo_validate()
Damdgpu_vm.c340 if (bo->preferred_domains & in amdgpu_vm_bo_base_init()
1858 if (!(bo->preferred_domains & in amdgpu_vm_bo_update()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_cs.c139 p->relocs[i].preferred_domains = in radeon_cs_parser_relocs()
157 p->relocs[i].preferred_domains = domain; in radeon_cs_parser_relocs()
164 uint32_t domain = p->relocs[i].preferred_domains; in radeon_cs_parser_relocs()
172 p->relocs[i].preferred_domains = domain; in radeon_cs_parser_relocs()
Dradeon_vm.c142 list[0].preferred_domains = RADEON_GEM_DOMAIN_VRAM; in radeon_vm_get_bos()
154 list[idx].preferred_domains = RADEON_GEM_DOMAIN_VRAM; in radeon_vm_get_bos()
Dradeon_object.c553 u32 domain = lobj->preferred_domains; in radeon_bo_list_validate()
Dradeon.h468 unsigned preferred_domains; member