Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_cs.c142 p->relocs[i].allowed_domains = in radeon_cs_parser_relocs()
160 p->relocs[i].allowed_domains = domain; in radeon_cs_parser_relocs()
173 p->relocs[i].allowed_domains = domain; in radeon_cs_parser_relocs()
178 p->relocs[i].allowed_domains &= ~RADEON_GEM_DOMAIN_VRAM; in radeon_cs_parser_relocs()
179 if (!p->relocs[i].allowed_domains) { in radeon_cs_parser_relocs()
Dradeon_object.c554 u32 allowed = lobj->allowed_domains; in radeon_bo_list_validate()
585 domain != lobj->allowed_domains) { in radeon_bo_list_validate()
586 domain = lobj->allowed_domains; in radeon_bo_list_validate()
Dradeon_uvd.c303 uint32_t allowed_domains) in radeon_uvd_force_into_uvd_segment() argument
313 if (allowed_domains == RADEON_GEM_DOMAIN_VRAM) in radeon_uvd_force_into_uvd_segment()
Dradeon_vm.c143 list[0].allowed_domains = RADEON_GEM_DOMAIN_VRAM; in radeon_vm_get_bos()
155 list[idx].allowed_domains = RADEON_GEM_DOMAIN_VRAM; in radeon_vm_get_bos()
Dradeon.h469 unsigned allowed_domains; member
1695 uint32_t allowed_domains);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c569 bo->allowed_domains = bo->preferred_domains; in amdgpu_bo_do_create()
571 bo->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_bo_do_create()
572 bo->allowed_domains |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_bo_do_create()
732 if (unlikely(r == -ENOMEM) && domain != bo->allowed_domains) { in amdgpu_bo_validate()
733 domain = bo->allowed_domains; in amdgpu_bo_validate()
Damdgpu_gem.c339 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_userptr_ioctl()
783 robj->allowed_domains = robj->preferred_domains; in amdgpu_gem_op_ioctl()
784 if (robj->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_gem_op_ioctl()
785 robj->allowed_domains |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_op_ioctl()
Damdgpu_dma_buf.c405 if (!bo->pin_count && (bo->allowed_domains & AMDGPU_GEM_DOMAIN_GTT)) { in amdgpu_dma_buf_begin_cpu_access()
492 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_dma_buf_create_obj()
Damdgpu_cs.c431 domain = bo->allowed_domains; in amdgpu_cs_bo_validate()
436 domain = bo->allowed_domains; in amdgpu_cs_bo_validate()
448 if (unlikely(r == -ENOMEM) && domain != bo->allowed_domains) { in amdgpu_cs_bo_validate()
449 domain = bo->allowed_domains; in amdgpu_cs_bo_validate()
1678 amdgpu_bo_placement_from_domain(*bo, (*bo)->allowed_domains); in amdgpu_cs_find_mapping()
Damdgpu_object.h86 u32 allowed_domains; member
Damdgpu_trace.h133 __entry->allow = bo->allowed_domains;
Damdgpu_amdkfd_gpuvm.c336 return amdgpu_amdkfd_bo_validate(bo, bo->allowed_domains, false); in amdgpu_amdkfd_validate_vm_bo()