summaryrefslogtreecommitdiffstats
path: root/include/video/omapdss.h
diff options
context:
space:
mode:
authorArchit Taneja2012-06-28 07:45:51 +0200
committerTomi Valkeinen2012-06-29 09:15:52 +0200
commit23c8f88e8a140c8435658c369b26c7b60d8fe3c0 (patch)
treef4a454c8f17f9c10e055a8003bb1a2e89838523c /include/video/omapdss.h
parentOMAPDSS: Remove omap_panel_config enum from omap_dss_device (diff)
downloadkernel-qcow2-linux-23c8f88e8a140c8435658c369b26c7b60d8fe3c0.tar.gz
kernel-qcow2-linux-23c8f88e8a140c8435658c369b26c7b60d8fe3c0.tar.xz
kernel-qcow2-linux-23c8f88e8a140c8435658c369b26c7b60d8fe3c0.zip
OMAPDSS: Add interlace parameter to omap_video_timings
Add a parameter called interlace which tells whether the timings are in interlaced or progressive mode. This aligns the omap_video_timings struct with the Xorg modeline configuration. It also removes the hack needed to write to divide the manager height by 2 if the connected interface is VENC. Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'include/video/omapdss.h')
-rw-r--r--include/video/omapdss.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index 14f261b584fa..d8ab94485c97 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -344,6 +344,8 @@ struct omap_video_timings {
enum omap_dss_signal_level vsync_level;
/* Hsync logic level */
enum omap_dss_signal_level hsync_level;
+ /* Interlaced or Progressive timings */
+ bool interlace;
/* Pixel clock edge to drive LCD data */
enum omap_dss_signal_edge data_pclk_edge;
/* Data enable logic level */