1. 15 4月, 2013 1 次提交
  2. 25 3月, 2013 1 次提交
  3. 22 3月, 2013 1 次提交
  4. 06 3月, 2013 1 次提交
  5. 06 2月, 2013 1 次提交
  6. 06 1月, 2013 1 次提交
  7. 21 12月, 2012 1 次提交
  8. 26 11月, 2012 3 次提交
  9. 06 10月, 2012 2 次提交
  10. 27 9月, 2012 2 次提交
  11. 14 8月, 2012 1 次提交
  12. 10 8月, 2012 1 次提交
  13. 31 7月, 2012 1 次提交
  14. 07 7月, 2012 3 次提交
  15. 06 7月, 2012 1 次提交
  16. 14 5月, 2012 1 次提交
  17. 27 3月, 2012 2 次提交
  18. 31 12月, 2011 5 次提交
  19. 08 11月, 2011 3 次提交
  20. 04 11月, 2011 5 次提交
  21. 19 10月, 2011 1 次提交
  22. 07 9月, 2011 2 次提交
    • M
      [media] media: vb2: change queue initialization order · bd323e28
      Marek Szyprowski 提交于
      This patch changes the order of operations during stream on call. Now the
      buffers are first queued to the driver and then the start_streaming method
      is called.
      
      This resolves the most common case when the driver needs to know buffer
      addresses to enable dma engine and start streaming. Additional parameter
      to start_streaming method have been added to simplify drivers code. The
      driver are now obliged to check if the number of queued buffers is high
      enough to enable hardware streaming. If not - it can return an error. In
      such case all the buffers that have been pre-queued are invalidated.
      
      This patch also updates all videobuf2 clients to work properly with the
      changed order of operations.
      Signed-off-by: NMarek Szyprowski <m.szyprowski@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      CC: Pawel Osciak <pawel@osciak.com>
      CC: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
      CC: Hans Verkuil <hverkuil@xs4all.nl>
      CC: Tomasz Stanislawski <t.stanislaws@samsung.com>
      CC: Sylwester Nawrocki <s.nawrocki@samsung.com>
      CC: Kamil Debski <k.debski@samsung.com>
      CC: Jonathan Corbet <corbet@lwn.net>
      CC: Josh Wu <josh.wu@atmel.com>
      CC: Hans de Goede <hdegoede@redhat.com>
      CC: Paul Mundt <lethal@linux-sh.org>
      Tested-by: NJosh Wu <josh.wu@atmel.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      bd323e28
    • M
      [media] media: vb2: fix handling MAPPED buffer flag · 25a27d91
      Marek Szyprowski 提交于
      MAPPED flag was set for the buffer only if all it's planes were mapped and
      relied on a simple mapping counter. This assumption is really bogus,
      especially because the buffers may be mapped multiple times. Also the
      meaning of this flag for muliplane buffers was not really useful. This
      patch fixes this issue by setting the MAPPED flag for the buffer if any of
      it's planes is in use (what means that has been mapped at least once), so
      MAPPED flag can be used as 'in_use' indicator.
      Reported-by: NHans Verkuil <hverkuil@xs4all.nl>
      Signed-off-by: NMarek Szyprowski <m.szyprowski@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      CC: Pawel Osciak <pawel@osciak.com>
      Tested-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      25a27d91