1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * linux/drivers/video/mmp/fb/mmpfb.h
4 * Framebuffer driver for Marvell Display controller.
6 * Copyright (C) 2012 Marvell Technology Group Ltd.
7 * Authors: Zhou Zhu <zzhu3@marvell.com>
13 #include <video/mmp_disp.h>
16 /* LCD controller private state. */
22 struct fb_info
*fb_info
;
23 /* basicaly videomode is for output */
24 struct fb_videomode mode
;
29 dma_addr_t fb_start_dma
;
31 struct mmp_overlay
*overlay
;
32 struct mmp_path
*path
;
34 struct mutex access_ok
;
36 unsigned int pseudo_palette
[16];
40 #define MMPFB_DEFAULT_SIZE (PAGE_ALIGN(1920 * 1080 * 4 * 2))
41 #endif /* _MMP_FB_H_ */