projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f0bc7a
)
OMAPDSS: HDMI: fix interlace output
author
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Thu, 3 Apr 2014 12:48:32 +0000
(15:48 +0300)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Fri, 4 Apr 2014 06:56:19 +0000
(09:56 +0300)
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>
drivers/video/omap2/dss/hdmi_wp.c
patch
|
blob
|
history
diff --git
a/drivers/video/omap2/dss/hdmi_wp.c
b/drivers/video/omap2/dss/hdmi_wp.c
index
cd620c6
..
f5f4ccf
100644
(file)
--- 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,
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;