Searched refs:alloc_flags (Results 1 - 18 of 18) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
H A Danv_allocator.c1575 enum anv_bo_alloc_flags alloc_flags)
1580 if (!(alloc_flags & ANV_BO_ALLOC_32BIT_ADDRESS) &&
1584 if ((alloc_flags & ANV_BO_ALLOC_CAPTURE) && pdevice->has_exec_capture)
1587 if (alloc_flags & ANV_BO_ALLOC_IMPLICIT_WRITE) {
1588 assert(alloc_flags & ANV_BO_ALLOC_IMPLICIT_SYNC);
1592 if (!(alloc_flags & ANV_BO_ALLOC_IMPLICIT_SYNC) && pdevice->has_exec_async)
1603 enum anv_bo_alloc_flags alloc_flags)
1606 if (device->info.ver >= 12 && (alloc_flags & ANV_BO_ALLOC_IMPLICIT_CCS))
1616 enum anv_bo_alloc_flags alloc_flags,
1620 if (!(alloc_flags
1574 anv_bo_alloc_flags_to_bo_flags(struct anv_device * device,enum anv_bo_alloc_flags alloc_flags) argument
1602 anv_device_get_bo_align(struct anv_device * device,enum anv_bo_alloc_flags alloc_flags) argument
1613 anv_device_alloc_bo(struct anv_device * device,const char * name,uint64_t size,enum anv_bo_alloc_flags alloc_flags,uint64_t explicit_address,struct anv_bo ** bo_out) argument
1755 anv_device_import_bo_from_host_ptr(struct anv_device * device,void * host_ptr,uint32_t size,enum anv_bo_alloc_flags alloc_flags,uint64_t client_address,struct anv_bo ** bo_out) argument
1851 anv_device_import_bo(struct anv_device * device,int fd,enum anv_bo_alloc_flags alloc_flags,uint64_t client_address,struct anv_bo ** bo_out) argument
[all...]
H A Danv_device.c3548 enum anv_bo_alloc_flags alloc_flags,
3555 if (alloc_flags & ANV_BO_ALLOC_CLIENT_VISIBLE_ADDRESS) {
3570 if (!(alloc_flags & ANV_BO_ALLOC_32BIT_ADDRESS))
3649 enum anv_bo_alloc_flags alloc_flags = 0; local in function:anv_AllocateMemory
3702 alloc_flags |= ANV_BO_ALLOC_IMPLICIT_CCS;
3705 alloc_flags |= ANV_BO_ALLOC_CLIENT_VISIBLE_ADDRESS;
3711 alloc_flags |= ANV_BO_ALLOC_EXTERNAL;
3718 alloc_flags &= ~ANV_BO_ALLOC_IMPLICIT_CCS;
3753 result = anv_device_import_bo(device, fd_info->fd, alloc_flags,
3802 alloc_flags,
3546 anv_vma_alloc(struct anv_device * device,uint64_t size,uint64_t align,enum anv_bo_alloc_flags alloc_flags,uint64_t client_address) argument
[all...]
H A Danv_private.h1377 enum anv_bo_alloc_flags alloc_flags,
1382 enum anv_bo_alloc_flags alloc_flags,
1386 enum anv_bo_alloc_flags alloc_flags,
1487 enum anv_bo_alloc_flags alloc_flags,
/xsrc/external/mit/libdrm/dist/tests/amdgpu/
H A Damdgpu_test.h447 unsigned alignment, unsigned heap, uint64_t alloc_flags,
454 unsigned alignment, unsigned heap, uint64_t alloc_flags,
459 alloc_flags, 0, bo, cpu, mc_address, va_handle);
453 amdgpu_bo_alloc_and_map(amdgpu_device_handle dev,unsigned size,unsigned alignment,unsigned heap,uint64_t alloc_flags,amdgpu_bo_handle * bo,void ** cpu,uint64_t * mc_address,amdgpu_va_handle * va_handle) argument
H A Dsecurity_tests.c110 * @alloc_flags: One of AMDGPU_GEM_CREATE_xyz.
124 uint64_t alloc_flags,
134 alloc_flags,
120 amdgpu_bo_alloc_map(struct amdgpu_device * dev,unsigned size,unsigned alignment,unsigned gem_domain,uint64_t alloc_flags,struct sec_amdgpu_bo * sbo) argument
H A Dcp_dma_tests.c91 uint32_t heap, uint64_t alloc_flags,
102 request.flags = alloc_flags;
89 allocate_bo_and_va(amdgpu_device_handle dev,uint64_t size,uint64_t alignment,uint32_t heap,uint64_t alloc_flags,struct amdgpu_cp_dma_bo * bo) argument
H A Dbasic_tests.c699 unsigned alignment, unsigned heap, uint64_t alloc_flags,
713 request.flags = alloc_flags;
698 amdgpu_bo_alloc_and_map_raw(amdgpu_device_handle dev,unsigned size,unsigned alignment,unsigned heap,uint64_t alloc_flags,uint64_t mapping_flags,amdgpu_bo_handle * bo,void ** cpu,uint64_t * mc_address,amdgpu_va_handle * va_handle) argument
/xsrc/external/mit/MesaLib/dist/src/freedreno/drm/
H A Dfreedreno_bo_cache.c141 if (entry->alloc_flags == flags) {
H A Dfreedreno_bo.c113 bo->alloc_flags = flags;
441 return !!(bo->alloc_flags & FD_BO_CACHED_COHERENT);
H A Dfreedreno_priv.h290 uint32_t alloc_flags; /* flags that control allocation/mapping, ie. FD_BO_x */ member in struct:fd_bo
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_resource.c424 uint32_t *alloc_flags)
462 *alloc_flags = 0;
504 *alloc_flags |= BO_ALLOC_ZEROED;
557 crocus_resource_init_aux_buf(struct crocus_resource *res, uint32_t alloc_flags) argument
559 if (!(alloc_flags & BO_ALLOC_ZEROED)) {
587 uint32_t alloc_flags; local in function:crocus_resource_alloc_separate_aux
589 if (!crocus_resource_configure_aux(screen, res, false, &size, &alloc_flags))
602 res->aux.surf.row_pitch_B, alloc_flags);
607 if (!crocus_resource_init_aux_buf(res, alloc_flags))
859 uint32_t alloc_flags; local in function:crocus_resource_from_handle
421 crocus_resource_configure_aux(struct crocus_screen * screen,struct crocus_resource * res,bool imported,uint64_t * aux_size_B,uint32_t * alloc_flags) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/winsys/amdgpu/
H A Dradv_amdgpu_bo.c836 if (info.alloc_flags & AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED)
838 if (info.alloc_flags & AMDGPU_GEM_CREATE_NO_CPU_ACCESS)
840 if (!(info.alloc_flags & AMDGPU_GEM_CREATE_EXPLICIT_SYNC))
842 if (info.alloc_flags & AMDGPU_GEM_CREATE_CPU_GTT_USWC)
844 if (info.alloc_flags & AMDGPU_GEM_CREATE_VM_ALWAYS_VALID)
846 if (info.alloc_flags & AMDGPU_GEM_CREATE_VRAM_CLEARED)
/xsrc/external/mit/libdrm/dist/amdgpu/
H A Damdgpu.h235 uint64_t alloc_flags; member in struct:amdgpu_bo_info
H A Damdgpu_bo.c165 info->alloc_flags = bo_info.domain_flags;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/
H A Diris_resource.c343 uint32_t alloc_flags = 0; local in function:iris_resource_alloc_aux
390 alloc_flags |= BO_ALLOC_ZEROED;
425 res->aux.surf.row_pitch_B, alloc_flags);
430 if (!(alloc_flags & BO_ALLOC_ZEROED)) {
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dintel_mipmap_tree.c553 isl_surf_usage_flags_t isl_usage_flags, uint32_t alloc_flags,
629 mt->surf.row_pitch_B, alloc_flags);
682 const uint32_t alloc_flags = local in function:miptree_create
702 alloc_flags, 0, NULL);
713 alloc_flags, 0, NULL);
726 alloc_flags, 0, NULL);
1678 const uint32_t alloc_flags = local in function:intel_alloc_aux_buffer
1687 aux_surf->row_pitch_B, alloc_flags);
1695 assert(!(alloc_flags & BO_ALLOC_BUSY));
549 make_surface(struct brw_context * brw,GLenum target,mesa_format format,unsigned first_level,unsigned last_level,unsigned width0,unsigned height0,unsigned depth0,unsigned num_samples,isl_tiling_flags_t tiling_flags,isl_surf_usage_flags_t isl_usage_flags,uint32_t alloc_flags,unsigned row_pitch_B,struct brw_bo * bo) argument
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_mipmap_tree.c353 isl_surf_usage_flags_t isl_usage_flags, uint32_t alloc_flags,
429 mt->surf.row_pitch_B, alloc_flags);
482 const uint32_t alloc_flags = local in function:miptree_create
502 alloc_flags, 0, NULL);
513 alloc_flags, 0, NULL);
526 alloc_flags, 0, NULL);
1430 const uint32_t alloc_flags = local in function:brw_alloc_aux_buffer
1439 aux_surf->row_pitch_B, alloc_flags);
1447 assert(!(alloc_flags & BO_ALLOC_BUSY));
349 make_surface(struct brw_context * brw,GLenum target,mesa_format format,unsigned first_level,unsigned last_level,unsigned width0,unsigned height0,unsigned depth0,unsigned num_samples,isl_tiling_flags_t tiling_flags,isl_surf_usage_flags_t isl_usage_flags,uint32_t alloc_flags,unsigned row_pitch_B,struct brw_bo * bo) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/amdgpu/drm/
H A Damdgpu_bo.c1568 if (info.alloc_flags & AMDGPU_GEM_CREATE_NO_CPU_ACCESS)
1570 if (info.alloc_flags & AMDGPU_GEM_CREATE_CPU_GTT_USWC)
1572 if (info.alloc_flags & AMDGPU_GEM_CREATE_ENCRYPTED) {

Completed in 42 milliseconds