diff options
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/tegra_fb.h')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/tegra_fb.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/tegra_fb.h b/arch/arm/mach-tegra/include/mach/tegra_fb.h new file mode 100644 index 00000000000..84ae8869b24 --- /dev/null +++ b/arch/arm/mach-tegra/include/mach/tegra_fb.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-tegra/include/mach/tegra_fb.h | ||
3 | * | ||
4 | * Copyright (C) 2010 Google, Inc. | ||
5 | * Author: Colin Cross <ccross@android.com> | ||
6 | * | ||
7 | * This software is licensed under the terms of the GNU General Public | ||
8 | * License version 2, as published by the Free Software Foundation, and | ||
9 | * may be copied, distributed, and modified under those terms. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | */ | ||
17 | |||
18 | /* Platform data structure to be passed to the driver */ | ||
19 | struct tegra_fb_lcd_data { | ||
20 | int fb_xres; | ||
21 | int fb_yres; | ||
22 | /* Resolution of the output to the LCD. If different from the | ||
23 | framebuffer resolution, the Tegra display block will scale it */ | ||
24 | int lcd_xres; | ||
25 | int lcd_yres; | ||
26 | int bits_per_pixel; | ||
27 | }; | ||