public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* V4L2_BUF_FLAG_NO_CACHE_*
@ 2013-10-07 11:31 Krzysztof Hałasa
  2013-10-07 14:31 ` V4L2_BUF_FLAG_NO_CACHE_* Hans Verkuil
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Hałasa @ 2013-10-07 11:31 UTC (permalink / raw)
  To: linux-media

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
-- 
Krzysztof Halasa

Research Institute for Automation and Measurements PIAP
Al. Jerozolimskie 202, 02-486 Warsaw, Poland

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: V4L2_BUF_FLAG_NO_CACHE_*
  2013-10-07 11:31 V4L2_BUF_FLAG_NO_CACHE_* Krzysztof Hałasa
@ 2013-10-07 14:31 ` Hans Verkuil
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Verkuil @ 2013-10-07 14:31 UTC (permalink / raw)
  To: Krzysztof Hałasa; +Cc: linux-media, Marek Szyprowski, Pawel Osciak

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
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-07 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-07 11:31 V4L2_BUF_FLAG_NO_CACHE_* Krzysztof Hałasa
2013-10-07 14:31 ` V4L2_BUF_FLAG_NO_CACHE_* Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox