OLD | NEW |
1 /* | 1 /* |
2 * arch/arm/mach-tegra/include/mach/fb.h | 2 * arch/arm/mach-tegra/include/mach/fb.h |
3 * | 3 * |
4 * Copyright (C) 2010 Google, Inc. | 4 * Copyright (C) 2010 Google, Inc. |
5 * | 5 * |
6 * Author: | 6 * Author: |
7 * Erik Gilling <konkers@google.com> | 7 * Erik Gilling <konkers@google.com> |
8 * | 8 * |
9 * This software is licensed under the terms of the GNU General Public | 9 * This software is licensed under the terms of the GNU General Public |
10 * License version 2, as published by the Free Software Foundation, and | 10 * License version 2, as published by the Free Software Foundation, and |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 #ifdef CONFIG_FB_TEGRA | 31 #ifdef CONFIG_FB_TEGRA |
32 struct tegra_fb_info *tegra_fb_register(struct nvhost_device *ndev, | 32 struct tegra_fb_info *tegra_fb_register(struct nvhost_device *ndev, |
33 struct tegra_dc *dc, | 33 struct tegra_dc *dc, |
34 struct tegra_fb_data *fb_data, | 34 struct tegra_fb_data *fb_data, |
35 struct resource *fb_mem); | 35 struct resource *fb_mem); |
36 void tegra_fb_unregister(struct tegra_fb_info *fb_info); | 36 void tegra_fb_unregister(struct tegra_fb_info *fb_info); |
37 void tegra_fb_update_monspecs(struct tegra_fb_info *fb_info, | 37 void tegra_fb_update_monspecs(struct tegra_fb_info *fb_info, |
38 struct fb_monspecs *specs, | 38 struct fb_monspecs *specs, |
39 bool (*mode_filter)(struct fb_videomode *mode)); | 39 bool (*mode_filter)(struct fb_videomode *mode)); |
40 /* called by display controller on suspend */ | |
41 void tegra_fb_suspend(struct tegra_fb_info *tegra_fb); | |
42 #else | 40 #else |
43 static inline struct tegra_fb_info *tegra_fb_register(struct nvhost_device *ndev
, | 41 static inline struct tegra_fb_info *tegra_fb_register(struct nvhost_device *ndev
, |
44 struct tegra_dc *dc, | 42 struct tegra_dc *dc, |
45 struct tegra_fb_data *fb_d
ata, | 43 struct tegra_fb_data *fb_d
ata, |
46 struct resource *fb_mem) | 44 struct resource *fb_mem) |
47 { | 45 { |
48 return NULL; | 46 return NULL; |
49 } | 47 } |
50 | 48 |
51 static inline void tegra_fb_unregister(struct tegra_fb_info *fb_info) | 49 static inline void tegra_fb_unregister(struct tegra_fb_info *fb_info) |
52 { | 50 { |
53 } | 51 } |
54 | 52 |
55 static inline void tegra_fb_update_monspecs(struct tegra_fb_info *fb_info, | 53 static inline void tegra_fb_update_monspecs(struct tegra_fb_info *fb_info, |
56 struct fb_monspecs *specs, | 54 struct fb_monspecs *specs, |
57 bool (*mode_filter)(struct fb_videom
ode *mode)) | 55 bool (*mode_filter)(struct fb_videom
ode *mode)) |
58 { | 56 { |
59 } | 57 } |
60 static inline void tegra_fb_suspend(struct tegra_fb_info *tegra_fb) | |
61 { | |
62 } | |
63 #endif | 58 #endif |
64 | 59 |
65 #endif | 60 #endif |
OLD | NEW |