2 * linux/drivers/video/mmp/fb/mmpfb.h
3 * Framebuffer driver for Marvell Display controller.
5 * Copyright (C) 2012 Marvell Technology Group Ltd.
6 * Authors: Zhou Zhu <zzhu3@marvell.com>
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
13 * This program is distributed in the hope that it will be useful, but WITHOUT
14 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
18 * You should have received a copy of the GNU General Public License along with
19 * this program. If not, see <http://www.gnu.org/licenses/>.
26 #include <video/mmp_disp.h>
29 /* LCD controller private state. */
35 struct fb_info
*fb_info
;
36 /* basicaly videomode is for output */
37 struct fb_videomode mode
;
42 dma_addr_t fb_start_dma
;
44 struct mmp_overlay
*overlay
;
45 struct mmp_path
*path
;
47 struct mutex access_ok
;
49 unsigned int pseudo_palette
[16];
53 #define MMPFB_DEFAULT_SIZE (PAGE_ALIGN(1920 * 1080 * 4 * 2))
54 #endif /* _MMP_FB_H_ */