diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-04-03 08:48:32 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-04-04 02:56:19 -0400 |
commit | 0f5d9d2e7d234acb26bc98dd820cc8dd178774d6 (patch) | |
tree | 80d43099f72465e05c020f3a7f92865093680d12 | |
parent | 5f0bc7a9eec7e562be82b90bffee7a5370d38517 (diff) |
OMAPDSS: HDMI: fix interlace output
The HDMI output video format's yres needs to be divided by two for
interlace. Fix it.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | drivers/video/omap2/dss/hdmi_wp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/hdmi_wp.c b/drivers/video/omap2/dss/hdmi_wp.c index cd620c6e43a0..f5f4ccf50d90 100644 --- a/drivers/video/omap2/dss/hdmi_wp.c +++ b/drivers/video/omap2/dss/hdmi_wp.c | |||
@@ -171,6 +171,8 @@ void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt, | |||
171 | video_fmt->packing_mode = HDMI_PACK_10b_RGB_YUV444; | 171 | video_fmt->packing_mode = HDMI_PACK_10b_RGB_YUV444; |
172 | video_fmt->y_res = param->timings.y_res; | 172 | video_fmt->y_res = param->timings.y_res; |
173 | video_fmt->x_res = param->timings.x_res; | 173 | video_fmt->x_res = param->timings.x_res; |
174 | if (param->timings.interlace) | ||
175 | video_fmt->y_res /= 2; | ||
174 | 176 | ||
175 | timings->hbp = param->timings.hbp; | 177 | timings->hbp = param->timings.hbp; |
176 | timings->hfp = param->timings.hfp; | 178 | timings->hfp = param->timings.hfp; |