]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00160878-1 mxc v4l2 output: new mxc v4l2 output driver based on videobuf
authorJason Chen <b02280@freescale.com>
Thu, 27 Oct 2011 02:31:51 +0000 (10:31 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:09:55 +0000 (14:09 +0200)
commite1ca99aa5460a90e1f98170eff15d6d742ff9b4e
tree61f5019da4aeab9a8a03843dfc73134dffb70768
parent1fde85672abe2416f3ba74bdbfd11f0997737d6f
ENGR00160878-1 mxc v4l2 output: new mxc v4l2 output driver based on videobuf

This new v4l2 output driver is based on videobuf, using dma contig alloc method.
It creates video dev node for each display framebuffer begin from /dev/video16
by default.
If need post-processing, this driver will do it by ipu pp driver which support:
 - resizing
 - CSC
 - rotate
 - deinterlacing
If no need post-processing, the IPU IC will be bypassed as old driver, the
buf will be set to fb buffer directly by crack fb smem_start.
The user should do setting before streamon like below:
1. set output crop
2. set ctrl like rotate/vflip/hflip/deinterlacing motion
3. set fmt
4. reqbuf

The new features compare to old driver:
 - support multi-instance
 - support user point buffer
 - runtime suspend/resume
For suspend/resume, still has chance to meet issue on mx6q, will fix later.

This patch for head file.

Signed-off-by: Jason Chen <b02280@freescale.com>
include/linux/mxc_v4l2.h