drm/radeon/kms: don't enable underscan with interlaced modes
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 10 Sep 2010 07:19:05 +0000 (03:19 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 13 Sep 2010 10:25:24 +0000 (20:25 +1000)
They aren't compatible.

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

index 8c987c9..127a395 100644 (file)
@@ -1151,6 +1151,7 @@ bool radeon_crtc_scaling_mode_fixup(struct drm_crtc *crtc,
 
                        /* fix up for overscan on hdmi */
                        if (ASIC_IS_AVIVO(rdev) &&
+                           (!(mode->flags & DRM_MODE_FLAG_INTERLACE)) &&
                            ((radeon_encoder->underscan_type == UNDERSCAN_ON) ||
                             ((radeon_encoder->underscan_type == UNDERSCAN_AUTO) &&
                              drm_detect_hdmi_monitor(radeon_connector->edid) &&