diff options
author | Marek Vasut | 2011-10-06 00:25:03 +0200 |
---|---|---|
committer | Anatolij Gustschin | 2011-10-13 12:26:31 +0200 |
commit | 02ae1a1860af28164b41e0b29e53e1a1ee913225 (patch) | |
tree | 016d65cb7ea85e5d01a1727feb8505382a2d825b /include/ipu_pixfmt.h | |
parent | 92a98a4a399801ccebeece3e2f3ab83ee4efe9c7 (diff) |
MX5: Make IPU display output and pixel format configurable
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Stefano Babic <sbabic@denx.de>
Tested-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'include/ipu_pixfmt.h')
-rw-r--r-- | include/ipu_pixfmt.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ipu_pixfmt.h b/include/ipu_pixfmt.h index 0497bff2d2b..656f605462e 100644 --- a/include/ipu_pixfmt.h +++ b/include/ipu_pixfmt.h @@ -28,6 +28,9 @@ #ifndef __IPU_PIXFMT_H__ #define __IPU_PIXFMT_H__ +#include <linux/list.h> +#include <linux/fb.h> + /* IPU Pixel format definitions */ #define fourcc(a, b, c, d)\ (((__u32)(a)<<0)|((__u32)(b)<<8)|((__u32)(c)<<16)|((__u32)(d)<<24)) @@ -73,4 +76,6 @@ #define IPU_PIX_FMT_YVU422P fourcc('Y', 'V', '1', '6') /*< 16 YVU 4:2:2 */ #define IPU_PIX_FMT_YUV422P fourcc('4', '2', '2', 'P') /*< 16 YUV 4:2:2 */ +int mx51_fb_init(struct fb_videomode *mode, uint8_t disp, uint32_t pixfmt); + #endif |