From patchwork Wed Aug 17 09:03:32 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Reim X-Patchwork-Id: 1073222 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 p7H93wem031925 for ; Wed, 17 Aug 2011 09:04:19 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AA7F9A08D2 for ; Wed, 17 Aug 2011 02:03:57 -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 778059E9B4 for ; Wed, 17 Aug 2011 02:03:43 -0700 (PDT) Received: by fxd20 with SMTP id 20so670698fxd.36 for ; Wed, 17 Aug 2011 02:03:42 -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; bh=Iyqmg5i6JWA87oc3lSzP6az0u649QHl6N9jJxz7HtRU=; b=JjpPm8Yt2bI+8Mi1GzStH212yINAAEvCrGKM3YfwuBQTNlcx9SvGk2hjsxnDK2DR32 6SGWDZ2m4oA0DoQHZiTjWidoafRV+KAEwVlQouO5Xqw1WasgrPQpAExcujk0Ds/SjEWk +PTNErIkI5OkifAAcGYX56wsRbIXeQBP6jfb0= Received: by 10.223.156.2 with SMTP id u2mr1065963faw.142.1313571822441; Wed, 17 Aug 2011 02:03:42 -0700 (PDT) Received: from localhost.localdomain (p549DA2E9.dip.t-dialin.net [84.157.162.233]) by mx.google.com with ESMTPS id w16sm735608fah.20.2011.08.17.02.03.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 17 Aug 2011 02:03:40 -0700 (PDT) From: Thomas Reim To: Dave Airlie , Alex Deucher Subject: [PATCH] drm/radeon: Extended DDC Probing for Toshiba L300D Radeon Mobility X1100 HDMI-A Connector Date: Wed, 17 Aug 2011 11:03:32 +0200 Message-Id: <1313571812-31357-1-git-send-email-reimth@gmail.com> X-Mailer: git-send-email 1.7.1 Cc: Chris Routh , 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 (demeter1.kernel.org [140.211.167.41]); Wed, 17 Aug 2011 09:04:19 +0000 (UTC) Toshiba Satellite L300D with ATI Mobility Radeon X1100 sends data to i2c bus for a HDMI connector that is not implemented/existent on the notebook's 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 Toshiba Satellite L300D notebook BugLink: http://bugs.launchpad.net/bugs/826677 Signed-off-by: Thomas Reim Acked-by: Chris Routh Cc: Reviewed-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_connectors.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b/drivers/gpu/drm/radeon/radeon_connectors.c index 6d6b5f1..ef5a6f0 100644 --- a/drivers/gpu/drm/radeon/radeon_connectors.c +++ b/drivers/gpu/drm/radeon/radeon_connectors.c @@ -464,6 +464,16 @@ static bool radeon_connector_needs_extended_probe(struct radeon_device *dev, (supported_device == ATOM_DEVICE_DFP2_SUPPORT)) return true; } + /* TOSHIBA Satellite L300D with ATI Mobility Radeon x1100 + * (RS690M) sends data to i2c bus for a HDMI connector that + * is not implemented */ + if ((dev->pdev->device == 0x791f) && + (dev->pdev->subsystem_vendor == 0x1179) && + (dev->pdev->subsystem_device == 0xff68)) { + if ((connector_type == DRM_MODE_CONNECTOR_HDMIA) && + (supported_device == ATOM_DEVICE_DFP2_SUPPORT)) + return true; + } /* Default: no EDID header probe required for DDC probing */ return false;