Skip to content

Commit

Permalink
OMAPDSS: HDMI: fix interlace output
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
tomba committed Apr 4, 2014
1 parent 5f0bc7a commit 0f5d9d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/video/omap2/dss/hdmi_wp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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->y_res = param->timings.y_res;
video_fmt->x_res = param->timings.x_res;
if (param->timings.interlace)
video_fmt->y_res /= 2;

timings->hbp = param->timings.hbp;
timings->hfp = param->timings.hfp;
Expand Down

0 comments on commit 0f5d9d2

Please sign in to comment.