diff options
author | Tuukka Toivonen <tuukka.o.toivonen@nokia.com> | 2009-07-23 15:56:25 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 21:40:40 +0100 |
commit | 7cbefad085c9112d0b1814db18423e5da072f5c8 (patch) | |
tree | 0cfe7890db3e487f45255a1ea4e790c381823cf6 /drivers/media/video/tvaudio.c | |
parent | V4L/DVB (13164): DocBook/dvb: Starts documenting DVBS2API ioctls (diff) | |
download | linux-7cbefad085c9112d0b1814db18423e5da072f5c8.tar.xz linux-7cbefad085c9112d0b1814db18423e5da072f5c8.zip |
V4L/DVB (13165): videobuf do not force buffer size to be multiple of PAGE_SIZE
When the image size (bytesperline*height) is not multiple
of PAGE_SIZE, v4l2 rounded the required buffer size to
be multiple of PAGE_SIZE. This prevented user space
to store images directly into userptr buffers which were
not multiple of PAGE_SIZE. This constraint is removed.
The start address is still assumed to be required
page-aligned, ie., when v4l2 allocates mmap buffers,
the offset between different buffers is page-aligned.
Signed-off-by: Tuukka Toivonen <tuukka.o.toivonen@nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/tvaudio.c')
0 files changed, 0 insertions, 0 deletions