aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omapdss.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index fc06c5b5f12a..069dfca9549a 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -61,6 +61,7 @@ struct omap_overlay_manager;
61struct dss_lcd_mgr_config; 61struct dss_lcd_mgr_config;
62struct snd_aes_iec958; 62struct snd_aes_iec958;
63struct snd_cea_861_aud_if; 63struct snd_cea_861_aud_if;
64struct hdmi_avi_infoframe;
64 65
65enum omap_display_type { 66enum omap_display_type {
66 OMAP_DISPLAY_TYPE_NONE = 0, 67 OMAP_DISPLAY_TYPE_NONE = 0,
@@ -631,6 +632,10 @@ struct omapdss_hdmi_ops {
631 int (*read_edid)(struct omap_dss_device *dssdev, u8 *buf, int len); 632 int (*read_edid)(struct omap_dss_device *dssdev, u8 *buf, int len);
632 bool (*detect)(struct omap_dss_device *dssdev); 633 bool (*detect)(struct omap_dss_device *dssdev);
633 634
635 int (*set_hdmi_mode)(struct omap_dss_device *dssdev, bool hdmi_mode);
636 int (*set_infoframe)(struct omap_dss_device *dssdev,
637 const struct hdmi_avi_infoframe *avi);
638
634 /* 639 /*
635 * Note: These functions might sleep. Do not call while 640 * Note: These functions might sleep. Do not call while
636 * holding a spinlock/readlock. 641 * holding a spinlock/readlock.
@@ -850,6 +855,10 @@ struct omap_dss_driver {
850 int (*read_edid)(struct omap_dss_device *dssdev, u8 *buf, int len); 855 int (*read_edid)(struct omap_dss_device *dssdev, u8 *buf, int len);
851 bool (*detect)(struct omap_dss_device *dssdev); 856 bool (*detect)(struct omap_dss_device *dssdev);
852 857
858 int (*set_hdmi_mode)(struct omap_dss_device *dssdev, bool hdmi_mode);
859 int (*set_hdmi_infoframe)(struct omap_dss_device *dssdev,
860 const struct hdmi_avi_infoframe *avi);
861
853 /* 862 /*
854 * For display drivers that support audio. This encompasses 863 * For display drivers that support audio. This encompasses
855 * HDMI and DisplayPort at the moment. 864 * HDMI and DisplayPort at the moment.