/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_allocator.c | 1585 enum anv_bo_alloc_flags alloc_flags) in anv_bo_alloc_flags_to_bo_flags() 1590 if (!(alloc_flags & ANV_BO_ALLOC_32BIT_ADDRESS) && in anv_bo_alloc_flags_to_bo_flags() 1594 if ((alloc_flags & ANV_BO_ALLOC_CAPTURE) && pdevice->has_exec_capture) in anv_bo_alloc_flags_to_bo_flags() 1597 if (alloc_flags & ANV_BO_ALLOC_IMPLICIT_WRITE) { in anv_bo_alloc_flags_to_bo_flags() 1598 assert(alloc_flags & ANV_BO_ALLOC_IMPLICIT_SYNC); in anv_bo_alloc_flags_to_bo_flags() 1602 if (!(alloc_flags & ANV_BO_ALLOC_IMPLICIT_SYNC) && pdevice->has_exec_async) in anv_bo_alloc_flags_to_bo_flags() 1627 enum anv_bo_alloc_flags alloc_flags, in anv_bo_vma_alloc_or_close() 1636 if (device->info.ver >= 12 && (alloc_flags & ANV_BO_ALLOC_IMPLICIT_CCS)) in anv_bo_vma_alloc_or_close() 1645 if (alloc_flags & ANV_BO_ALLOC_FIXED_ADDRESS) { in anv_bo_vma_alloc_or_close() 1650 align, alloc_flags, explicit_addres in anv_bo_vma_alloc_or_close() 1584 anv_bo_alloc_flags_to_bo_flags(struct anv_device *device, enum anv_bo_alloc_flags alloc_flags) anv_bo_alloc_flags_to_bo_flags() argument 1625 anv_bo_vma_alloc_or_close(struct anv_device *device, struct anv_bo *bo, enum anv_bo_alloc_flags alloc_flags, uint64_t explicit_address) anv_bo_vma_alloc_or_close() argument 1662 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) anv_device_alloc_bo() argument 1836 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) anv_device_import_bo_from_host_ptr() argument 1926 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) anv_device_import_bo() argument [all...] |
H A D | anv_device.c | 3716 enum anv_bo_alloc_flags alloc_flags, in anv_vma_alloc() 3723 if (alloc_flags & ANV_BO_ALLOC_CLIENT_VISIBLE_ADDRESS) { in anv_vma_alloc() 3738 if (!(alloc_flags & ANV_BO_ALLOC_32BIT_ADDRESS)) in anv_vma_alloc() 3818 enum anv_bo_alloc_flags alloc_flags = 0; in anv_AllocateMemory() local 3875 alloc_flags |= ANV_BO_ALLOC_IMPLICIT_CCS; in anv_AllocateMemory() 3885 alloc_flags |= ANV_BO_ALLOC_LOCAL_MEM_CPU_VISIBLE; in anv_AllocateMemory() 3888 alloc_flags |= ANV_BO_ALLOC_CLIENT_VISIBLE_ADDRESS; in anv_AllocateMemory() 3894 alloc_flags |= ANV_BO_ALLOC_EXTERNAL; in anv_AllocateMemory() 3929 result = anv_device_import_bo(device, fd_info->fd, alloc_flags, in anv_AllocateMemory() 3978 alloc_flags, in anv_AllocateMemory() 3714 anv_vma_alloc(struct anv_device *device, uint64_t size, uint64_t align, enum anv_bo_alloc_flags alloc_flags, uint64_t client_address) anv_vma_alloc() argument [all...] |
H A D | anv_private.h | 1388 enum anv_bo_alloc_flags alloc_flags, 1402 enum anv_bo_alloc_flags alloc_flags, 1406 enum anv_bo_alloc_flags alloc_flags, 1477 enum anv_bo_alloc_flags alloc_flags,
|
/third_party/libdrm/tests/amdgpu/ |
H A D | amdgpu_test.h | 448 unsigned alignment, unsigned heap, uint64_t alloc_flags, 455 unsigned alignment, unsigned heap, uint64_t alloc_flags, in amdgpu_bo_alloc_and_map() 460 alloc_flags, 0, bo, cpu, mc_address, va_handle); in amdgpu_bo_alloc_and_map() 454 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) amdgpu_bo_alloc_and_map() argument
|
H A D | security_tests.c | 110 * @alloc_flags: One of AMDGPU_GEM_CREATE_xyz. 124 uint64_t alloc_flags, in amdgpu_bo_alloc_map() 134 alloc_flags, in amdgpu_bo_alloc_map() 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) amdgpu_bo_alloc_map() argument
|
H A D | cp_dma_tests.c | 91 uint32_t heap, uint64_t alloc_flags, in allocate_bo_and_va() 102 request.flags = alloc_flags; in allocate_bo_and_va() 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) allocate_bo_and_va() argument
|
H A D | basic_tests.c | 699 unsigned alignment, unsigned heap, uint64_t alloc_flags, in amdgpu_bo_alloc_and_map_raw() 713 request.flags = alloc_flags; in amdgpu_bo_alloc_and_map_raw() 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) amdgpu_bo_alloc_and_map_raw() argument
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_resource.c | 433 uint32_t *alloc_flags) in crocus_resource_configure_aux() 471 *alloc_flags = 0; in crocus_resource_configure_aux() 513 *alloc_flags |= BO_ALLOC_ZEROED; in crocus_resource_configure_aux() 566 crocus_resource_init_aux_buf(struct crocus_resource *res, uint32_t alloc_flags) in crocus_resource_init_aux_buf() argument 568 if (!(alloc_flags & BO_ALLOC_ZEROED)) { in crocus_resource_init_aux_buf() 596 uint32_t alloc_flags; in crocus_resource_alloc_separate_aux() local 598 if (!crocus_resource_configure_aux(screen, res, false, &size, &alloc_flags)) in crocus_resource_alloc_separate_aux() 611 res->aux.surf.row_pitch_B, alloc_flags); in crocus_resource_alloc_separate_aux() 616 if (!crocus_resource_init_aux_buf(res, alloc_flags)) in crocus_resource_alloc_separate_aux() 872 uint32_t alloc_flags; in crocus_resource_from_handle() local 430 crocus_resource_configure_aux(struct crocus_screen *screen, struct crocus_resource *res, bool imported, uint64_t *aux_size_B, uint32_t *alloc_flags) crocus_resource_configure_aux() argument [all...] |
/third_party/mesa3d/src/freedreno/drm/ |
H A D | freedreno_bo.c | 121 bo->alloc_flags = flags; in bo_new() 452 return !!(bo->alloc_flags & FD_BO_CACHED_COHERENT); in fd_bo_is_cached() 483 if (bo->alloc_flags & FD_BO_NOMAP) in fd_bo_map()
|
H A D | freedreno_bo_cache.c | 143 if (entry->alloc_flags == flags) { in find_in_bucket()
|
H A D | freedreno_priv.h | 334 uint32_t alloc_flags; /* flags that control allocation/mapping, ie. FD_BO_x */ member
|
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
H A D | radv_amdgpu_bo.c | 813 if (info.alloc_flags & AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED) in radv_amdgpu_bo_get_flags_from_fd() 815 if (info.alloc_flags & AMDGPU_GEM_CREATE_NO_CPU_ACCESS) in radv_amdgpu_bo_get_flags_from_fd() 817 if (!(info.alloc_flags & AMDGPU_GEM_CREATE_EXPLICIT_SYNC)) in radv_amdgpu_bo_get_flags_from_fd() 819 if (info.alloc_flags & AMDGPU_GEM_CREATE_CPU_GTT_USWC) in radv_amdgpu_bo_get_flags_from_fd() 821 if (info.alloc_flags & AMDGPU_GEM_CREATE_VM_ALWAYS_VALID) in radv_amdgpu_bo_get_flags_from_fd() 823 if (info.alloc_flags & AMDGPU_GEM_CREATE_VRAM_CLEARED) in radv_amdgpu_bo_get_flags_from_fd()
|
/third_party/mesa3d/src/freedreno/drm/virtio/ |
H A D | virtio_bo.c | 284 bo->alloc_flags = FD_BO_NOMAP; in bo_from_handle()
|
/third_party/libdrm/amdgpu/ |
H A D | amdgpu.h | 226 uint64_t alloc_flags; member
|
H A D | amdgpu_bo.c | 165 info->alloc_flags = bo_info.domain_flags; in amdgpu_bo_query_info()
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
H A D | amdgpu_bo.c | 1537 if (info.alloc_flags & AMDGPU_GEM_CREATE_NO_CPU_ACCESS) in amdgpu_bo_from_handle() 1539 if (info.alloc_flags & AMDGPU_GEM_CREATE_CPU_GTT_USWC) in amdgpu_bo_from_handle() 1541 if (info.alloc_flags & AMDGPU_GEM_CREATE_ENCRYPTED) { in amdgpu_bo_from_handle()
|