<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/video/omap, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-02-13T18:32:12Z</updated>
<entry>
<title>media: omap_vout: Fix a possible null pointer dereference in omap_vout_open()</title>
<updated>2018-02-13T18:32:12Z</updated>
<author>
<name>Markus Elfring</name>
</author>
<published>2017-09-24T09:00:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=51c3c7a7a2d8c513d55d5f0a351a88f192ff8003'/>
<id>urn:sha1:51c3c7a7a2d8c513d55d5f0a351a88f192ff8003</id>
<content type='text'>
commit bfba2b3e21b9426c0f9aca00f3cad8631b2da170 upstream.

Move a debug message so that a null pointer access can not happen
for the variable "vout" in this function.

Fixes: 5c7ab6348e7b3fcca2b8ee548306c774472971e2 ("V4L/DVB: V4L2: Add support for OMAP2/3 V4L2 display driver on top of DSS2")

Signed-off-by: Markus Elfring &lt;elfring@users.sourceforge.net&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
[bwh: Backported to 3.2: adjust filename]
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>omap_vout: find_vma() needs -&gt;mmap_sem held</title>
<updated>2013-03-06T03:22:35Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2012-12-16T19:04:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5a82145cb978983b79993ee1d0b1982f3b80cd9b'/>
<id>urn:sha1:5a82145cb978983b79993ee1d0b1982f3b80cd9b</id>
<content type='text'>
commit 55ee64b30a38d688232e5eb2860467dddc493573 upstream.

Walking rbtree while it's modified is a Bad Idea(tm); besides,
the result of find_vma() can be freed just as it's getting returned
to caller.  Fortunately, it's easy to fix - just take -&gt;mmap_sem a bit
earlier (and don't bother with find_vma() at all if virtp &gt;= PAGE_OFFSET -
in that case we don't even look at its result).

While we are at it, what prevents VIDIOC_PREPARE_BUF calling
v4l_prepare_buf() -&gt; (e.g) vb2_ioctl_prepare_buf() -&gt; vb2_prepare_buf() -&gt;
__buf_prepare() -&gt; __qbuf_userptr() -&gt; vb2_vmalloc_get_userptr() -&gt; find_vma(),
AFAICS without having taken -&gt;mmap_sem anywhere in process?  The code flow
is bloody convoluted and depends on a bunch of things done by initialization,
so I certainly might've missed something...

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Cc: Sakari Ailus &lt;sakari.ailus@iki.fi&gt;
Cc: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Cc: Archit Taneja &lt;archit@ti.com&gt;
Cc: Prabhakar Lad &lt;prabhakar.lad@ti.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
[bwh: Backported to 3.2: adjust filename]
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>[media] omap_vout: Fix compile error in 3.1</title>
<updated>2011-12-11T11:08:32Z</updated>
<author>
<name>Gary Thomas</name>
</author>
<published>2011-12-01T11:51:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d1ee8878a142f81ea1b40d602c6360b752829437'/>
<id>urn:sha1:d1ee8878a142f81ea1b40d602c6360b752829437</id>
<content type='text'>
This patch is against the mainline v3.1 release (c3b92c8) and
fixes a compile error when building for OMAP3+DSS+VOUT

Acked-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Gary Thomas &lt;gary@mlbassoc.com&gt;
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] omap_vout: fix crash if no driver for a display</title>
<updated>2011-12-07T13:12:40Z</updated>
<author>
<name>Tomi Valkeinen</name>
</author>
<published>2011-11-14T07:28:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=71c7a97289571ef5246b7f20d60b44961144c82f'/>
<id>urn:sha1:71c7a97289571ef5246b7f20d60b44961144c82f</id>
<content type='text'>
omap_vout crashes on start if a corresponding driver is not loaded for a
display device.

This patch changes omap_vout init sequence to skip devices without a
driver.

Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
Acked-by: Vaibhav Hiremath &lt;hvaibhav@ti.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] omap_vout: Add poll() support</title>
<updated>2011-11-03T20:33:53Z</updated>
<author>
<name>Laurent Pinchart</name>
</author>
<published>2011-01-21T00:15:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=94f3f48f90f77e3bfcafce9b259086cfebcd166d'/>
<id>urn:sha1:94f3f48f90f77e3bfcafce9b259086cfebcd166d</id>
<content type='text'>
Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Acked-by: Vaibhav Hiremath &lt;hvaibhav@ti.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-florian' of git://gitorious.org/linux-omap-dss2/linux into fbdev-next</title>
<updated>2011-10-15T00:19:52Z</updated>
<author>
<name>Florian Tobias Schandinat</name>
</author>
<published>2011-10-15T00:19:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef26b7943c5821aaff1efc14c098840c49fe15c0'/>
<id>urn:sha1:ef26b7943c5821aaff1efc14c098840c49fe15c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>OMAPDSS/OMAP_VOUT: Fix incorrect OMAP3-alpha compatibility setting</title>
<updated>2011-10-03T13:51:54Z</updated>
<author>
<name>Archit Taneja</name>
</author>
<published>2011-09-26T06:17:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=11354dd58da1134ec9c96b65104e5cf2d50e1eb9'/>
<id>urn:sha1:11354dd58da1134ec9c96b65104e5cf2d50e1eb9</id>
<content type='text'>
On OMAP3, in order to enable alpha blending for LCD and TV managers, we needed
to set LCDALPHABLENDERENABLE/TVALPHABLENDERENABLE bits in DISPC_CONFIG. On
OMAP4, alpha blending is always enabled by default, if the above bits are set,
we switch to an OMAP3 compatibility mode where the zorder values in the pipeline
attribute registers are ignored and a fixed priority is configured.

Rename the manager_info member "alpha_enabled" to "partial_alpha_enabled" for
more clarity. Introduce two dss_features FEAT_ALPHA_FIXED_ZORDER and
FEAT_ALPHA_FREE_ZORDER which represent OMAP3-alpha compatibility mode and OMAP4
alpha mode respectively. Introduce an overlay cap for ZORDER. The DSS2 user is
expected to check for the ZORDER cap, if an overlay doesn't have this cap, the
user is expected to set the parameter partial_alpha_enabled. If the overlay has
ZORDER cap, the DSS2 user can assume that alpha blending is already enabled.

Don't support OMAP3 compatibility mode for now. Trying to read/write to
alpha_blending_enabled sysfs attribute issues a warning for OMAP4 and does not
set the LCDALPHABLENDERENABLE/TVALPHABLENDERENABLE bits.

Change alpha_enabled to partial_alpha_enabled in the omap_vout driver. Use
overlay cap "OMAP_DSS_OVL_CAP_GLOBAL_ALPHA" to check if overlay supports alpha
blending or not. Replace this with checks for VIDEO1 pipeline.

Cc: linux-media@vger.kernel.org
Cc: Lajos Molnar &lt;molnar@ti.com&gt;
Signed-off-by: Archit Taneja &lt;archit@ti.com&gt;
Acked-by: Vaibhav Hiremath &lt;hvaibhav@ti.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
</content>
</entry>
<entry>
<title>OMAPDSS: remove vaddr from overlay info</title>
<updated>2011-09-30T13:17:32Z</updated>
<author>
<name>Tomi Valkeinen</name>
</author>
<published>2011-09-26T16:16:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=212b0d50e2eb7fc60f7bea1e90e5867b5fc0647d'/>
<id>urn:sha1:212b0d50e2eb7fc60f7bea1e90e5867b5fc0647d</id>
<content type='text'>
overlay_info struct, used to configure overlays, currently includes both
physical and virtual addresses for the pixels. The vaddr was added to
support more exotic configurations where CPU would be used to update a
display, but it is not currently used and there has been no interest in
the feature. Using CPU to update a screen is also less interesting now
that OMAP4 has two LCD outputs.

This patch removes the vaddr field, and modifies the users of omapdss
accordingly. This makes the use of omapdss a bit simpler, as the user
doesn't need to think if it needs to give the vaddr.

Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
</content>
</entry>
<entry>
<title>[media] OMAP_VOUT: Fix build break caused by update_mode removal in DSS2</title>
<updated>2011-09-22T01:16:08Z</updated>
<author>
<name>archit taneja</name>
</author>
<published>2011-08-05T07:19:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5ebbf72dc51bd3b481aa91fea37a7157da5fc548'/>
<id>urn:sha1:5ebbf72dc51bd3b481aa91fea37a7157da5fc548</id>
<content type='text'>
The DSS2 driver does not support the configuration of the update_mode of a
panel anymore. Remove the setting of update_mode done in omap_vout_probe().
Ignore configuration of TE since omap_vout driver doesn't support manual update
displays anyway.

Signed-off-by: Archit Taneja &lt;archit@ti.com&gt;
Tested-by: Koen Kooi &lt;koen@dominion.thruhere.net&gt;
Signed-off-by: Vaibhav Hiremath &lt;hvaibhav@ti.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] V4l2: OMAP: VOUT: Minor Cleanup, removing the unnecessary code</title>
<updated>2011-07-27T20:56:06Z</updated>
<author>
<name>Amber Jain</name>
</author>
<published>2011-04-19T12:23:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=118314c0169f25b1456232def5ca48d15e5036f0'/>
<id>urn:sha1:118314c0169f25b1456232def5ca48d15e5036f0</id>
<content type='text'>
Minor changes to remove the unused code from omap_vout driver.

Signed-off-by: Amber Jain &lt;amber@ti.com&gt;
Signed-off-by: Samreen &lt;samreen@ti.com&gt;
Signed-off-by: Vaibhav Hiremath &lt;hvaibhav@ti.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
</feed>
