After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787594 - allocators: DMABuf allocator need to implement DMA_BUF_IOCTL_SYNC
allocators: DMABuf allocator need to implement DMA_BUF_IOCTL_SYNC
Status: RESOLVED DUPLICATE of bug 794216
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.13.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-12 19:38 UTC by Nicolas Dufresne (ndufresne)
Modified: 2018-03-13 17:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicolas Dufresne (ndufresne) 2017-09-12 19:38:56 UTC
This is needed to ensure cache coherency. Without this, if a mapped buffer is modified, the driver may not be aware, hence may display broken images.

To implement this, we'll need hooks in GstFdMemory to execute additional operation when map/unmap is called.
Comment 1 Olivier Crête 2017-09-13 14:13:41 UTC
I wonder if we shouldn't do like GL and have a "special" map flag that does the operation? because I guess you dont want to flush on every unmap..
Comment 2 Nicolas Dufresne (ndufresne) 2018-03-13 17:43:15 UTC

*** This bug has been marked as a duplicate of bug 794216 ***