drm/omap: fix WB height with interlace
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 26 Oct 2017 11:40:13 +0000 (14:40 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 1 Mar 2018 07:18:18 +0000 (09:18 +0200)
commit1317ef2113a14b631df15c9d09ce1283836c1456
tree75ccf444c58ab5ac11a757a9b2488717cb340e86
parentb994e53c2c6437689873af4ff61803bef78a2330
drm/omap: fix WB height with interlace

When using WB capture from interlaced source, we need to halve the
picture heights correctly.

Unfortunately the current dispc_ovl_setup_common() doesn't deal with
interlace very neatly, so the end result is a bit messy.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Benoit Parrot <bparrot@ti.com>
drivers/gpu/drm/omapdrm/dss/dispc.c