mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 18:53:52 +08:00
576e5bda70
Move omap_vout device creation inside the omap_display_init so that we can correctly create the device based on the presence of omapdss within the platform. For example, on a kernel image supporting multiple platforms, omap_init_vout will create a omapdrm platform device on a AM33xx platform even though it doesn't have a DSS block. Signed-off-by: Archit Taneja <archit@ti.com> Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
34 lines
994 B
C
34 lines
994 B
C
/*
|
|
* display.h - OMAP2+ integration-specific DSS header
|
|
*
|
|
* Copyright (C) 2011 Texas Instruments, Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License version 2 as published by
|
|
* the Free Software Foundation.
|
|
*
|
|
* 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/>.
|
|
*/
|
|
|
|
#ifndef __ARCH_ARM_MACH_OMAP2_DISPLAY_H
|
|
#define __ARCH_ARM_MACH_OMAP2_DISPLAY_H
|
|
|
|
#include <linux/kernel.h>
|
|
|
|
struct omap_dss_dispc_dev_attr {
|
|
u8 manager_count;
|
|
bool has_framedonetv_irq;
|
|
};
|
|
|
|
int omap_init_drm(void);
|
|
int omap_init_vrfb(void);
|
|
int omap_init_fb(void);
|
|
int omap_init_vout(void);
|
|
#endif
|