From patchwork Wed Jul 20 08:34:05 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Reim X-Patchwork-Id: 990452 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p6K8YxcZ007625 for ; Wed, 20 Jul 2011 08:35:21 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 69D289F50E for ; Wed, 20 Jul 2011 01:34:59 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) by gabe.freedesktop.org (Postfix) with ESMTP id 5CB599E771 for ; Wed, 20 Jul 2011 01:34:48 -0700 (PDT) Received: by fxd23 with SMTP id 23so2724008fxd.26 for ; Wed, 20 Jul 2011 01:34:47 -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; bh=iag4z3NUWJHA7d2CjS6HmdA+EaVVodBy9wibRHk4YUI=; b=Rsizf3nkn5nYjb/27cFIdId2uDKnm/Dmgm/HU7sDA4V+qMK6QeYQFykm395ZFaWxp7 cK2GMWzAi8KdlkPuPr7FbcCZSR8q4fYzVwihX4BL+IWVxVq9Zenl/aSNuFww1/c+f3a3 oi2OVjWvpYvhJa1cAuTBMU1Xx7qjknsU/b4U0= Received: by 10.223.145.9 with SMTP id b9mr6716550fav.144.1311150887096; Wed, 20 Jul 2011 01:34:47 -0700 (PDT) Received: from localhost.localdomain (p5B2FF302.dip.t-dialin.net [91.47.243.2]) by mx.google.com with ESMTPS id 21sm536161fay.45.2011.07.20.01.34.45 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Jul 2011 01:34:46 -0700 (PDT) From: reimth@googlemail.com To: Dave Airlie , Alex Deucher , Mario Kleiner , Jean Delvare , Tyson Whitehead , Jason Wessel , Stephen Michaels Subject: [PATCH] drm/radeon: Fix ECS A740GM-M DVI-D EDID error flooding problem Date: Wed, 20 Jul 2011 10:34:05 +0200 Message-Id: <1311150845-19198-1-git-send-email-reimth@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1309995012-5873-1-git-send-email-reimth@gmail.com> References: <1309995012-5873-1-git-send-email-reimth@gmail.com> Cc: linux-kernel@vger.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 (demeter1.kernel.org [140.211.167.41]); Wed, 20 Jul 2011 08:35:21 +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: Fix Asus M2A-VM HDMI EDID error flooding problem BugLink: http://bugs.launchpad.net/bugs/810926 Signed-off-by: Thomas Reim Acked-by: Stephen Michaels Reviewed-by: Alex Deucher --- 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;