V4L2_BUF_FLAG_NO_CACHE_*
Hi,
found them looking for my V4L2 + mmap + MIPS solution... Is the following intentional? Some out-of-tree code maybe?
$ 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
Signature · 4 lines
Krzysztof Halasa Research Institute for Automation and Measurements PIAP Al. Jerozolimskie 202, 02-486 Warsaw, Poland
Quoted 4 lines · Krzysztof Hałasa
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
Quoted 10 lines
$ 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:#defineV4L2_BUF_FLAG_NO_CACHE_INVALIDATE0x0800
include/uapi/linux/videodev2.h:#defineV4L2_BUF_FLAG_NO_CACHE_CLEAN0x1000