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>
This commit is contained in:
Tomi Valkeinen 2014-04-03 15:48:32 +03:00
parent 5f0bc7a9ee
commit 0f5d9d2e7d
1 changed files with 2 additions and 0 deletions

View File

@ -171,6 +171,8 @@ void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt,
video_fmt->packing_mode = HDMI_PACK_10b_RGB_YUV444; video_fmt->packing_mode = HDMI_PACK_10b_RGB_YUV444;
video_fmt->y_res = param->timings.y_res; video_fmt->y_res = param->timings.y_res;
video_fmt->x_res = param->timings.x_res; video_fmt->x_res = param->timings.x_res;
if (param->timings.interlace)
video_fmt->y_res /= 2;
timings->hbp = param->timings.hbp; timings->hbp = param->timings.hbp;
timings->hfp = param->timings.hfp; timings->hfp = param->timings.hfp;