Based on 2 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not see http www gnu org licenses this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details [based] [from] [clk] [highbank] [c] you should have received a copy of the gnu general public license along with this program if not see http www gnu org licenses extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 355 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Jilayne Lovejoy <opensource@jilayne.com> Reviewed-by: Steve Winslow <swinslow@gmail.com> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190519154041.837383322@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
42 lines
828 B
C
42 lines
828 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* linux/drivers/video/mmp/fb/mmpfb.h
|
|
* Framebuffer driver for Marvell Display controller.
|
|
*
|
|
* Copyright (C) 2012 Marvell Technology Group Ltd.
|
|
* Authors: Zhou Zhu <zzhu3@marvell.com>
|
|
*/
|
|
|
|
#ifndef _MMP_FB_H_
|
|
#define _MMP_FB_H_
|
|
|
|
#include <video/mmp_disp.h>
|
|
#include <linux/fb.h>
|
|
|
|
/* LCD controller private state. */
|
|
struct mmpfb_info {
|
|
struct device *dev;
|
|
int id;
|
|
const char *name;
|
|
|
|
struct fb_info *fb_info;
|
|
/* basicaly videomode is for output */
|
|
struct fb_videomode mode;
|
|
int pix_fmt;
|
|
|
|
void *fb_start;
|
|
int fb_size;
|
|
dma_addr_t fb_start_dma;
|
|
|
|
struct mmp_overlay *overlay;
|
|
struct mmp_path *path;
|
|
|
|
struct mutex access_ok;
|
|
|
|
unsigned int pseudo_palette[16];
|
|
int output_fmt;
|
|
};
|
|
|
|
#define MMPFB_DEFAULT_SIZE (PAGE_ALIGN(1920 * 1080 * 4 * 2))
|
|
#endif /* _MMP_FB_H_ */
|