<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/include/uapi/linux/v4l2-common.h, branch v4.10-rc5</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>[media] media: v4l: Dual license v4l2-common.h under GPL v2 and BSD licenses</title>
<updated>2016-02-01T10:47:05+00:00</updated>
<author>
<name>Sakari Ailus</name>
<email>sakari.ailus@linux.intel.com</email>
</author>
<published>2016-01-11T13:21:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=80100fd9ebb9f2414892a1178d26a4253e6c0bcf'/>
<id>80100fd9ebb9f2414892a1178d26a4253e6c0bcf</id>
<content type='text'>
The v4l2-common.h user space header was split off from videodev2.h, but
the dual licensing of the videodev2.h (as well as other V4L2 headers) was
missed. Change the license of the v4l2-common.h from GNU GPL v2 to both
GNU GPL v2 and BSD.

Sakari Ailus &lt;sakari.ailus@iki.fi&gt;:
&gt; Would you approve a license change of the patches to
&gt; include/uapi/linux/v4l2-common.h (formerly include/linux/v4l2-common.h) you
&gt; or your company have contributed from GNU GPL v2 to dual GNU GPL v2 and BSD
&gt; licenses, changing the copyright notice in the file as below (from
&gt; videodev2.h):
&gt;
&gt; -------------8&lt;------------
&gt;   *  This program is free software; you can redistribute it and/or modify
&gt;   *  it under the terms of the GNU General Public License as published by
&gt;   *  the Free Software Foundation; either version 2 of the License, or
&gt;   *  (at your option) any later version.
&gt;   *
&gt;   *  This program is distributed in the hope that it will be useful,
&gt;   *  but WITHOUT ANY WARRANTY; without even the implied warranty of
&gt;   *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
&gt;   *  GNU General Public License for more details.
&gt;   *
&gt;   *  Alternatively you can redistribute this file under the terms of the
&gt;   *  BSD license as stated below:
&gt;   *
&gt;   *  Redistribution and use in source and binary forms, with or without
&gt;   *  modification, are permitted provided that the following conditions
&gt;   *  are met:
&gt;   *  1. Redistributions of source code must retain the above copyright
&gt;   *     notice, this list of conditions and the following disclaimer.
&gt;   *  2. Redistributions in binary form must reproduce the above copyright
&gt;   *     notice, this list of conditions and the following disclaimer in
&gt;   *     the documentation and/or other materials provided with the
&gt;   *     distribution.
&gt;   *  3. The names of its contributors may not be used to endorse or promote
&gt;   *     products derived from this software without specific prior written
&gt;   *     permission.
&gt;   *
&gt;   *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
&gt;   *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
&gt;   *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
&gt;   *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
&gt;   *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
&gt;   *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
&gt;   *  TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
&gt;   *  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
&gt;   *  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
&gt;   *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
&gt;   *  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
&gt; -------------8&lt;------------

Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;:
&gt; No problem from my side.

Hans Verkuil &lt;hans.verkuil@cisco.com&gt;:
&gt; Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;

Aaro Koskinen &lt;aaro.koskinen@nokia.com&gt;:
&gt; This fine also for us.
&gt;
&gt; Acked-by: Aaro Koskinen &lt;aaro.koskinen@nokia.com&gt;

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Acked-by: Aaro Koskinen &lt;aaro.koskinen@nokia.com&gt;
Acked-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The v4l2-common.h user space header was split off from videodev2.h, but
the dual licensing of the videodev2.h (as well as other V4L2 headers) was
missed. Change the license of the v4l2-common.h from GNU GPL v2 to both
GNU GPL v2 and BSD.

Sakari Ailus &lt;sakari.ailus@iki.fi&gt;:
&gt; Would you approve a license change of the patches to
&gt; include/uapi/linux/v4l2-common.h (formerly include/linux/v4l2-common.h) you
&gt; or your company have contributed from GNU GPL v2 to dual GNU GPL v2 and BSD
&gt; licenses, changing the copyright notice in the file as below (from
&gt; videodev2.h):
&gt;
&gt; -------------8&lt;------------
&gt;   *  This program is free software; you can redistribute it and/or modify
&gt;   *  it under the terms of the GNU General Public License as published by
&gt;   *  the Free Software Foundation; either version 2 of the License, or
&gt;   *  (at your option) any later version.
&gt;   *
&gt;   *  This program is distributed in the hope that it will be useful,
&gt;   *  but WITHOUT ANY WARRANTY; without even the implied warranty of
&gt;   *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
&gt;   *  GNU General Public License for more details.
&gt;   *
&gt;   *  Alternatively you can redistribute this file under the terms of the
&gt;   *  BSD license as stated below:
&gt;   *
&gt;   *  Redistribution and use in source and binary forms, with or without
&gt;   *  modification, are permitted provided that the following conditions
&gt;   *  are met:
&gt;   *  1. Redistributions of source code must retain the above copyright
&gt;   *     notice, this list of conditions and the following disclaimer.
&gt;   *  2. Redistributions in binary form must reproduce the above copyright
&gt;   *     notice, this list of conditions and the following disclaimer in
&gt;   *     the documentation and/or other materials provided with the
&gt;   *     distribution.
&gt;   *  3. The names of its contributors may not be used to endorse or promote
&gt;   *     products derived from this software without specific prior written
&gt;   *     permission.
&gt;   *
&gt;   *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
&gt;   *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
&gt;   *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
&gt;   *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
&gt;   *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
&gt;   *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
&gt;   *  TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
&gt;   *  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
&gt;   *  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
&gt;   *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
&gt;   *  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
&gt; -------------8&lt;------------

Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;:
&gt; No problem from my side.

Hans Verkuil &lt;hans.verkuil@cisco.com&gt;:
&gt; Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;

Aaro Koskinen &lt;aaro.koskinen@nokia.com&gt;:
&gt; This fine also for us.
&gt;
&gt; Acked-by: Aaro Koskinen &lt;aaro.koskinen@nokia.com&gt;

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Acked-by: Aaro Koskinen &lt;aaro.koskinen@nokia.com&gt;
Acked-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[media] v4l: Add V4L2_SEL_TGT_NATIVE_SIZE selection target</title>
<updated>2014-12-04T14:37:01+00:00</updated>
<author>
<name>Sakari Ailus</name>
<email>sakari.ailus@iki.fi</email>
</author>
<published>2014-10-15T16:38:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0b4bc768dc289731983ba5223555ffabe08eefdd'/>
<id>0b4bc768dc289731983ba5223555ffabe08eefdd</id>
<content type='text'>
The V4L2_SEL_TGT_NATIVE_SIZE target is used to denote e.g. the size of a
sensor's pixel array.

Signed-off-by: Sakari Ailus &lt;sakari.ailus@iki.fi&gt;
Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The V4L2_SEL_TGT_NATIVE_SIZE target is used to denote e.g. the size of a
sensor's pixel array.

Signed-off-by: Sakari Ailus &lt;sakari.ailus@iki.fi&gt;
Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[media] v4l2-common.h: remove __user annotation in struct v4l2_edid</title>
<updated>2014-04-16T21:20:02+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hans.verkuil@cisco.com</email>
</author>
<published>2014-03-17T12:54:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2dd477dbeb53937213d741db53110ac39ca245d1'/>
<id>2dd477dbeb53937213d741db53110ac39ca245d1</id>
<content type='text'>
The edid array is copied to kernelspace by the v4l2 core, so drivers
shouldn't see the __user annotation. This conforms to other structs like
v4l2_ext_controls where the data pointed to is copied to from user to
kernelspace.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The edid array is copied to kernelspace by the v4l2 core, so drivers
shouldn't see the __user annotation. This conforms to other structs like
v4l2_ext_controls where the data pointed to is copied to from user to
kernelspace.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[media] v4l2-common: fix warning when used on userpace</title>
<updated>2014-04-06T14:06:37+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>m.chehab@samsung.com</email>
</author>
<published>2014-04-06T13:48:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=773bcf8c9ce04c62c513182620efb729c97452fc'/>
<id>773bcf8c9ce04c62c513182620efb729c97452fc</id>
<content type='text'>
As reported by Linus, make headers_check is reporting:
   usr/include/linux/v4l2-common.h:72: found __[us]{8,16,32,64} type without #include &lt;linux/types.h&gt;

   which seems to have come in through commits 777f4f85b75f1 and
   254a47770163f.

That happens because struct v4l2_edid should be visible by both
subdev and V4L2 APIs. So, it was moved to v4l2-common.h.

As Linus pointed, the proper fix is to just add an include for
linux/types.h at v4l2-common.h.

Reported-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As reported by Linus, make headers_check is reporting:
   usr/include/linux/v4l2-common.h:72: found __[us]{8,16,32,64} type without #include &lt;linux/types.h&gt;

   which seems to have come in through commits 777f4f85b75f1 and
   254a47770163f.

That happens because struct v4l2_edid should be visible by both
subdev and V4L2 APIs. So, it was moved to v4l2-common.h.

As Linus pointed, the proper fix is to just add an include for
linux/types.h at v4l2-common.h.

Reported-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[media] v4l2: allow v4l2_subdev_edid to be used with video nodes</title>
<updated>2014-03-11T13:05:53+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hans.verkuil@cisco.com</email>
</author>
<published>2014-03-04T10:46:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=254a47770163f9322333660ebdabf99ba49873da'/>
<id>254a47770163f9322333660ebdabf99ba49873da</id>
<content type='text'>
Struct v4l2_subdev_edid and the VIDIOC_SUBDEV_G/S_EDID ioctls were
specific for subdevices, but for hardware with a simple video pipeline
you do not need/want to create subdevice nodes to just get/set the EDID.

Move the v4l2_subdev_edid struct to v4l2-common.h and rename as
v4l2_edid. Add the same ioctls to videodev2.h as well, thus allowing
this API to be used with both video nodes and v4l-subdev nodes.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Acked-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Struct v4l2_subdev_edid and the VIDIOC_SUBDEV_G/S_EDID ioctls were
specific for subdevices, but for hardware with a simple video pipeline
you do not need/want to create subdevice nodes to just get/set the EDID.

Move the v4l2_subdev_edid struct to v4l2-common.h and rename as
v4l2_edid. Add the same ioctls to videodev2.h as well, thus allowing
this API to be used with both video nodes and v4l-subdev nodes.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Acked-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>UAPI: (Scripted) Disintegrate include/linux</title>
<updated>2012-10-13T09:46:48+00:00</updated>
<author>
<name>David Howells</name>
<email>dhowells@redhat.com</email>
</author>
<published>2012-10-13T09:46:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=607ca46e97a1b6594b29647d98a32d545c24bdff'/>
<id>607ca46e97a1b6594b29647d98a32d545c24bdff</id>
<content type='text'>
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Acked-by: Michael Kerrisk &lt;mtk.manpages@gmail.com&gt;
Acked-by: Paul E. McKenney &lt;paulmck@linux.vnet.ibm.com&gt;
Acked-by: Dave Jones &lt;davej@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Acked-by: Michael Kerrisk &lt;mtk.manpages@gmail.com&gt;
Acked-by: Paul E. McKenney &lt;paulmck@linux.vnet.ibm.com&gt;
Acked-by: Dave Jones &lt;davej@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
