summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/include/mach/fb.h
diff options
context:
space:
mode:
authorErik Gilling <konkers@android.com>2010-11-08 15:08:40 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:36:39 -0800
commit99bccfbe1ffa3f177b1ba789e3a3e73debfe4084 (patch)
tree0b37bb9098dcddec83a42fb2411b1ab141c07234 /arch/arm/mach-tegra/include/mach/fb.h
parent091076dc8064e7eca51e608976d4344d483e5e55 (diff)
video: tegra: flush fb_flip workqueue on blank and suspend
Change-Id: I58e9ba73b2fd232e6c1f40946e2e353b90ce5dd7 Signed-off-by: Erik Gilling <konkers@android.com>
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/fb.h')
-rw-r--r--arch/arm/mach-tegra/include/mach/fb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/fb.h b/arch/arm/mach-tegra/include/mach/fb.h
index 0c9577208a2c..deac25a27ea9 100644
--- a/arch/arm/mach-tegra/include/mach/fb.h
+++ b/arch/arm/mach-tegra/include/mach/fb.h
@@ -37,6 +37,8 @@ void tegra_fb_unregister(struct tegra_fb_info *fb_info);
void tegra_fb_update_monspecs(struct tegra_fb_info *fb_info,
struct fb_monspecs *specs,
bool (*mode_filter)(struct fb_videomode *mode));
+/* called by display controller on suspend */
+void tegra_fb_suspend(struct tegra_fb_info *tegra_fb);
#else
static inline struct tegra_fb_info *tegra_fb_register(struct nvhost_device *ndev,
struct tegra_dc *dc,
@@ -55,6 +57,9 @@ void tegra_fb_update_monspecs(struct tegra_fb_info *fb_info,
bool (*mode_filter)(struct fb_videomode *mode))
{
}
+void tegra_fb_suspend(struct tegra_fb_info *tegra_fb)
+{
+}
#endif
#endif