Florian Echtler
c2529908a1
[media] sur40: fix occasional hard freeze due to buffer queue underrun
...
This patch fixes a kernel panic which occurs when buf_list is empty. This can
happen occasionally when user space is under heavy load (e.g. due to image
processing on the CPU) and new buffers aren't re-queued fast enough. In that
case, vb2_start_streaming_called can return true, but when the spinlock
is taken and sur40_poll attempts to fetch the next buffer from buf_list, the
list is in fact empty.
This patch needs to be applied on top of the queued one adding V4L2 support
to the sur40 driver.
Signed-off-by: Florian Echtler <floe@butterbrot.org >
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com >
2015-04-08 06:28:56 -03:00
..
2014-10-20 16:20:41 +02:00
2014-11-02 00:10:07 -07:00
2012-11-24 00:05:38 -08:00
2013-09-20 09:58:29 -07:00
2014-12-17 10:06:02 -08:00
2011-11-15 22:24:22 -08:00
2014-11-02 00:10:07 -07:00
2014-10-09 15:27:42 -07:00
2014-12-31 12:59:34 -08:00
2014-10-20 16:20:41 +02:00
2014-11-02 00:10:07 -07:00
2012-11-27 23:05:19 -08:00
2014-11-02 00:10:07 -07:00
2014-12-05 02:54:17 +01:00
2013-07-06 21:57:06 -07:00
2013-06-30 21:24:24 -07:00
2013-11-11 00:01:45 -08:00
2014-11-02 00:10:07 -07:00
2013-07-06 21:57:06 -07:00
2013-12-15 02:54:04 -08:00
2013-06-30 21:24:16 -07:00
2013-07-06 21:57:06 -07:00
2014-10-20 16:20:41 +02:00
2014-10-20 16:20:41 +02:00
2014-01-06 23:23:57 -08:00
2014-12-30 16:59:59 -08:00
2014-11-02 00:10:07 -07:00
2014-11-02 00:10:07 -07:00
2014-12-29 14:08:59 -08:00
2014-01-06 23:23:57 -08:00
2014-01-06 23:23:57 -08:00
2014-10-31 09:41:23 -07:00
2014-01-06 23:23:57 -08:00
2014-01-06 23:23:57 -08:00
2012-03-12 22:17:56 -07:00
2013-09-18 07:53:30 -07:00
2014-11-02 00:10:07 -07:00
2014-01-06 23:23:57 -08:00
2014-10-20 16:20:41 +02:00
2014-11-02 00:10:07 -07:00
2014-10-20 16:20:41 +02:00
2015-04-02 21:16:03 -03:00
2014-10-20 16:20:41 +02:00
2014-01-06 23:23:57 -08:00
2014-12-07 23:09:23 -08:00
2014-01-06 23:23:57 -08:00
2014-10-20 16:20:41 +02:00
2014-07-30 22:52:56 -07:00
2012-03-16 23:06:19 -07:00
2010-10-18 11:03:14 +02:00
2014-11-02 00:10:07 -07:00
2014-01-06 23:23:57 -08:00
2014-05-29 00:05:59 -07:00
2014-10-20 16:20:41 +02:00
2014-01-06 23:23:57 -08:00
2015-02-01 11:50:35 -08:00
2014-10-20 16:20:41 +02:00
2014-11-02 00:10:07 -07:00
2014-10-20 16:20:41 +02:00
2015-01-26 23:58:56 -08:00
2015-04-08 06:28:56 -03:00
2015-02-03 11:50:39 -08:00
2014-01-06 23:23:57 -08:00
2014-01-06 23:23:57 -08:00
2014-01-06 23:23:57 -08:00
2014-10-20 16:20:41 +02:00
2014-01-06 23:23:57 -08:00
2014-11-02 00:10:07 -07:00
2013-11-25 18:27:56 -08:00
2014-12-17 10:06:02 -08:00
2014-01-06 23:23:57 -08:00
2014-10-20 16:20:41 +02:00
2014-11-02 00:10:07 -07:00
2014-01-06 23:23:57 -08:00
2014-10-24 17:27:31 -07:00
2014-10-20 16:20:41 +02:00
2011-07-04 19:31:47 -07:00
2014-09-09 16:52:09 -07:00
2014-09-09 16:52:09 -07:00
2014-11-02 00:10:07 -07:00
2014-01-06 23:23:57 -08:00