aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/android-display.h
blob: 349514bafb56396e89b4e89ed8b448b3fd94a81d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * arch/arm/mach-omap2/android_display.h
 *
 * OMAP2 platform device setup/initialization
 *
 * 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.
 */

#ifndef __ARCH_ARM_MACH_OMAP_ANDROID_DISPLAY_H
#define __ARCH_ARM_MACH_OMAP_ANDROID_DISPLAY_H

#include <linux/omapfb.h>
#include <video/omapdss.h>
#include <mach/omap4_ion.h>
#include <plat/sgx_omaplfb.h>
#include <plat/dsscomp.h>

#define NUM_ANDROID_TILER1D_SLOTS 2

void omap_android_display_setup(struct omap_dss_board_info *dss,
				struct dsscomp_platform_data *dsscomp,
				struct sgx_omaplfb_platform_data *sgx,
				struct omapfb_platform_data *fb,
				struct omap_ion_platform_data *ion);

bool omap_android_display_is_default(struct omap_dss_device *device);

#endif