From: Ville Syrjälä Date: Mon, 20 Apr 2009 14:26:19 +0000 (+0200) Subject: DSS2: Don't enable fieldmode automatically X-Git-Tag: Release-2010-05/1~2^2~100 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=8a7188fea092903942192366b59d36c46d683556 DSS2: Don't enable fieldmode automatically The only case where enabling fieldmode automatically seems reasonable is when source and destination heights are equal. Some kind of user controllable knob should be added so the user could enable field mode when the source is interlaced. Signed-off-by: Ville Syrjälä --- diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c index f15614bcaeae..1c036c1d4f08 100644 --- a/drivers/video/omap2/dss/dispc.c +++ b/drivers/video/omap2/dss/dispc.c @@ -1450,7 +1450,7 @@ static int _dispc_setup_plane(enum omap_plane plane, if (paddr == 0) return -EINVAL; - if (ilace && height >= out_height) + if (ilace && height == out_height) fieldmode = 1; if (ilace) {