On 10/07/2013 01:31 PM, Krzysztof Hałasa wrote:
> Hi,
>
> found them looking for my V4L2 + mmap + MIPS solution... Is the
> following intentional? Some out-of-tree code maybe?
No, this is intentional. Too bad this was never actually implemented in any
driver. Marek, Pawel, wouldn't it be possible to add support for these flags
in vb2? That seems the right place for this.
Regards,
Hans
>
> $ grep V4L2_BUF_FLAG_NO_CACHE_ * -r
>
> Documentation/DocBook/media/v4l/io.xml:
> <entry><constant>V4L2_BUF_FLAG_NO_CACHE_INVALIDATE</constant></entry>
> Documentation/DocBook/media/v4l/io.xml:
> <entry><constant>V4L2_BUF_FLAG_NO_CACHE_CLEAN</constant></entry>
> Documentation/DocBook/media/v4l/vidioc-prepare-buf.xml:<constant>V4L2_BUF_FLAG_NO_CACHE_INVALIDATE</constant>
> and
> Documentation/DocBook/media/v4l/vidioc-prepare-buf.xml:<constant>V4L2_BUF_FLAG_NO_CACHE_CLEAN</constant>
> flags to skip the respective
> include/uapi/linux/videodev2.h:#define V4L2_BUF_FLAG_NO_CACHE_INVALIDATE
> 0x0800
> include/uapi/linux/videodev2.h:#define V4L2_BUF_FLAG_NO_CACHE_CLEAN
> 0x1000
>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html