/third_party/mesa3d/src/intel/vulkan/ |
D | anv_allocator.c | 1585 enum anv_bo_alloc_flags alloc_flags) in anv_bo_alloc_flags_to_bo_flags() argument 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() argument 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_address); in anv_bo_vma_alloc_or_close() [all …]
|
D | anv_device.c | 3716 enum anv_bo_alloc_flags alloc_flags, in anv_vma_alloc() argument 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() [all …]
|
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/gstreamer/gstplugins_base/gst-libs/gst/gl/egl/ |
D | gstglmemoryegl.c | 139 guint alloc_flags = params->parent.alloc_flags; in _gl_mem_egl_alloc() local 142 g_return_val_if_fail (alloc_flags & GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_VIDEO, in _gl_mem_egl_alloc() 144 g_return_val_if_fail ((alloc_flags & in _gl_mem_egl_alloc() 146 if (alloc_flags & GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_GPU_HANDLE) { in _gl_mem_egl_alloc() 151 if (alloc_flags & GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_GPU_HANDLE) { in _gl_mem_egl_alloc()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/ |
D | gstglrenderbuffer.c | 187 guint alloc_flags = params->parent.alloc_flags; in _default_gl_rbo_alloc() local 190 g_return_val_if_fail ((alloc_flags & in _default_gl_rbo_alloc() 195 if (alloc_flags & GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_GPU_HANDLE) { in _default_gl_rbo_alloc() 380 guint alloc_flags, GstGLAllocationParamsCopyFunc copy, in _gst_gl_renderbuffer_allocation_params_init_full() argument 394 struct_size, alloc_flags, copy, free, context, 0, alloc_params, in _gst_gl_renderbuffer_allocation_params_init_full()
|
D | gstglmemory.c | 925 guint alloc_flags = params->parent.alloc_flags; in _default_gl_tex_alloc() local 928 g_return_val_if_fail (alloc_flags & GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_VIDEO, in _default_gl_tex_alloc() 933 if (alloc_flags & GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_GPU_HANDLE) { in _default_gl_tex_alloc() 943 if (alloc_flags & GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_GPU_HANDLE) { in _default_gl_tex_alloc() 946 if (alloc_flags & GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_SYSMEM) { in _default_gl_tex_alloc() 1194 gsize struct_size, guint alloc_flags, GstGLAllocationParamsCopyFunc copy, in gst_gl_video_allocation_params_init_full() argument 1212 struct_size, alloc_flags, copy, free, context, 0, alloc_params, in gst_gl_video_allocation_params_init_full() 1461 guint alloc_flags = params->parent.alloc_flags; in gst_gl_memory_setup_buffer() local 1464 g_return_val_if_fail (alloc_flags & GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_VIDEO, in gst_gl_memory_setup_buffer() 1499 if (alloc_flags & GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_SYSMEM) { in gst_gl_memory_setup_buffer() [all …]
|
D | gstglmemorypbo.c | 656 guint alloc_flags; in _gl_mem_pbo_alloc() local 658 alloc_flags = params->parent.alloc_flags; in _gl_mem_pbo_alloc() 662 g_return_val_if_fail (alloc_flags & GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_VIDEO, in _gl_mem_pbo_alloc() 667 if (alloc_flags & GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_GPU_HANDLE) { in _gl_mem_pbo_alloc() 672 if (alloc_flags & GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_SYSMEM) { in _gl_mem_pbo_alloc() 682 if (alloc_flags & GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_SYSMEM) { in _gl_mem_pbo_alloc()
|
D | gstglbasememory.h | 206 guint alloc_flags; member 225 guint alloc_flags,
|
D | gstglbuffer.c | 495 guint alloc_flags = params->parent.alloc_flags; in _gl_buffer_alloc_mem() local 497 g_return_val_if_fail (alloc_flags & in _gl_buffer_alloc_mem() 499 g_return_val_if_fail (alloc_flags & GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_ALLOC, in _gl_buffer_alloc_mem()
|
D | gstglbasememory.c | 633 gsize struct_size, guint alloc_flags, GstGLAllocationParamsCopyFunc copy, in gst_gl_allocation_params_init() argument 650 params->alloc_flags = alloc_flags; in gst_gl_allocation_params_init() 735 gst_gl_allocation_params_init (dest, src->struct_size, src->alloc_flags, in gst_gl_allocation_params_copy_data()
|
D | gstglmemory.h | 144 guint alloc_flags,
|
/third_party/libdrm/tests/amdgpu/ |
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() argument 460 alloc_flags, 0, bo, cpu, mc_address, va_handle); in amdgpu_bo_alloc_and_map()
|
D | security_tests.c | 124 uint64_t alloc_flags, in amdgpu_bo_alloc_map() argument 134 alloc_flags, in amdgpu_bo_alloc_map()
|
D | cp_dma_tests.c | 91 uint32_t heap, uint64_t alloc_flags, in allocate_bo_and_va() argument 102 request.flags = alloc_flags; in allocate_bo_and_va()
|
D | basic_tests.c | 699 unsigned alignment, unsigned heap, uint64_t alloc_flags, in amdgpu_bo_alloc_and_map_raw() argument 713 request.flags = alloc_flags; in amdgpu_bo_alloc_and_map_raw()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_resource.c | 433 uint32_t *alloc_flags) in crocus_resource_configure_aux() argument 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 [all …]
|
/third_party/mesa3d/src/freedreno/drm/ |
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()
|
D | freedreno_bo_cache.c | 143 if (entry->alloc_flags == flags) { in find_in_bucket()
|
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/ |
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/ |
D | virtio_bo.c | 284 bo->alloc_flags = FD_BO_NOMAP; in bo_from_handle()
|
/third_party/libdrm/amdgpu/ |
D | amdgpu.h | 226 uint64_t alloc_flags; member
|
D | amdgpu_bo.c | 165 info->alloc_flags = bo_info.domain_flags; in amdgpu_bo_query_info()
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11decoder.cpp | 449 GstD3D11AllocationFlags alloc_flags = (GstD3D11AllocationFlags) 0; in gst_d3d11_decoder_prepare_output_view_pool() local 462 alloc_flags = GST_D3D11_ALLOCATION_FLAG_TEXTURE_ARRAY; in gst_d3d11_decoder_prepare_output_view_pool() 469 alloc_flags, bind_flags); in gst_d3d11_decoder_prepare_output_view_pool()
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
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()
|