<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/platform/omap, branch linux-4.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-03-03T14:22:58Z</updated>
<entry>
<title>[media] media: omap/omap_vout: fix type of input members to omap_vout_setup_vrfb_bufs()</title>
<updated>2015-03-03T14:22:58Z</updated>
<author>
<name>Lad, Prabhakar</name>
</author>
<published>2015-02-24T18:25:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac0b2b3072bf81c2047beb39f1db7a7d745f2f99'/>
<id>urn:sha1:ac0b2b3072bf81c2047beb39f1db7a7d745f2f99</id>
<content type='text'>
the declaration for omap_vout_setup_vrfb_bufs() said it
needed 'u32 static_vrfb_allocation' but definition
took 'bool static_vrfb_allocation', this patch fixes the
declaration so that it matches with the definition and
pass a bool instead of int to the call, also included
omap_vout_vrfb.h in omap_vout_vrfb.c file so that sparse doesn't
complain of making omap_vout_setup_vrfb_bufs() as static function.

Signed-off-by: Lad, Prabhakar &lt;prabhakar.csengg@gmail.com&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] omap_vout: fix compile warnings</title>
<updated>2014-12-02T13:35:05Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2014-12-01T11:32:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e8bd888a148cb55a5ba27070fdfeb62386c89577'/>
<id>urn:sha1:e8bd888a148cb55a5ba27070fdfeb62386c89577</id>
<content type='text'>
When compiling under COMPILE_TEST on a x86_64 the following warnings
appear:

drivers/media/platform/omap/omap_vout.c: In function 'omap_vout_uservirt_to_phys':
drivers/media/platform/omap/omap_vout.c:209:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   return virt_to_phys((void *) virtp);
                       ^
drivers/media/platform/omap/omap_vout.c: In function 'omapvid_setup_overlay':
drivers/media/platform/omap/omap_vout.c:420:2: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'dma_addr_t' [-Wformat=]
  v4l2_dbg(1, debug, &amp;vout-&gt;vid_dev-&gt;v4l2_dev,
  ^
drivers/media/platform/omap/omap_vout.c: In function 'omap_vout_buffer_prepare':
drivers/media/platform/omap/omap_vout.c:794:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   vout-&gt;queued_buf_addr[vb-&gt;i] = (u8 *)
                                  ^
In file included from arch/x86/include/asm/dma-mapping.h:44:0,
                 from include/linux/dma-mapping.h:82,
                 from drivers/media/platform/omap/omap_vout.c:40:
drivers/media/platform/omap/omap_vout.c:803:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   dma_addr = dma_map_single(vout-&gt;vid_dev-&gt;v4l2_dev.dev, (void *) addr,
                                                          ^
include/asm-generic/dma-mapping-common.h:174:60: note: in definition of macro 'dma_map_single'
 #define dma_map_single(d, a, s, r) dma_map_single_attrs(d, a, s, r, NULL)
                                                            ^

These are fixed by this patch.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] media/platform: fix querycap</title>
<updated>2014-12-02T13:31:34Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2014-11-24T09:37:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a020c747bf177b96b931ddbb8d87ed6fc800036d'/>
<id>urn:sha1:a020c747bf177b96b931ddbb8d87ed6fc800036d</id>
<content type='text'>
Querycap shouldn't set the version field (the core does that for you),
but it should set the device_caps field.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Cc: Scott Jiang &lt;scott.jiang.linux@gmail.com&gt;
Cc: Gerhard Sittig &lt;gsi@denx.de&gt;
Cc: Jonathan Corbet &lt;corbet@lwn.net&gt;
Cc: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] omap: disable COMPILE_TEST</title>
<updated>2014-11-26T12:27:29Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2014-11-26T01:41:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d7c5925487d6352240be7ef1c4f3a02886688b4b'/>
<id>urn:sha1:d7c5925487d6352240be7ef1c4f3a02886688b4b</id>
<content type='text'>
This causes lots of errors, because of sub-arch specific dependencies:

All error/warnings:

&gt;&gt; ERROR: "omapdss_compat_init" [drivers/media/platform/omap/omap-vout.ko] undefined!
&gt;&gt; ERROR: "omap_dss_get_overlay_manager" [drivers/media/platform/omap/omap-vout.ko] undefined!
&gt;&gt; ERROR: "omap_dss_get_num_overlay_managers" [drivers/media/platform/omap/omap-vout.ko] undefined!
&gt;&gt; ERROR: "omap_dss_get_overlay" [drivers/media/platform/omap/omap-vout.ko] undefined!
&gt;&gt; ERROR: "omapdss_is_initialized" [drivers/media/platform/omap/omap-vout.ko] undefined!
&gt;&gt; ERROR: "omap_dispc_register_isr" [drivers/media/platform/omap/omap-vout.ko] undefined!
&gt;&gt; ERROR: "omapdss_get_version" [drivers/media/platform/omap/omap-vout.ko] undefined!
&gt;&gt; ERROR: "omap_dss_put_device" [drivers/media/platform/omap/omap-vout.ko] undefined!
&gt;&gt; ERROR: "omap_dss_get_next_device" [drivers/media/platform/omap/omap-vout.ko] undefined!
&gt;&gt; ERROR: "omap_dispc_unregister_isr" [drivers/media/platform/omap/omap-vout.ko] undefined!
&gt;&gt; ERROR: "omapdss_compat_uninit" [drivers/media/platform/omap/omap-vout.ko] undefined!
&gt;&gt; ERROR: "omap_dss_get_device" [drivers/media/platform/omap/omap-vout.ko] undefined!
&gt;&gt; ERROR: "omap_dss_get_num_overlays" [drivers/media/platform/omap/omap-vout.ko] undefined!

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] omap: Fix typo "HAS_MMU"</title>
<updated>2014-11-25T15:38:26Z</updated>
<author>
<name>Paul Bolle</name>
</author>
<published>2014-11-24T12:07:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6b213e81ddf8b265383c9a1a1884432df88f701e'/>
<id>urn:sha1:6b213e81ddf8b265383c9a1a1884432df88f701e</id>
<content type='text'>
Commit 38a073116525 ("[media] omap: be sure that MMU is there for
COMPILE_TEST") added a dependency on HAS_MMU. There's no Kconfig symbol
HAS_MMU. Use MMU instead.

Signed-off-by: Paul Bolle &lt;pebolle@tiscali.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] omap: simplify test logic</title>
<updated>2014-09-03T20:59:25Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2014-09-03T18:46:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=160ac0babc0d8c382bdf32db238bf16a3d3fa0a5'/>
<id>urn:sha1:160ac0babc0d8c382bdf32db238bf16a3d3fa0a5</id>
<content type='text'>
instead of testing bools if they are false or true, just use
if (!foo) or if (foo). That makes the code easier to
read and shorter.

Also, properly initialize booleans with true or false.

Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] omap: be sure that MMU is there for COMPILE_TEST</title>
<updated>2014-08-26T21:52:20Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2014-08-26T19:51:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=38a0731165250a0a77eff7b90ea3156d44cc7d66'/>
<id>urn:sha1:38a0731165250a0a77eff7b90ea3156d44cc7d66</id>
<content type='text'>
COMPILE_TEST fail on (some) archs without MMU.

Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] enable COMPILE_TEST for OMAP2 vout</title>
<updated>2014-08-26T21:52:18Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2014-08-20T19:56:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1dbfacf2dd30100ea38181f9cc25feaaa9204630'/>
<id>urn:sha1:1dbfacf2dd30100ea38181f9cc25feaaa9204630</id>
<content type='text'>
We don't need anything special to enable COMPILE_TEST for
this driver.

Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] omap_vout: Get rid of a few warnings</title>
<updated>2014-08-26T21:52:10Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2014-08-26T13:46:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=52334bb3df155e764dd1a9b084115a5a0fa485b6'/>
<id>urn:sha1:52334bb3df155e764dd1a9b084115a5a0fa485b6</id>
<content type='text'>
drivers/media/platform/omap/omap_vout.c: In function 'omapvid_setup_overlay':
drivers/media/platform/omap/omap_vout.c:372:29: warning: variable 'pixheight' set but not used [-Wunused-but-set-variable]
  int cropheight, cropwidth, pixheight, pixwidth;
                             ^
drivers/media/platform/omap/omap_vout.c: In function 'vidioc_s_ctrl':
drivers/media/platform/omap/omap_vout.c:1454:24: warning: variable 'ovl' set but not used [-Wunused-but-set-variable]
   struct omap_overlay *ovl;
                        ^
drivers/media/platform/omap/omap_vout.c: In function 'vidioc_reqbufs':
drivers/media/platform/omap/omap_vout.c:1492:55: warning: comparison of unsigned expression &lt; 0 is always false [-Wtype-limits]
  if ((req-&gt;type != V4L2_BUF_TYPE_VIDEO_OUTPUT) || (req-&gt;count &lt; 0))
                                                       ^

Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] omap: fix compilation if !VIDEO_OMAP2_VOUT_VRFB</title>
<updated>2014-08-26T21:52:05Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2014-08-22T16:11:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=92e3919a49c0ed683ebab8a992eaac331afce8b7'/>
<id>urn:sha1:92e3919a49c0ed683ebab8a992eaac331afce8b7</id>
<content type='text'>
When CONFIG_VIDEO_OMAP2_VOUT_VRFB is disabled, the compilation
will fail, as the function stubs are wrong. Also, as they weren't
declared as static inline, lots of warnings will be generated.

Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</content>
</entry>
</feed>
