DSS2: Don't enable fieldmode automatically
authorVille Syrjälä <ville.syrjala@nokia.com>
Mon, 20 Apr 2009 14:26:19 +0000 (16:26 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 1 May 2009 16:45:09 +0000 (19:45 +0300)
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ä <ville.syrjala@nokia.com>
drivers/video/omap2/dss/dispc.c

index f15614b..1c036c1 100644 (file)
@@ -1450,7 +1450,7 @@ static int _dispc_setup_plane(enum omap_plane plane,
        if (paddr == 0)
                return -EINVAL;
 
        if (paddr == 0)
                return -EINVAL;
 
-       if (ilace && height >= out_height)
+       if (ilace && height == out_height)
                fieldmode = 1;
 
        if (ilace) {
                fieldmode = 1;
 
        if (ilace) {