public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [REVIEWv3 PATCH 00/17] vb2: fixes, balancing callbacks (PART 1)
@ 2014-02-28 17:41 Hans Verkuil
  2014-02-28 17:41 ` [REVIEWv3 PATCH 01/17] vb2: Check if there are buffers before streamon Hans Verkuil
                   ` (16 more replies)
  0 siblings, 17 replies; 27+ messages in thread
From: Hans Verkuil @ 2014-02-28 17:41 UTC (permalink / raw)
  To: linux-media; +Cc: pawel, s.nawrocki, m.szyprowski, laurent.pinchart

This third version incorporates the comments I received, and I also made
some additional changes.

Changes since REVIEWv2:

- the patches regarding the buf_finish changes were reorganized. Laurent
  pointed out a bug in patch 07/15 that is fixed here by adding the
  buf_finish call to __queue_cancel instead of messing around with __dqbuf.
  Basically the original patches 5-7 have been replaced by new ones that
  do things in a much more understandable order.

- patch 12/15 was partially wrong. The __reqbufs change was correct,
  but calling the finish memop wasn't. That is something that will be
  necessary later when we add dmabuf support for vb2-dma-sg, but for
  now it is simply wrong. It had crept in inadvertently so I just dropped
  that part of the patch.

- I've added patch 15/17: while it doesn't seem to lead to a real bug,
  it is fishy nevertheless. Just don't call buf_finish until the buffer
  is in the right state.

- I've also added patch 17/17 because without it the v4l2-compliance
  tool bails out early and never gets to the streaming tests.

Ignore patches 1-3: the first is already merged in 3.14, and 2 and 3
are about to be merged in 3.14. But you need them for some follow-up
patches.

Regards,

        Hans




^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2014-03-03 11:22 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-28 17:41 [REVIEWv3 PATCH 00/17] vb2: fixes, balancing callbacks (PART 1) Hans Verkuil
2014-02-28 17:41 ` [REVIEWv3 PATCH 01/17] vb2: Check if there are buffers before streamon Hans Verkuil
2014-03-03  4:19   ` Pawel Osciak
2014-02-28 17:42 ` [REVIEWv3 PATCH 02/17] vb2: fix read/write regression Hans Verkuil
2014-02-28 17:42 ` [REVIEWv3 PATCH 03/17] vb2: fix PREPARE_BUF regression Hans Verkuil
2014-03-03  4:21   ` Pawel Osciak
2014-02-28 17:42 ` [REVIEWv3 PATCH 04/17] vb2: add debugging code to check for unbalanced ops Hans Verkuil
2014-02-28 17:42 ` [REVIEWv3 PATCH 05/17] vb2: change result code of buf_finish to void Hans Verkuil
2014-03-03 11:14   ` Laurent Pinchart
2014-02-28 17:42 ` [REVIEWv3 PATCH 06/17] vb2: call buf_finish from __queue_cancel Hans Verkuil
2014-03-03  6:28   ` Sakari Ailus
2014-03-03  7:19     ` Sakari Ailus
2014-03-03 11:24   ` Laurent Pinchart
2014-02-28 17:42 ` [REVIEWv3 PATCH 07/17] vb2: consistent usage of periods in videobuf2-core.h Hans Verkuil
2014-02-28 17:42 ` [REVIEWv3 PATCH 08/17] vb2: fix buf_init/buf_cleanup call sequences Hans Verkuil
2014-02-28 17:42 ` [REVIEWv3 PATCH 09/17] vb2: rename queued_count to owned_by_drv_count Hans Verkuil
2014-02-28 17:42 ` [REVIEWv3 PATCH 10/17] vb2: don't init the list if there are still buffers Hans Verkuil
2014-02-28 17:42 ` [REVIEWv3 PATCH 11/17] vb2: only call start_streaming if sufficient buffers are queued Hans Verkuil
2014-02-28 17:42 ` [REVIEWv3 PATCH 12/17] vb2: properly clean up PREPARED and QUEUED buffers Hans Verkuil
2014-03-03  7:12   ` Sakari Ailus
2014-02-28 17:42 ` [REVIEWv3 PATCH 13/17] vb2: replace BUG by WARN_ON Hans Verkuil
2014-03-03  7:19   ` Sakari Ailus
2014-02-28 17:42 ` [REVIEWv3 PATCH 14/17] vb2: fix streamoff handling if streamon wasn't called Hans Verkuil
2014-02-28 17:42 ` [REVIEWv3 PATCH 15/17] vb2: call buf_finish after the state check Hans Verkuil
2014-03-03  7:21   ` Sakari Ailus
2014-02-28 17:42 ` [REVIEWv3 PATCH 16/17] vivi: correctly cleanup after a start_streaming failure Hans Verkuil
2014-02-28 17:42 ` [REVIEWv3 PATCH 17/17] vivi: fix ENUM_FRAMEINTERVALS implementation Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox