<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/media/common, branch master</title>
<subtitle>Linux Kernel</subtitle>
<id>https://git.etezian.org/cgit.cgi/linux.git/atom?h=master</id>
<link rel='self' href='https://git.etezian.org/cgit.cgi/linux.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/'/>
<updated>2016-11-29T14:12:13+00:00</updated>
<entry>
<title>[media] v4l2-tpg: Init hv_enc field with a valid value</title>
<updated>2016-11-29T14:12:13+00:00</updated>
<author>
<name>Ricardo Ribalda</name>
<email>ricardo.ribalda@gmail.com</email>
</author>
<published>2016-11-15T12:06:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=94868d612fd917487a6c9a4b08b578031db3e717'/>
<id>urn:sha1:94868d612fd917487a6c9a4b08b578031db3e717</id>
<content type='text'>
Zero is not a valid value for hsv_enc. Set the field to a valid
initial value.

This is not a problem for vivid, because it sets the field to 180 via
tpg_s_hsv_enc() on the control initialization, but it might be a source
of errors for other drivers that use this code.

Signed-off-by: Ricardo Ribalda Delgado &lt;ricardo.ribalda@gmail.com&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] saa7146: Fix for while releasing video buffers</title>
<updated>2016-11-23T21:52:12+00:00</updated>
<author>
<name>Andrey Utkin</name>
<email>andrey_utkin@fastmail.com</email>
</author>
<published>2016-10-17T19:25:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=59eba2d1ec0272ea9cb472b5805e179242df226d'/>
<id>urn:sha1:59eba2d1ec0272ea9cb472b5805e179242df226d</id>
<content type='text'>
Fix this bug:
	"[BUG] process stuck when closing saa7146 [dvb_ttpci]"

Release queued DMA buffers when ending streaming, so that
videobuf_waiton() doesn't block forever.

As reported, this fixes avoids occasional lockup of process reading from
video device, which manifests in such log:

INFO: task ffmpeg:9864 blocked for more than 120 seconds.
      Tainted: P           O    4.6.7 #3
"echo 0 &gt; /proc/sys/kernel/hung_task_timeout_secs" disables this message.
ffmpeg          D ffff880177cc7b00     0  9864      1 0x00000000
 ffff880177cc7b00 0000000000000202 0000000000000202 ffffffff8180b4c0
 ffff88019d79e4c0 ffffffff81064050 ffff880177cc7ae0 ffff880177cc8000
 ffff880177cc7b18 ffff8801fd41d648 ffff8802307acca0 ffff8802307acc70
Call Trace:
 [&lt;ffffffff81064050&gt;] ? preempt_count_add+0x89/0xab
 [&lt;ffffffff81477215&gt;] schedule+0x86/0x9e
 [&lt;ffffffff81477215&gt;] ? schedule+0x86/0x9e
 [&lt;ffffffffa0fe1c96&gt;] videobuf_waiton+0x131/0x15e [videobuf_core]
 [&lt;ffffffff8107727b&gt;] ? wait_woken+0x6d/0x6d
 [&lt;ffffffffa1017be9&gt;] saa7146_dma_free+0x39/0x5b [saa7146_vv]
 [&lt;ffffffffa10186c4&gt;] buffer_release+0x2a/0x3e [saa7146_vv]
 [&lt;ffffffffa0fee4a8&gt;] videobuf_vm_close+0xd8/0x103 [videobuf_dma_sg]
 [&lt;ffffffff8112049e&gt;] remove_vma+0x25/0x4d
 [&lt;ffffffff81121a32&gt;] exit_mmap+0xce/0xf7
 [&lt;ffffffff8104381d&gt;] mmput+0x4e/0xe2
 [&lt;ffffffff810491fd&gt;] do_exit+0x372/0x920
 [&lt;ffffffff81049813&gt;] do_group_exit+0x3c/0x98
 [&lt;ffffffff810522ef&gt;] get_signal+0x4e8/0x56e
 [&lt;ffffffff810710a5&gt;] ? task_dead_fair+0xd/0xf
 [&lt;ffffffff81017020&gt;] do_signal+0x23/0x521
 [&lt;ffffffff81479e82&gt;] ? _raw_spin_unlock_irqrestore+0x13/0x25
 [&lt;ffffffff8109710d&gt;] ? hrtimer_try_to_cancel+0xd7/0x104
 [&lt;ffffffff8109b306&gt;] ? ktime_get+0x4c/0xa1
 [&lt;ffffffff81096ea6&gt;] ? update_rmtp+0x46/0x5b
 [&lt;ffffffff81097ce0&gt;] ? hrtimer_nanosleep+0xe4/0x10e
 [&lt;ffffffff81096e3c&gt;] ? hrtimer_init+0xeb/0xeb
 [&lt;ffffffff810014f8&gt;] exit_to_usermode_loop+0x4f/0x93
 [&lt;ffffffff810019fe&gt;] syscall_return_slowpath+0x3b/0x46
 [&lt;ffffffff8147a355&gt;] entry_SYSCALL_64_fastpath+0x8d/0x8f

Reported-by: Philipp Matthias Hahn &lt;pmhahn+video@pmhahn.de&gt;
Tested-by: Philipp Matthias Hahn &lt;pmhahn+video@pmhahn.de&gt;
Signed-off-by: Andrey Utkin &lt;andrey_utkin@fastmail.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] dvb: make DVB frontend *_ops instances "const"</title>
<updated>2016-11-18T17:00:22+00:00</updated>
<author>
<name>Max Kellermann</name>
<email>max.kellermann@gmail.com</email>
</author>
<published>2016-08-09T21:32:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=bd336e63441bcdeeccca6a698087d913a32478c5'/>
<id>urn:sha1:bd336e63441bcdeeccca6a698087d913a32478c5</id>
<content type='text'>
These are immutable.  Making them "const" allows the compiler to move
them to the "rodata" section.

Note that cxd2841er_t_c_ops cannot be made "const", because
cxd2841er_attach() modifies it.  Ouch!

[mchehab@s-opensource.com: fix merge conflicts]
Signed-off-by: Max Kellermann &lt;max.kellermann@gmail.com&gt;

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] tveeprom: print log messages using pr_foo()</title>
<updated>2016-11-18T12:13:11+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@s-opensource.com</email>
</author>
<published>2016-11-16T16:21:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=6037b3ca28f4258d913dbe77248fd77827702ae3'/>
<id>urn:sha1:6037b3ca28f4258d913dbe77248fd77827702ae3</id>
<content type='text'>
Unfortunately, the callers of tveeprom don't do the right
thing to initialize the device. So, it produces log messages
like:

[  267.533010]  (null): Hauppauge model 42012, rev C186, serial# 2819348
[  267.533012]  (null): tuner model is Philips FQ1236 MK3 (idx 86, type 43)
[  267.533013]  (null): TV standards NTSC(M) (eeprom 0x08)
[  267.533014]  (null): audio processor is MSP3445 (idx 12)
[  267.533015]  (null): has radio

So, replace it to pr_foo(), as it should work fine.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] vivid: Add support for HSV encoding</title>
<updated>2016-10-21T17:54:16+00:00</updated>
<author>
<name>Ricardo Ribalda Delgado</name>
<email>ricardo.ribalda@gmail.com</email>
</author>
<published>2016-07-18T12:16:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=429175e41f01419ad81f144acabb09be904682cd'/>
<id>urn:sha1:429175e41f01419ad81f144acabb09be904682cd</id>
<content type='text'>
Support HSV encoding. Most of the logic is replicated from ycbcr_enc.

Signed-off-by: Ricardo Ribalda Delgado &lt;ricardo.ribalda@gmail.com&gt;
Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] vivid: Local optimization</title>
<updated>2016-10-21T17:51:23+00:00</updated>
<author>
<name>Ricardo Ribalda Delgado</name>
<email>ricardo.ribalda@gmail.com</email>
</author>
<published>2016-07-16T09:34:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=f1eb926d1d79a210c8a2bac2f0438163f436a077'/>
<id>urn:sha1:f1eb926d1d79a210c8a2bac2f0438163f436a077</id>
<content type='text'>
Avoid duplicated clamps when possible.

Suggested-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
Signed-off-by: Ricardo Ribalda Delgado &lt;ricardo.ribalda@gmail.com&gt;
Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] vivid: Fix YUV555 and YUV565 handling</title>
<updated>2016-10-21T17:50:58+00:00</updated>
<author>
<name>Ricardo Ribalda Delgado</name>
<email>ricardo.ribalda@gmail.com</email>
</author>
<published>2016-07-16T09:26:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=7a20f3985fb6eb74c93e5f36cf1d375a3b013d77'/>
<id>urn:sha1:7a20f3985fb6eb74c93e5f36cf1d375a3b013d77</id>
<content type='text'>
precalculate_color() had a optimization that avoided duplicated
conversion for YUV formats. This optimization did not take into
consideration YUV444, YUV555, YUV565 or limited range quantization.

This patch keeps the optimization, but fixes the wrong handling.

Signed-off-by: Ricardo Ribalda Delgado &lt;ricardo.ribalda@gmail.com&gt;
Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] vivid: Introduce TPG_COLOR_ENC_LUMA</title>
<updated>2016-10-21T17:50:27+00:00</updated>
<author>
<name>Ricardo Ribalda Delgado</name>
<email>ricardo.ribalda@gmail.com</email>
</author>
<published>2016-07-16T08:58:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=ca2b32da5988159d4d997aac9e4a87447046aedf'/>
<id>urn:sha1:ca2b32da5988159d4d997aac9e4a87447046aedf</id>
<content type='text'>
Simplifies handling of Gray formats.

Signed-off-by: Ricardo Ribalda Delgado &lt;ricardo.ribalda@gmail.com&gt;
Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] vivid: Rename variable</title>
<updated>2016-10-21T17:49:46+00:00</updated>
<author>
<name>Ricardo Ribalda Delgado</name>
<email>ricardo.ribalda@gmail.com</email>
</author>
<published>2016-07-15T13:21:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=25e90073497b94c3469f083cc0c66563c18c0788'/>
<id>urn:sha1:25e90073497b94c3469f083cc0c66563c18c0788</id>
<content type='text'>
r_y and g_u now also contain the H and V components on the HSV formats.
Rename the variables to reflect this.

Signed-off-by: Ricardo Ribalda Delgado &lt;ricardo.ribalda@gmail.com&gt;
Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] vivid: Add support for HSV formats</title>
<updated>2016-10-21T17:49:14+00:00</updated>
<author>
<name>Ricardo Ribalda Delgado</name>
<email>ricardo.ribalda@gmail.com</email>
</author>
<published>2016-07-15T13:20:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=54fb15348385a1acf5a7bc1417bdd94c9d5115bb'/>
<id>urn:sha1:54fb15348385a1acf5a7bc1417bdd94c9d5115bb</id>
<content type='text'>
This patch adds support for V4L2_PIX_FMT_HSV24 and V4L2_PIX_FMT_HSV32.

Signed-off-by: Ricardo Ribalda Delgado &lt;ricardo.ribalda@gmail.com&gt;
Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
</feed>
