Re: [PATCH 5/7] v4l: videobuf2: add read() and write() emulator

2010-11-25 Thread Hans Verkuil
On Friday, November 19, 2010 16:55:42 Marek Szyprowski wrote: Add a generic file io (read and write) emulator for videobuf2. It uses MMAP memory type buffers and generic vb2 calls: req_bufs, qbuf and dqbuf. Video date is being copied from mmap buffers to userspace with standard copy_to_user()

[PATCH 5/7] v4l: videobuf2: add read() and write() emulator

2010-11-19 Thread Marek Szyprowski
Add a generic file io (read and write) emulator for videobuf2. It uses MMAP memory type buffers and generic vb2 calls: req_bufs, qbuf and dqbuf. Video date is being copied from mmap buffers to userspace with standard copy_to_user() function. To add support for file io the driver needs to provide

[PATCH 5/7] v4l: videobuf2: add read() and write() emulator

2010-11-17 Thread Marek Szyprowski
Add a generic file io (read and write) emulator for videobuf2. It uses MMAP memory type buffers and generic vb2 calls: req_bufs, qbuf and dqbuf. Video date is being copied from mmap buffers to userspace with standard copy_to_user() function. To add support for file io the driver needs to provide