From patchwork Fri Sep 10 07:19:05 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 168312 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8A7JNQR008407 for ; Fri, 10 Sep 2010 07:19:58 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1179E9EFFB for ; Fri, 10 Sep 2010 00:19:23 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qy0-f177.google.com (mail-qy0-f177.google.com [209.85.216.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 1CF209EF5F for ; Fri, 10 Sep 2010 00:19:16 -0700 (PDT) Received: by qyk8 with SMTP id 8so2692646qyk.15 for ; Fri, 10 Sep 2010 00:19:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=OycEppH9TcNWIGaDLY5+WsPnv9SLULtfkL5WUfYolyI=; b=VLaQunf6bzZ+tWzfI+18qpwkL8+TjzjA5jGWdIJmaW00vZl9Fwt2LidzDc+eKLt2rC xWrTJeozZlQMn5tYXGwNNNiJFW2HyhqRUjSSmkyEqZaVmXb2rer62e0Rtl3srAMfANP9 36MzGxNG/hGw8+1tkAiJBy5m63hTZGIy1LQDo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=wdvEa/eW9inQY8LSYOrZUmCv59hnLW6eynB8brLE2w0XoDQLBH3eKiLR8WVPiEFqkm imIYv0fmvhNGej0EFt8uPEPUmtRp4qSxEmbjyebhKINBdKwUWc0g9V1hBS5hTCRwqubu +oj0O3jBdU03vjv7BAmnfrGKc/fZjsiOAlCuc= Received: by 10.229.251.210 with SMTP id mt18mr282727qcb.151.1284103154591; Fri, 10 Sep 2010 00:19:14 -0700 (PDT) Received: from localhost.localdomain (static-74-96-105-7.washdc.fios.verizon.net [74.96.105.7]) by mx.google.com with ESMTPS id r1sm2389280qcq.10.2010.09.10.00.19.13 (version=SSLv3 cipher=RC4-MD5); Fri, 10 Sep 2010 00:19:14 -0700 (PDT) From: Alex Deucher To: airlied@gmail.com, dri-devel@lists.freedesktop.org Subject: [PATCH] drm/radeon/kms: don't enable underscan with interlaced modes Date: Fri, 10 Sep 2010 03:19:05 -0400 Message-Id: <1284103145-6644-1-git-send-email-alexdeucher@gmail.com> X-Mailer: git-send-email 1.7.1.1 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 10 Sep 2010 07:20:00 +0000 (UTC) diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c index 8c987c9..127a395 100644 --- a/drivers/gpu/drm/radeon/radeon_display.c +++ b/drivers/gpu/drm/radeon/radeon_display.c @@ -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) &&