Hi Mauro,
A bunch of fixes for the davinci driver (found with the new vb2 instrumentation
and kmemleak) and a vb2 fix: the finish memop wasn't called for prepared or
queued buffers. Found with v4l2-compliance and the vb2 instrumentation.
This happens in the corner case where you call QBUF and/or PREPARE_BUF without
ever calling STREAMON, and then the vb2 queue is canceled either by calling
REQBUFS or closing the filehandle.
Regards,
Hans
The following changes since commit 8432164ddf7bfe40748ac49995356ab4dfda43b7:
[media] Sensoray 2255 uses videobuf2 (2014-03-24 17:23:43 -0300)
are available in the git repository at:
git://linuxtv.org/hverkuil/media_tree.git for-v3.15g
for you to fetch changes up to cb49f006c756c5fefe94d4e892d902f44bbfc54d:
vb2: call finish() memop for prepared/queued buffers (2014-03-28 12:38:38
+0100)
----------------------------------------------------------------
Hans Verkuil (1):
vb2: call finish() memop for prepared/queued buffers
Lad, Prabhakar (5):
media: davinci: vpif_capture: fix releasing of active buffers
media: davinci: vpif_display: fix releasing of active buffers
media: davinci: vpbe_display: fix releasing of active buffers
staging: media: davinci: vpfe: make sure all the buffers are released
media: davinci: vpfe: make sure all the buffers unmapped and released
drivers/media/platform/davinci/vpbe_display.c | 16 +++++++++++++++-
drivers/media/platform/davinci/vpfe_capture.c | 2 ++
drivers/media/platform/davinci/vpif_capture.c | 34
+++++++++++++++++++++++-----------
drivers/media/platform/davinci/vpif_display.c | 35
+++++++++++++++++++++++------------
drivers/media/v4l2-core/videobuf2-core.c | 16 +++++++++++++---
drivers/staging/media/davinci_vpfe/vpfe_video.c | 13 +++++++++++--
6 files changed, 87 insertions(+), 29 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html