Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bo_list.c121 if (bo->preferred_domains == AMDGPU_GEM_DOMAIN_GDS) in amdgpu_bo_list_create()
123 if (bo->preferred_domains == AMDGPU_GEM_DOMAIN_GWS) in amdgpu_bo_list_create()
125 if (bo->preferred_domains == AMDGPU_GEM_DOMAIN_OA) in amdgpu_bo_list_create()
Damdgpu_dma_buf.c125 if (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM && in amdgpu_dma_buf_map()
315 bo->preferred_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_dma_buf_create_obj()
471 (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM)) in amdgpu_dmabuf_is_xgmi_accessible()
Damdgpu_object.c164 if (domain & abo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM && in amdgpu_bo_placement_from_domain()
570 bo->preferred_domains = bp->preferred_domain ? bp->preferred_domain : in amdgpu_bo_create()
572 bo->allowed_domains = bo->preferred_domains; in amdgpu_bo_create()
836 if (bo->preferred_domains & domain) in amdgpu_bo_pin()
837 domain = bo->preferred_domains & domain; in amdgpu_bo_pin()
1210 if (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_get_memory()
1220 } else if (bo->preferred_domains & AMDGPU_GEM_DOMAIN_GTT) { in amdgpu_bo_get_memory()
Damdgpu_gem.c451 bo->preferred_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_userptr_ioctl()
866 info.domains = robj->preferred_domains; in amdgpu_gem_op_ioctl()
894 robj->preferred_domains = args->value & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_gem_op_ioctl()
897 robj->allowed_domains = robj->preferred_domains; in amdgpu_gem_op_ioctl()
Damdgpu_amdkfd.c529 if (!(bo->preferred_domains & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_amdkfd_get_dmabuf_info()
543 *flags = (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_get_dmabuf_info()
Damdgpu_object.h103 u32 preferred_domains; member
Damdgpu_gart.c184 bo->preferred_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gart_table_ram_alloc()
Damdgpu_amdkfd_gpuvm.c1863 bo->preferred_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1989 (mem->bo->preferred_domains == AMDGPU_GEM_DOMAIN_VRAM || in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1991 mem->bo->preferred_domains == AMDGPU_GEM_DOMAIN_GTT))) in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
2384 if (!(bo->preferred_domains & (AMDGPU_GEM_DOMAIN_VRAM | in import_obj_create()
2407 ((bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in import_obj_create()
2416 (*mem)->domain = (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) && in import_obj_create()
Damdgpu_trace.h132 __entry->prefer = bo->preferred_domains;
Damdgpu_cs.c811 domain = bo->preferred_domains; in amdgpu_cs_bo_validate()
815 domain = bo->preferred_domains; in amdgpu_cs_bo_validate()
Damdgpu_vm.c347 if (bo->preferred_domains & in amdgpu_vm_bo_base_init()
1264 if (!(bo->preferred_domains & in amdgpu_vm_bo_update()
/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_cs.c138 p->relocs[i].preferred_domains = in radeon_cs_parser_relocs()
156 p->relocs[i].preferred_domains = domain; in radeon_cs_parser_relocs()
163 uint32_t domain = p->relocs[i].preferred_domains; in radeon_cs_parser_relocs()
171 p->relocs[i].preferred_domains = domain; in radeon_cs_parser_relocs()
Dradeon_vm.c143 list[0].preferred_domains = RADEON_GEM_DOMAIN_VRAM; in radeon_vm_get_bos()
155 list[idx].preferred_domains = RADEON_GEM_DOMAIN_VRAM; in radeon_vm_get_bos()
Dradeon_object.c486 u32 domain = lobj->preferred_domains; in radeon_bo_list_validate()
Dradeon.h462 unsigned preferred_domains; member