[PATCH] mbxfb: Add YUV video overlay support
authorRaphael Assenat <raph@8d.com>
Fri, 8 Dec 2006 10:40:36 +0000 (02:40 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:29:06 +0000 (08:29 -0800)
commitea465250d41c99b4ee7dac1e6eb87b7106f7b11e
treec9c4d883562b14121390f6736f9ee3e6616d7f57
parent128806c3b3e263c579af12c061a9b04db3950016
[PATCH] mbxfb: Add YUV video overlay support

This patch adds a way to create and use the video plane (YUV overlay) and
scaling video scaling features of the chip.

The overlay is configured, resized and modified using a device specific
ioctl.

Also included in this patch:
  - If no platform data was passed, print an error and exit instead of crashing.
  - Added a write_reg(_dly) macro. This improves readability when
    manipulating chip registers. (no more udelay() after each write).
  - Comments about some issues.

Signed-off-by: Raphael Assenat <raph@8d.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Acked-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/mbx/mbxfb.c
include/video/mbxfb.h