public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans Verkuil <hverkuil@xs4all.nl>
To: "Krzysztof Hałasa" <khalasa@piap.pl>
Cc: linux-media <linux-media@vger.kernel.org>,
	Marek Szyprowski <m.szyprowski@samsung.com>,
	Pawel Osciak <pawel@osciak.com>
Subject: Re: V4L2_BUF_FLAG_NO_CACHE_*
Date: Mon, 07 Oct 2013 16:31:11 +0200	[thread overview]
Message-ID: <5252C5AF.5010308@xs4all.nl> (raw)
In-Reply-To: <m3txgt8gh3.fsf@t19.piap.pl>

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
> 


      reply	other threads:[~2013-10-07 14:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-07 11:31 V4L2_BUF_FLAG_NO_CACHE_* Krzysztof Hałasa
2013-10-07 14:31 ` Hans Verkuil [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5252C5AF.5010308@xs4all.nl \
    --to=hverkuil@xs4all.nl \
    --cc=khalasa@piap.pl \
    --cc=linux-media@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=pawel@osciak.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox