From patchwork Fri Jul 29 14:29:00 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Reim X-Patchwork-Id: 1020882 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p6TEWMU4013446 for ; Fri, 29 Jul 2011 14:32:43 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F1BF4A0958 for ; Fri, 29 Jul 2011 07:32:21 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-fx0-f49.google.com (mail-fx0-f49.google.com [209.85.161.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 2B8C49E9A6 for ; Fri, 29 Jul 2011 07:29:42 -0700 (PDT) Received: by mail-fx0-f49.google.com with SMTP id 20so3037417fxd.36 for ; Fri, 29 Jul 2011 07:29:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :in-reply-to:references; bh=+GjCo2jbPLqW5MQ2eF+DG+PElS+4TM5SVNEjkcOmjYE=; b=T57wG8rN7B9tcA/ZQwRUQM9kUo8z8rS0b+EplbotOK9yZUI3rS9Sf8ZT8YJA+o8VVW nZrm3MamaMB7ccR4Z4/6tYguAottX4jRkz+hVuIvKl81eKHPRnbj2Q42hecPIHcZJjse H500qVnM8oaT7vFXg+zwHnCCwdPAQNCZ7sUmQ= Received: by 10.223.75.25 with SMTP id w25mr1880442faj.140.1311949781696; Fri, 29 Jul 2011 07:29:41 -0700 (PDT) Received: from localhost.localdomain (p5B2FE4CF.dip.t-dialin.net [91.47.228.207]) by mx.google.com with ESMTPS id g20sm602304fai.45.2011.07.29.07.29.40 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Jul 2011 07:29:41 -0700 (PDT) From: reimth@googlemail.com To: Dave Airlie Subject: [PATCH 4/4] drm/radeon: Extended DDC Probing for ECS A740GM-M DVI-D Connector Date: Fri, 29 Jul 2011 16:29:00 +0200 Message-Id: <1311949740-14637-5-git-send-email-reimth@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1311949740-14637-1-git-send-email-reimth@gmail.com> References: <1311949740-14637-1-git-send-email-reimth@gmail.com> In-Reply-To: References: Cc: stable@kernel.org, dri-devel@lists.freedesktop.org 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.6 (demeter2.kernel.org [140.211.167.43]); Fri, 29 Jul 2011 14:32:43 +0000 (UTC) From: Thomas Reim ECS A740GM-M with ATI RADEON 2100 sends data to i2c bus for a DVI connector that is not implemented/existent on the board. Fix by applying extented DDC probing for this connector. Requires [PATCH] drm/radeon: Extended DDC Probing for Connectors with Improperly Wired DDC Lines Tested for kernel 2.6.38 on Asus ECS A740GM-M board BugLink: http://bugs.launchpad.net/bugs/810926 Cc: Signed-off-by: Thomas Reim Reviewed-by: Alex Deucher Acked-by: Stephen Michaels --- drivers/gpu/drm/radeon/radeon_connectors.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b/drivers/gpu/drm/radeon/radeon_connectors.c index 2e70be2..82dacc6 100644 --- a/drivers/gpu/drm/radeon/radeon_connectors.c +++ b/drivers/gpu/drm/radeon/radeon_connectors.c @@ -449,6 +449,15 @@ static bool radeon_connector_needs_extended_probe(struct radeon_device *dev, (supported_device == ATOM_DEVICE_DFP2_SUPPORT)) return true; } + /* ECS A740GM-M with ATI RADEON 2100 sends data to i2c bus + * for a DVI connector that is not implemented */ + if ((dev->pdev->device == 0x796e) && + (dev->pdev->subsystem_vendor == 0x1019) && + (dev->pdev->subsystem_device == 0x2615)) { + if ((connector_type == DRM_MODE_CONNECTOR_DVID) && + (supported_device == ATOM_DEVICE_DFP2_SUPPORT)) + return true; + } /* Default: no EDID header probe required for DDC probing */ return false;