Hello, This is an updated version of s5p-fimc videobuf2 patches. I'm sending them on behalf of Sylwester. The patches has been updated to latest videobuf2 v6 api changes. Here is the original cover letter from Sylwester: The following patches are example of porting real v4l2 mem2mem and capture driver onto new videobuf 2. The first patch converts v4l2-mem2mem framework. Patch 2/4 converts s5p-fimc, both m2m and camera capture interface drivers. Except that it creates separate videobuf queue operation callback set for the m2m and capture video nodes. The third patch is na example of using in the driver the multiplane formats extension, which was posted by Pawel Osciak some time ago. The details of the multiplanar extension can be found here: https://patchwork.kernel.org/project/linux-media/list/?=osciak&submitter=4290&state=*&q=v6&archive=both The driver implements only *_mplane ioctl handlers so in case of standard non-multiplane V4L2 application the buffers are converted on the fly in v4l2 ioctl handling code. The last patch just cleans up the driver by removing all locking from ioctl and file operation handlers and using v4l core lock. The patch series contains: [PATCH 1/4] v4l: mem2mem: port to videobuf2 [PATCH 2/4] [media] s5p-fimc: Porting to videobuf 2 [PATCH 3/4] [media] s5p-fimc: Conversion to multiplanar formats [PATCH 4/4] [media] s5p-fimc: Use v4l core mutex in ioctl and file operations Full source tree containing the above patches as well as videobuf2, multiplane extensions, CMA allocator and S5P MFC (video codec) driver will be available within few hours at: http://git.infradead.org/users/kmpark/linux-2.6-samsung/shortlog/refs/heads/vb2-mfc-fimc The tree is based on 2.6.37-rc4. This is rather an initial version of vb2 and the drivers using it and we are expecting further (minor) changes in vb2. Nevertheless any comments at that point would be greatly appreciated. Thanks, Sylwester ---- Patch summary: Marek Szyprowski (1): v4l: mem2mem: port to videobuf2 Sylwester Nawrocki (3): [media] s5p-fimc: Porting to videobuf 2 [media] s5p-fimc: Conversion to multiplanar formats [media] s5p-fimc: Use v4l core mutex in ioctl and file operations drivers/media/video/Kconfig | 4 +- drivers/media/video/s5p-fimc/fimc-capture.c | 469 ++++++++++--------- drivers/media/video/s5p-fimc/fimc-core.c | 674 +++++++++++++-------------- drivers/media/video/s5p-fimc/fimc-core.h | 84 ++-- drivers/media/video/s5p-fimc/fimc-reg.c | 14 +- drivers/media/video/v4l2-mem2mem.c | 231 +++++----- include/media/v4l2-mem2mem.h | 59 ++- 7 files changed, 786 insertions(+), 749 deletions(-) Best regards -- Marek Szyprowski Samsung Poland R&D Center -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html