drm/radeon/kms: fix legacy tv-out pal mode
authorAlex Deucher <alexdeucher@gmail.com>
Sat, 6 Mar 2010 14:43:41 +0000 (09:43 -0500)
committerDave Airlie <airlied@redhat.com>
Tue, 13 Jul 2010 01:02:49 +0000 (11:02 +1000)
fixes fdo bug 26915

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_legacy_tv.c

index f2ed27c..0320403 100644 (file)
@@ -642,8 +642,8 @@ void radeon_legacy_tv_mode_set(struct drm_encoder *encoder,
        }
        flicker_removal = (tmp + 500) / 1000;
 
-       if (flicker_removal < 2)
-               flicker_removal = 2;
+       if (flicker_removal < 3)
+               flicker_removal = 3;
        for (i = 0; i < ARRAY_SIZE(SLOPE_limit); ++i) {
                if (flicker_removal == SLOPE_limit[i])
                        break;