Home
last modified time | relevance | path

Searched refs:alloc_flags (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/intel/vulkan/
Danv_allocator.c1575 enum anv_bo_alloc_flags alloc_flags) in anv_bo_alloc_flags_to_bo_flags() argument
1580 if (!(alloc_flags & ANV_BO_ALLOC_32BIT_ADDRESS) && in anv_bo_alloc_flags_to_bo_flags()
1584 if ((alloc_flags & ANV_BO_ALLOC_CAPTURE) && pdevice->has_exec_capture) in anv_bo_alloc_flags_to_bo_flags()
1587 if (alloc_flags & ANV_BO_ALLOC_IMPLICIT_WRITE) { in anv_bo_alloc_flags_to_bo_flags()
1588 assert(alloc_flags & ANV_BO_ALLOC_IMPLICIT_SYNC); in anv_bo_alloc_flags_to_bo_flags()
1592 if (!(alloc_flags & ANV_BO_ALLOC_IMPLICIT_SYNC) && pdevice->has_exec_async) in anv_bo_alloc_flags_to_bo_flags()
1603 enum anv_bo_alloc_flags alloc_flags) in anv_device_get_bo_align() argument
1606 if (device->info.gen >= 12 && (alloc_flags & ANV_BO_ALLOC_IMPLICIT_CCS)) in anv_device_get_bo_align()
1615 enum anv_bo_alloc_flags alloc_flags, in anv_device_alloc_bo() argument
1620 assert(!(alloc_flags & ANV_BO_ALLOC_IMPLICIT_CCS)); in anv_device_alloc_bo()
[all …]
Danv_device.c3379 enum anv_bo_alloc_flags alloc_flags, in anv_vma_alloc() argument
3386 if (alloc_flags & ANV_BO_ALLOC_CLIENT_VISIBLE_ADDRESS) { in anv_vma_alloc()
3401 if (!(alloc_flags & ANV_BO_ALLOC_32BIT_ADDRESS)) in anv_vma_alloc()
3482 enum anv_bo_alloc_flags alloc_flags = 0; in anv_AllocateMemory() local
3535 alloc_flags |= ANV_BO_ALLOC_IMPLICIT_CCS; in anv_AllocateMemory()
3538 alloc_flags |= ANV_BO_ALLOC_CLIENT_VISIBLE_ADDRESS; in anv_AllocateMemory()
3544 alloc_flags |= ANV_BO_ALLOC_EXTERNAL; in anv_AllocateMemory()
3551 alloc_flags &= ~ANV_BO_ALLOC_IMPLICIT_CCS; in anv_AllocateMemory()
3593 result = anv_device_import_bo(device, fd_info->fd, alloc_flags, in anv_AllocateMemory()
3642 alloc_flags, in anv_AllocateMemory()
[all …]
Danv_private.h1542 enum anv_bo_alloc_flags alloc_flags,
1547 enum anv_bo_alloc_flags alloc_flags,
1551 enum anv_bo_alloc_flags alloc_flags,
1637 enum anv_bo_alloc_flags alloc_flags,
/external/libdrm/tests/amdgpu/
Damdgpu_test.h384 unsigned alignment, unsigned heap, uint64_t alloc_flags,
391 unsigned alignment, unsigned heap, uint64_t alloc_flags, in amdgpu_bo_alloc_and_map() argument
396 alloc_flags, 0, bo, cpu, mc_address, va_handle); in amdgpu_bo_alloc_and_map()
Dsecurity_tests.c124 uint64_t alloc_flags, in amdgpu_bo_alloc_map() argument
134 alloc_flags, in amdgpu_bo_alloc_map()
Dbasic_tests.c559 unsigned alignment, unsigned heap, uint64_t alloc_flags, in amdgpu_bo_alloc_and_map_raw() argument
573 request.flags = alloc_flags; in amdgpu_bo_alloc_and_map_raw()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.c737 if (info.alloc_flags & AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED) in radv_amdgpu_bo_get_flags_from_fd()
739 if (info.alloc_flags & AMDGPU_GEM_CREATE_NO_CPU_ACCESS) in radv_amdgpu_bo_get_flags_from_fd()
741 if (!(info.alloc_flags & AMDGPU_GEM_CREATE_EXPLICIT_SYNC)) in radv_amdgpu_bo_get_flags_from_fd()
743 if (info.alloc_flags & AMDGPU_GEM_CREATE_CPU_GTT_USWC) in radv_amdgpu_bo_get_flags_from_fd()
745 if (info.alloc_flags & AMDGPU_GEM_CREATE_VM_ALWAYS_VALID) in radv_amdgpu_bo_get_flags_from_fd()
747 if (info.alloc_flags & AMDGPU_GEM_CREATE_VRAM_CLEARED) in radv_amdgpu_bo_get_flags_from_fd()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_mipmap_tree.c353 isl_surf_usage_flags_t isl_usage_flags, uint32_t alloc_flags, in make_surface() argument
429 mt->surf.row_pitch_B, alloc_flags); in make_surface()
482 const uint32_t alloc_flags = in miptree_create() local
502 alloc_flags, 0, NULL); in miptree_create()
513 alloc_flags, 0, NULL); in miptree_create()
526 alloc_flags, 0, NULL); in miptree_create()
1478 const uint32_t alloc_flags = in intel_alloc_aux_buffer() local
1487 aux_surf->row_pitch_B, alloc_flags); in intel_alloc_aux_buffer()
1495 assert(!(alloc_flags & BO_ALLOC_BUSY)); in intel_alloc_aux_buffer()
/external/libdrm/amdgpu/
Damdgpu.h226 uint64_t alloc_flags; member
Damdgpu_bo.c173 info->alloc_flags = bo_info.domain_flags; in amdgpu_bo_query_info()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c1469 if (info.alloc_flags & AMDGPU_GEM_CREATE_NO_CPU_ACCESS) in amdgpu_bo_from_handle()
1471 if (info.alloc_flags & AMDGPU_GEM_CREATE_CPU_GTT_USWC) in amdgpu_bo_from_handle()
1473 if (info.alloc_flags & AMDGPU_GEM_CREATE_ENCRYPTED) { in amdgpu_bo_from_handle()