Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gem.c276 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_userptr_ioctl()
680 robj->allowed_domains = robj->prefered_domains; in amdgpu_gem_op_ioctl()
681 if (robj->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_gem_op_ioctl()
682 robj->allowed_domains |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_op_ioctl()
Damdgpu_cs.c380 domain = bo->allowed_domains; in amdgpu_cs_bo_validate()
389 if (unlikely(r == -ENOMEM) && domain != bo->allowed_domains) { in amdgpu_cs_bo_validate()
390 domain = bo->allowed_domains; in amdgpu_cs_bo_validate()
401 uint32_t domain = lobj->robj->allowed_domains; in amdgpu_cs_try_evict()
430 other = bo->allowed_domains & ~domain; in amdgpu_cs_try_evict()
Damdgpu_object.c365 bo->allowed_domains = bo->prefered_domains; in amdgpu_bo_create_restricted()
366 if (!kernel && bo->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_bo_create_restricted()
367 bo->allowed_domains |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_bo_create_restricted()
Damdgpu_trace.h69 __entry->allow = bo->allowed_domains;
Damdgpu.h450 u32 allowed_domains; member
/drivers/gpu/drm/radeon/
Dradeon_object.c546 u32 allowed = lobj->allowed_domains; in radeon_bo_list_validate()
577 domain != lobj->allowed_domains) { in radeon_bo_list_validate()
578 domain = lobj->allowed_domains; in radeon_bo_list_validate()
Dradeon_cs.c132 p->relocs[i].allowed_domains = in radeon_cs_parser_relocs()
150 p->relocs[i].allowed_domains = domain; in radeon_cs_parser_relocs()
163 p->relocs[i].allowed_domains = domain; in radeon_cs_parser_relocs()
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.h466 unsigned allowed_domains; member
1705 uint32_t allowed_domains);