Home
last modified time | relevance | path

Searched refs:dma_buf (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mesa3d/src/freedreno/vulkan/
Dtu_android.c104 int *dma_buf, in tu_gralloc_info_other() argument
114 *dma_buf = handle_fds[0]; in tu_gralloc_info_other()
147 *dma_buf = handle_fds[0]; in tu_gralloc_info_other()
177 int *dma_buf, in tu_gralloc_info_cros() argument
190 *dma_buf = info.fds[0]; in tu_gralloc_info_cros()
199 int *dma_buf, in tu_gralloc_info() argument
234 return tu_gralloc_info_cros(device, gralloc_info, dma_buf, modifier); in tu_gralloc_info()
236 return tu_gralloc_info_other(device, gralloc_info, dma_buf, modifier); in tu_gralloc_info()
248 int dma_buf, in tu_import_memory_from_gralloc_handle() argument
271 .fd = os_dupfd_cloexec(dma_buf), in tu_import_memory_from_gralloc_handle()
Dtu_android.h18 int *dma_buf,
23 int dma_buf,
Dtu_image.c634 int dma_buf; in tu_CreateImage() local
636 VkResult result = tu_gralloc_info(device, gralloc_info, &dma_buf, &modifier); in tu_CreateImage()
653 return tu_import_memory_from_gralloc_handle(_device, dma_buf, alloc, in tu_CreateImage()
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_EXT_external_memory_dma_buf.adoc20 A code:dma_buf is a type of file descriptor, defined by the Linux kernel,
23 This extension enables applications to import a code:dma_buf as
24 slink:VkDeviceMemory, to export slink:VkDeviceMemory as a code:dma_buf, and
32 to bind to code:dma_buf slink:VkDeviceMemory containing an externally
47 2) Without the ability to specify the memory layout of external code:dma_buf
51 import/export between code:dma_buf and slink:VkDeviceMemory.
54 to code:dma_buf.
DVK_EXT_external_memory_dma_buf.txt20 A code:dma_buf is a type of file descriptor, defined by the Linux kernel,
23 This extension enables applications to import a code:dma_buf as
24 slink:VkDeviceMemory, to export slink:VkDeviceMemory as a code:dma_buf, and
32 to bind to code:dma_buf slink:VkDeviceMemory containing an externally
47 2) Without the ability to specify the memory layout of external code:dma_buf
51 import/export between code:dma_buf and slink:VkDeviceMemory.
54 to code:dma_buf.
DVK_EXT_image_drm_format_modifier.adoc34 specific handle type (such as a dma_buf) for external memory and provides
83 image content, providing the resource's dma_buf to
87 providing the resource's dma_buf and _modifier_ to code:eglCreateImage.
89 to the kernel's display API, providing the dma_buf and _modifier_ through
215 plane a dma_buf, offset, and row pitch.
285 include the image's pixel format and a dma_buf, offset, and row pitch for
295 that each dma_buf's memory be dedicated (in the sense of
309 This allows EGL and GBM to query each dma_buf's size during image
314 the size of each dma_buf (or other external handle) when calculating the
DVK_EXT_image_drm_format_modifier.txt34 specific handle type (such as a dma_buf) for external memory and provides
83 image content, providing the resource's dma_buf to
87 providing the resource's dma_buf and _modifier_ to code:eglCreateImage.
89 to the kernel's display API, providing the dma_buf and _modifier_ through
215 plane a dma_buf, offset, and row pitch.
285 include the image's pixel format and a dma_buf, offset, and row pitch for
295 that each dma_buf's memory be dedicated (in the sense of
309 This allows EGL and GBM to query each dma_buf's size during image
314 the size of each dma_buf (or other external handle) when calculating the
/third_party/mesa3d/src/intel/vulkan/
Danv_android.c299 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1; in anv_GetAndroidHardwareBufferPropertiesANDROID() local
300 if (dma_buf < 0) in anv_GetAndroidHardwareBufferPropertiesANDROID()
306 pProperties->allocationSize = lseek(dma_buf, 0, SEEK_END); in anv_GetAndroidHardwareBufferPropertiesANDROID()
393 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1; in anv_import_ahw_memory() local
394 if (dma_buf < 0) in anv_import_ahw_memory()
397 VkResult result = anv_device_import_bo(device, dma_buf, 0, in anv_import_ahw_memory()
504 int dma_buf = gralloc_info->handle->data[0]; in anv_image_init_from_gralloc() local
515 result = anv_device_import_bo(device, dma_buf, in anv_image_init_from_gralloc()
590 int dma_buf = gralloc_info->handle->data[0]; in anv_image_bind_from_gralloc() local
602 VkResult result = anv_device_import_bo(device, dma_buf, in anv_image_bind_from_gralloc()
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/
DEGL_EXT_image_dma_buf_import.txt39 dma_buf buffer sharing mechanism.
45 This extension allows creating an EGLImage from a Linux dma_buf file
111 | | dma_buf file descriptors |
129 * EGL_DMA_BUF_PLANE0_FD_EXT: The dma_buf file descriptor of plane 0 of
133 dma_buf of the first sample in plane 0, in bytes.
215 EGL will take a reference to the dma_buf(s) which it will release at any
217 application to close the dma_buf file descriptors."
267 extension which explicitly states the handles are dma_buf fds?
271 against Linux and the dma_buf API.
373 ANSWER: Buffers being imported using dma_buf pretty much have to be
[all …]
DEGL_EXT_image_dma_buf_import_modifiers.txt41 dma_buf buffer sharing mechanism.
155 Add section 2.5.3 "EGLImage dma_buf formats and modifiers"
165 is used to query the dma_buf formats supported by <dpy>. Each format is
192 is used to query the dma_buf format modifiers supported by <dpy> for the
/third_party/EGL/extensions/EXT/
DEGL_EXT_image_dma_buf_import.txt39 dma_buf buffer sharing mechanism.
45 This extension allows creating an EGLImage from a Linux dma_buf file
111 | | dma_buf file descriptors |
129 * EGL_DMA_BUF_PLANE0_FD_EXT: The dma_buf file descriptor of plane 0 of
133 dma_buf of the first sample in plane 0, in bytes.
215 EGL will take a reference to the dma_buf(s) which it will release at any
217 application to close the dma_buf file descriptors."
267 extension which explicitly states the handles are dma_buf fds?
271 against Linux and the dma_buf API.
373 ANSWER: Buffers being imported using dma_buf pretty much have to be
[all …]
DEGL_EXT_image_dma_buf_import_modifiers.txt41 dma_buf buffer sharing mechanism.
157 Add section 2.5.3 "EGLImage dma_buf formats and modifiers"
167 is used to query the dma_buf formats supported by <dpy>. Each format is
194 is used to query the dma_buf format modifiers supported by <dpy> for the
/third_party/mesa3d/src/amd/vulkan/
Dradv_android.c134 int dma_buf = gralloc_info->handle->data[0]; in radv_image_from_gralloc() local
141 .fd = os_dupfd_cloexec(dma_buf), in radv_image_from_gralloc()
641 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1; in radv_GetAndroidHardwareBufferPropertiesANDROID() local
642 if (dma_buf < 0) in radv_GetAndroidHardwareBufferPropertiesANDROID()
648 pProperties->allocationSize = lseek(dma_buf, 0, SEEK_END); in radv_GetAndroidHardwareBufferPropertiesANDROID()
711 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1; in radv_import_ahb_memory() local
712 if (dma_buf < 0) in radv_import_ahb_memory()
717 device->ws->buffer_from_fd(device->ws, dma_buf, priority, &mem->bo, &alloc_size); in radv_import_ahb_memory()
/third_party/EGL/extensions/MESA/
DEGL_MESA_image_dma_buf_export.txt37 dma_buf buffer sharing mechanism.
42 dma-buf infrastructure. The extension allows creating a Linux dma_buf
102 The second entrypoint retrieves the dma_buf file descriptors,
/third_party/mesa3d/docs/_extra/specs/
DMESA_image_dma_buf_export.txt37 dma_buf buffer sharing mechanism.
42 dma-buf infrastructure. The extension allows creating a Linux dma_buf
102 The second entrypoint retrieves the dma_buf file descriptors,
/third_party/skia/third_party/externals/egl-registry/extensions/MESA/
DEGL_MESA_image_dma_buf_export.txt37 dma_buf buffer sharing mechanism.
42 dma-buf infrastructure. The extension allows creating a Linux dma_buf
102 The second entrypoint retrieves the dma_buf file descriptors,
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_private.h2387 int dma_buf,
/third_party/vk-gl-cts/android/cts/main/vk-master-2020-03-01/
Dapi.txt16524 dEQP-VK.api.external.memory.dma_buf.suballocated.device_only.import_twice
16525 dEQP-VK.api.external.memory.dma_buf.suballocated.device_only.import_multiple_times
16526 dEQP-VK.api.external.memory.dma_buf.suballocated.device_only.dup
16527 dEQP-VK.api.external.memory.dma_buf.suballocated.device_only.dup2
16528 dEQP-VK.api.external.memory.dma_buf.suballocated.device_only.dup3
16529 dEQP-VK.api.external.memory.dma_buf.suballocated.device_only.send_over_socket
16530 dEQP-VK.api.external.memory.dma_buf.suballocated.device_only.export_multiple_times
16531 dEQP-VK.api.external.memory.dma_buf.suballocated.device_only.fd_properties
16532 dEQP-VK.api.external.memory.dma_buf.suballocated.host_visible.import_twice
16533 dEQP-VK.api.external.memory.dma_buf.suballocated.host_visible.import_multiple_times
[all …]
/third_party/vk-gl-cts/android/cts/master/vk-master-2020-03-01/
Dapi.txt29512 dEQP-VK.api.external.memory.dma_buf.suballocated.device_only.import_twice
29513 dEQP-VK.api.external.memory.dma_buf.suballocated.device_only.import_multiple_times
29514 dEQP-VK.api.external.memory.dma_buf.suballocated.device_only.dup
29515 dEQP-VK.api.external.memory.dma_buf.suballocated.device_only.dup2
29516 dEQP-VK.api.external.memory.dma_buf.suballocated.device_only.dup3
29517 dEQP-VK.api.external.memory.dma_buf.suballocated.device_only.send_over_socket
29518 dEQP-VK.api.external.memory.dma_buf.suballocated.device_only.export_multiple_times
29519 dEQP-VK.api.external.memory.dma_buf.suballocated.device_only.fd_properties
29520 dEQP-VK.api.external.memory.dma_buf.suballocated.host_visible.import_twice
29521 dEQP-VK.api.external.memory.dma_buf.suballocated.host_visible.import_multiple_times
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Dcapabilities.txt458 descriptor for a Linux dma_buf.
Dcapabilities.adoc501 descriptor for a Linux dma_buf.
/third_party/mesa3d/docs/relnotes/
D21.2.0.rst5163 - venus: implement dma_buf fd import and properties query
5204 - venus: rename dmabuf to dma_buf when it represents a type
5206 - venus: refactor for property query of dma_buf fd
5210 - venus: support AHB prop query with host dma_buf size
D19.1.0.rst1021 - turnip: add support for VK_KHR_external_memory_{fd,dma_buf}
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h68601 struct dma_buf;
68607 int (*attach)(struct dma_buf *, struct dma_buf_attachment *);
68608 void (*detach)(struct dma_buf *, struct dma_buf_attachment *);
68613 void (*release)(struct dma_buf *);
68614 int (*begin_cpu_access)(struct dma_buf *, enum dma_data_direction);
68615 int (*end_cpu_access)(struct dma_buf *, enum dma_data_direction);
68616 int (*mmap)(struct dma_buf *, struct vm_area_struct *);
68617 int (*vmap)(struct dma_buf *, struct dma_buf_map *);
68618 void (*vunmap)(struct dma_buf *, struct dma_buf_map *);
68629 struct dma_buf { struct
[all …]
/third_party/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v0.abi32599 …<class-decl name="dma_buf" size-in-bits="2240" is-struct="yes" visibility="default" filepath="incl…
36925 …<class-decl name="dma_buf" is-struct="yes" visibility="default" is-declaration-only="yes" id="c201…
42319 …<class-decl name="dma_buf" size-in-bits="2240" is-struct="yes" visibility="default" filepath="incl…

12