<feed xmlns='http://www.w3.org/2005/Atom'>
<title>snowball/igloo-kernel.git/include/media/videobuf-core.h, branch input</title>
<subtitle>Igloo kernel</subtitle>
<id>https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/atom?h=input</id>
<link rel='self' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/atom?h=input'/>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/'/>
<updated>2010-12-29T10:17:07+00:00</updated>
<entry>
<title>[media] V4L: remove V4L1 compatibility mode</title>
<updated>2010-12-29T10:17:07+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil@xs4all.nl</email>
</author>
<published>2010-12-24T13:33:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=08af245de0cf6ab5f4ed008ee2bb99273774fce0'/>
<id>urn:sha1:08af245de0cf6ab5f4ed008ee2bb99273774fce0</id>
<content type='text'>
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB: videobuf: add queue argument to videobuf_waiton()</title>
<updated>2010-10-21T03:06:14+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil@xs4all.nl</email>
</author>
<published>2010-09-26T12:01:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=0e0809a58869e3e422985f868ad5e0da1fc0ba85'/>
<id>urn:sha1:0e0809a58869e3e422985f868ad5e0da1fc0ba85</id>
<content type='text'>
videobuf_waiton() must unlock and relock ext_lock if it has to wait.
For that to happen it needs the videobuf_queue pointer.

Don't attempt to unlock/relock q-&gt;ext_lock unless it was locked in the
first place.

vb-&gt;state has to be protected by a spinlock to be safe.

This patch is based on code from Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;.

[mchehab@redhat.com: add extra argument to a few missing places]
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB: videobuf: add ext_lock argument to the queue init functions</title>
<updated>2010-10-21T03:06:14+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil@xs4all.nl</email>
</author>
<published>2010-09-20T20:39:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=08bff03ed697a583612b62a6ac566bd5bce98012'/>
<id>urn:sha1:08bff03ed697a583612b62a6ac566bd5bce98012</id>
<content type='text'>
Add an ext_lock argument to the videobuf init functions. This allows
drivers to pass the vdev-&gt;lock pointer (or any other externally held lock)
to videobuf. For now all drivers just pass NULL.

Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB: videobuf: prepare to make locking optional in videobuf</title>
<updated>2010-10-21T03:06:14+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil@xs4all.nl</email>
</author>
<published>2010-09-20T20:24:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=97397687886aa8ecd4ec603fab9e70e970c11597'/>
<id>urn:sha1:97397687886aa8ecd4ec603fab9e70e970c11597</id>
<content type='text'>
Currently videobuf uses the vb_lock mutex to lock its data structures.
But this locking will (optionally) move into the v4l2 core, which means
that in that case vb_lock shouldn't be used since the external lock is already
held.

Prepare for this by adding a pointer to such an external mutex and
don't lock if that pointer is set.

Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB: videobuf: Remove videobuf_mapping start and end fields</title>
<updated>2010-08-02T18:23:09+00:00</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@ideasonboard.com</email>
</author>
<published>2010-05-11T13:36:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=959794ddc05ab6fbcd458bc093e7f0b92633d052'/>
<id>urn:sha1:959794ddc05ab6fbcd458bc093e7f0b92633d052</id>
<content type='text'>
The fields are assigned but never used, remove them.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB: videobuf: rename videobuf_alloc to videobuf_alloc_vb</title>
<updated>2010-08-02T18:20:47+00:00</updated>
<author>
<name>Pawel Osciak</name>
<email>p.osciak@samsung.com</email>
</author>
<published>2010-05-11T13:36:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=33c38283f03d8ea0358229fc03c1beebe67aed0e'/>
<id>urn:sha1:33c38283f03d8ea0358229fc03c1beebe67aed0e</id>
<content type='text'>
These functions allocate videobuf_buffer structures only. Renaming in order
to prevent confusion with functions allocating actual video buffer memory.

Rename the functions in videobuf-core.h videobuf-dma-sg.c as well.

Signed-off-by: Pawel Osciak &lt;p.osciak@samsung.com&gt;
Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB: v4l videobuf: add videobuf_buffer *buf as argument to mmap_mapper</title>
<updated>2010-05-19T15:57:54+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil@xs4all.nl</email>
</author>
<published>2010-03-28T12:09:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=0b62b73778554cd47480ea465f0b255cc63b4336'/>
<id>urn:sha1:0b62b73778554cd47480ea465f0b255cc63b4336</id>
<content type='text'>
mmap_mapper should operate on a buffer, not on a complete queue. So let
the videobuf-core find the correct buffer instead of duplicating that
code in each mmap_mapper implementation.

The dma-sg implementation has backwards compatibility code for handling
the V4L1_COMPAT layer. This code is now under the v4L1_COMPAT config option.

Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB: v4l videobuf: move video_copy_to_user and copy_stream to core</title>
<updated>2010-05-19T15:57:53+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil@xs4all.nl</email>
</author>
<published>2010-03-28T12:22:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=37111039c9521c751ce0597c129fe6d45ba72818'/>
<id>urn:sha1:37111039c9521c751ce0597c129fe6d45ba72818</id>
<content type='text'>
The video_copy_to_user and copy_stream ops are almost identical for all
videobuf memtype variants. All that is needed is to use the new vaddr
op and these functions can be moved into the core, ensuring we have just
one single implementation instead of three.

Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB: v4l videobuf: rename videobuf_queue_to_vmalloc to videobuf_queue_to_vaddr</title>
<updated>2010-05-19T15:57:52+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil@xs4all.nl</email>
</author>
<published>2010-03-28T11:33:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=f4fce60e8b1559306fa1112287bc8765f6977de3'/>
<id>urn:sha1:f4fce60e8b1559306fa1112287bc8765f6977de3</id>
<content type='text'>
Ths function returns the virtual kernel address of the buffer and has
nothing to do with allocation.

Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB: v4l videobuf: rename .vmalloc to .vaddr</title>
<updated>2010-05-19T15:57:52+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil@xs4all.nl</email>
</author>
<published>2010-03-28T11:18:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=037c75eb14cd6adb837f81f0c2b2a52c31c91e69'/>
<id>urn:sha1:037c75eb14cd6adb837f81f0c2b2a52c31c91e69</id>
<content type='text'>
Rename the .vmalloc op in struct videobuf_qtype_ops to .vaddr. This op returns
the virtual kernel address of a buffer. vaddr is a lot less confusing than
vmalloc since this callback does do any allocations.

Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
</feed>
