diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/omap2/dss/dispc.c | 6 | ||||
-rw-r--r-- | drivers/video/omap2/dss/hdmi_panel.c | 1 | ||||
-rw-r--r-- | drivers/video/omap2/dss/venc.c | 4 |
3 files changed, 6 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 | }; |
276 | EXPORT_SYMBOL(omap_dss_pal_timings); | 278 | EXPORT_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 | }; |
289 | EXPORT_SYMBOL(omap_dss_ntsc_timings); | 293 | EXPORT_SYMBOL(omap_dss_ntsc_timings); |
290 | 294 | ||