[Bug 794216] allocators: Add DMABuf synchronization

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Mar 10 04:29:38 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=794216

Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #369530|none                        |needs-work
             status|                            |

--- Comment #2 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Review of attachment 369530:
 --> (https://bugzilla.gnome.org/review?bug=794216&attachment=369530)

::: gst-libs/gst/allocators/gstdmabuf.c
@@ +84,3 @@
+  GstDmaBufAllocator *allocator = (GstDmaBufAllocator *) gmem->allocator;
+#ifdef HAVE_LINUX_DMA_BUF_H
+  struct dma_buf_sync sync = { DMA_BUF_SYNC_END };

There is bug here, the kernel requires to specify if this is read or write,
which is stored in the GstMapInfo, but it's not exposed here.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list