aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/omap2/dss/dispc.c6
-rw-r--r--drivers/video/omap2/dss/hdmi_panel.c1
-rw-r--r--drivers/video/omap2/dss/venc.c4
-rw-r--r--include/video/omapdss.h2
4 files changed, 8 insertions, 5 deletions
diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c
index 957c04962793..d200f446840f 100644
--- a/drivers/video/omap2/dss/dispc.c
+++ b/drivers/video/omap2/dss/dispc.c
@@ -2754,11 +2754,7 @@ void dispc_mgr_set_timings(enum omap_channel channel,
2754 2754
2755 DSSDBG("hsync %luHz, vsync %luHz\n", ht, vt); 2755 DSSDBG("hsync %luHz, vsync %luHz\n", ht, vt);
2756 } else { 2756 } else {
2757 enum dss_hdmi_venc_clk_source_select source; 2757 if (t.interlace == true)
2758
2759 source = dss_get_hdmi_venc_clk_source();
2760
2761 if (source == DSS_VENC_TV_CLK)
2762 t.y_res /= 2; 2758 t.y_res /= 2;
2763 } 2759 }
2764 2760
diff --git a/drivers/video/omap2/dss/hdmi_panel.c b/drivers/video/omap2/dss/hdmi_panel.c
index 723a13788476..e10844faadf9 100644
--- a/drivers/video/omap2/dss/hdmi_panel.c
+++ b/drivers/video/omap2/dss/hdmi_panel.c
@@ -46,6 +46,7 @@ static int hdmi_panel_probe(struct omap_dss_device *dssdev)
46 dssdev->panel.timings = (struct omap_video_timings) 46 dssdev->panel.timings = (struct omap_video_timings)
47 { 640, 480, 25175, 96, 16, 48, 2, 11, 31, 47 { 640, 480, 25175, 96, 16, 48, 2, 11, 31,
48 OMAPDSS_SIG_ACTIVE_LOW, OMAPDSS_SIG_ACTIVE_LOW, 48 OMAPDSS_SIG_ACTIVE_LOW, OMAPDSS_SIG_ACTIVE_LOW,
49 false,
49 }; 50 };
50 51
51 DSSDBG("hdmi_panel_probe x_res= %d y_res = %d\n", 52 DSSDBG("hdmi_panel_probe x_res= %d y_res = %d\n",
diff --git a/drivers/video/omap2/dss/venc.c b/drivers/video/omap2/dss/venc.c
index 416d478803e5..3a220877461a 100644
--- a/drivers/video/omap2/dss/venc.c
+++ b/drivers/video/omap2/dss/venc.c
@@ -272,6 +272,8 @@ const struct omap_video_timings omap_dss_pal_timings = {
272 .vsw = 5, 272 .vsw = 5,
273 .vfp = 5, 273 .vfp = 5,
274 .vbp = 41, 274 .vbp = 41,
275
276 .interlace = true,
275}; 277};
276EXPORT_SYMBOL(omap_dss_pal_timings); 278EXPORT_SYMBOL(omap_dss_pal_timings);
277 279
@@ -285,6 +287,8 @@ const struct omap_video_timings omap_dss_ntsc_timings = {
285 .vsw = 6, 287 .vsw = 6,
286 .vfp = 6, 288 .vfp = 6,
287 .vbp = 31, 289 .vbp = 31,
290
291 .interlace = true,
288}; 292};
289EXPORT_SYMBOL(omap_dss_ntsc_timings); 293EXPORT_SYMBOL(omap_dss_ntsc_timings);
290 294
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 {
344 enum omap_dss_signal_level vsync_level; 344 enum omap_dss_signal_level vsync_level;
345 /* Hsync logic level */ 345 /* Hsync logic level */
346 enum omap_dss_signal_level hsync_level; 346 enum omap_dss_signal_level hsync_level;
347 /* Interlaced or Progressive timings */
348 bool interlace;
347 /* Pixel clock edge to drive LCD data */ 349 /* Pixel clock edge to drive LCD data */
348 enum omap_dss_signal_edge data_pclk_edge; 350 enum omap_dss_signal_edge data_pclk_edge;
349 /* Data enable logic level */ 351 /* Data enable logic level */