GNOME Bugzilla – Bug 787594
allocators: DMABuf allocator need to implement DMA_BUF_IOCTL_SYNC
Last modified: 2018-03-13 17:43:15 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.
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..
*** This bug has been marked as a duplicate of bug 794216 ***