Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_bo_list.c120 if (bo->preferred_domains == AMDGPU_GEM_DOMAIN_GDS) in amdgpu_bo_list_create()
122 if (bo->preferred_domains == AMDGPU_GEM_DOMAIN_GWS) in amdgpu_bo_list_create()
124 if (bo->preferred_domains == AMDGPU_GEM_DOMAIN_OA) in amdgpu_bo_list_create()
H A Damdgpu_gem.c535 bo->preferred_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_userptr_ioctl()
1048 info.domains = robj->preferred_domains; in amdgpu_gem_op_ioctl()
1073 robj->preferred_domains = args->value & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_gem_op_ioctl()
1076 robj->allowed_domains = robj->preferred_domains; in amdgpu_gem_op_ioctl()
1209 bo_entry->preferred_domains = bo->preferred_domains; in amdgpu_gem_list_handles_ioctl()
H A Damdgpu_object.h105 u32 preferred_domains; member
H A Damdgpu_amdkfd.c586 if (!(bo->preferred_domains & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_amdkfd_get_dmabuf_info()
600 *flags = (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_get_dmabuf_info()
H A Damdgpu_gart.c186 bo->preferred_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gart_table_ram_alloc()
H A Damdgpu_amdkfd_gpuvm.c1858 bo->preferred_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
2377 if (!(bo->preferred_domains & (AMDGPU_GEM_DOMAIN_VRAM | in import_obj_create()
2400 ((bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in import_obj_create()
2409 (*mem)->domain = (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) && in import_obj_create()
H A Damdgpu_vm.c389 if (!(bo->preferred_domains & amdgpu_mem_type_to_domain(res_memtype))) in amdgpu_vm_update_stats_locked()
452 if (bo->preferred_domains & in amdgpu_vm_bo_base_init()
1403 !(bo->preferred_domains & in amdgpu_vm_bo_update()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_cs.c137 p->relocs[i].preferred_domains = in radeon_cs_parser_relocs()
155 p->relocs[i].preferred_domains = domain; in radeon_cs_parser_relocs()
162 uint32_t domain = p->relocs[i].preferred_domains; in radeon_cs_parser_relocs()
170 p->relocs[i].preferred_domains = domain; in radeon_cs_parser_relocs()
H A Dradeon_vm.c142 list[0].preferred_domains = RADEON_GEM_DOMAIN_VRAM; in radeon_vm_get_bos()
153 list[idx].preferred_domains = RADEON_GEM_DOMAIN_VRAM; in radeon_vm_get_bos()
H A Dradeon_object.c489 u32 domain = lobj->preferred_domains; in radeon_bo_list_validate()