diff options
Diffstat (limited to 'drivers/video/omap2/omapfb/omapfb.h')
-rw-r--r-- | drivers/video/omap2/omapfb/omapfb.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/video/omap2/omapfb/omapfb.h b/drivers/video/omap2/omapfb/omapfb.h index aa1b1d9..649388f 100644 --- a/drivers/video/omap2/omapfb/omapfb.h +++ b/drivers/video/omap2/omapfb/omapfb.h @@ -97,6 +97,10 @@ struct omapfb2_device { struct omap_dss_device *dssdev; u8 bpp; } bpp_overrides[10]; + + bool vsync_active; + ktime_t vsync_timestamp; + struct work_struct vsync_work; }; struct omapfb_colormode { @@ -128,6 +132,9 @@ int dss_mode_to_fb_mode(enum omap_color_mode dssmode, int omapfb_setup_overlay(struct fb_info *fbi, struct omap_overlay *ovl, u16 posx, u16 posy, u16 outw, u16 outh); +int omapfb_enable_vsync(struct omapfb2_device *fbdev); +void omapfb_disable_vsync(struct omapfb2_device *fbdev); + /* find the display connected to this fb, if any */ static inline struct omap_dss_device *fb2display(struct fb_info *fbi) { |