diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-12 13:15:33 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-12 13:15:33 -0300 |
commit | c04ff5d532d9ae99a06936a894a293a3fc806f6a (patch) | |
tree | 2bcfdc4ce135dc92b6697dabdc66b07b4b111465 /linux/arch/sh/boards/board-ap325rxa.c | |
parent | 6ed2bc52272241302be2b6c9f04cbb99abe799d6 (diff) | |
download | mediapointer-dvb-s2-c04ff5d532d9ae99a06936a894a293a3fc806f6a.tar.gz mediapointer-dvb-s2-c04ff5d532d9ae99a06936a894a293a3fc806f6a.tar.bz2 |
backport commit 720b17e759a50635c429ccaa2ec3d01edb4f92d6
From: Mauro Carvalho Chehab <mchehab@redhat.com>
kernel-sync:
Author: Magnus Damm <damm@igel.co.jp>
Date: Tue Jun 16 15:32:36 2009 -0700
videobuf-dma-contig: zero copy USERPTR support
Since videobuf-dma-contig is designed to handle physically contiguous
memory, this patch modifies the videobuf-dma-contig code to only accept a
user space pointer to physically contiguous memory. For now only
VM_PFNMAP vmas are supported, so forget hotplug.
On SuperH Mobile we use this with our sh_mobile_ceu_camera driver together
with various multimedia accelerator blocks that are exported to user space
using UIO. The UIO kernel code exports physically contiguous memory to
user space and lets the user space application mmap() this memory and pass
a pointer using the USERPTR interface for V4L2 zero copy operation.
With this approach we support zero copy capture, hardware scaling and
various forms of hardware encoding and decoding.
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/arch/sh/boards/board-ap325rxa.c')
0 files changed, 0 insertions, 0 deletions