linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] media: Access videobuf2 buffers via an accessor
@ 2019-06-06 15:44 Ezequiel Garcia
  2019-06-06 15:44 ` [PATCH 1/5] media: vb2: Introduce a vb2_get_buffer accessor Ezequiel Garcia
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Ezequiel Garcia @ 2019-06-06 15:44 UTC (permalink / raw)
  To: linux-media, Hans Verkuil
  Cc: kernel, Boris Brezillon, Kyungmin Park, Marek Szyprowski,
	Pawel Osciak, Ezequiel Garcia

Hi,

This patchset introduces a new vb2_get_buffer accessor and then
uses it on all the drivers that are accessing videobuf2
private buffer array directly.

I'm skipping Intel IPU3 driver here, since the code goes beyond
just accessing the buffer. It also modifies the buffer queue
directly. I believe this driver would need some more cleanup
and love from its maintainers.

Note that OMAP2/OMAP3 display driver is videobuf1 and so not
affected by this change.

Lastly, note that I'm doing the minimum changes to drivers I can't test,
only using the new accessor and avoiding any further changes.
`
Thanks,
Ezequiel

Ezequiel Garcia (5):
  media: vb2: Introduce a vb2_get_buffer accessor
  media: mtk-jpeg: Use vb2_get_buffer
  media: mtk-vcodec: Use vb2_get_buffer
  media: sti: Use vb2_get_buffer
  media: rockchip: Use vb2_get_buffer

 .../media/platform/mtk-jpeg/mtk_jpeg_core.c    |  2 +-
 .../media/platform/mtk-vcodec/mtk_vcodec_enc.c | 12 +++++++++---
 drivers/media/platform/sti/hva/hva-v4l2.c      |  4 +++-
 .../media/rockchip/vpu/rockchip_vpu_drv.c      |  9 ++++++---
 include/media/videobuf2-core.h                 | 18 ++++++++++++++++++
 5 files changed, 37 insertions(+), 8 deletions(-)

-- 
2.20.1


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

end of thread, other threads:[~2019-06-06 19:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-06 15:44 [PATCH 0/5] media: Access videobuf2 buffers via an accessor Ezequiel Garcia
2019-06-06 15:44 ` [PATCH 1/5] media: vb2: Introduce a vb2_get_buffer accessor Ezequiel Garcia
2019-06-06 17:39   ` Boris Brezillon
2019-06-06 15:44 ` [PATCH 2/5] media: mtk-jpeg: Use vb2_get_buffer Ezequiel Garcia
2019-06-06 15:44 ` [PATCH 3/5] media: mtk-vcodec: " Ezequiel Garcia
2019-06-06 15:44 ` [PATCH 4/5] media: sti: " Ezequiel Garcia
2019-06-06 15:44 ` [PATCH 5/5] media: rockchip: " Ezequiel Garcia
2019-06-06 17:43 ` [PATCH 0/5] media: Access videobuf2 buffers via an accessor Boris Brezillon
2019-06-06 18:13   ` Ezequiel Garcia
2019-06-06 19:08     ` Boris Brezillon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).