From patchwork Fri Aug 24 11:56:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Calvin Walton X-Patchwork-Id: 1371901 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 60FF5DF28C for ; Fri, 24 Aug 2012 15:55:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3D842A0E9E for ; Fri, 24 Aug 2012 08:55:55 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-iy0-f177.google.com (mail-iy0-f177.google.com [209.85.210.177]) by gabe.freedesktop.org (Postfix) with ESMTP id AF1F59EFD7 for ; Fri, 24 Aug 2012 04:56:34 -0700 (PDT) Received: by iaai1 with SMTP id i1so3349835iaa.36 for ; Fri, 24 Aug 2012 04:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kepstin.ca; s=google; h=message-id:subject:from:to:cc:date:content-type:x-mailer :mime-version:content-transfer-encoding; bh=eobrOXuPIuFO4p5l737cIrmVZ7ttqFItLLcm3vqyGTA=; b=IsrHbEQWBOoglHO3l6tyoUvTDV5fNt45Xsf3CnUQVOiJqWDFkeDJlQhPvVUG288eox UGeFdPk4gUXREypDt5cKIxmUdjwwJ+fk+kCUoAPVBYeWS5Dmoe3+RK3EhHsUemEbSXzR I9tKTLqoGmMyUGhwK9vz10p3nC1TBnT1bFVNY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:subject:from:to:cc:date:content-type:x-mailer :mime-version:content-transfer-encoding:x-gm-message-state; bh=eobrOXuPIuFO4p5l737cIrmVZ7ttqFItLLcm3vqyGTA=; b=AkfPCuDX7LtBSbwk9Nq+pMfWvxNPuR0+MPtrDnMs8ixrrv65P0r6wOH8PMCssISvgI RLYtzfjQBUCYQQPiZXKS/Oe9N9Hjs48b6hkkJqs3kp0m2zg60Yv5G6lva2kZVI2sOCGg qqP+P46YX2kuOKE1HALbZwYI9F2HGX1aJHqv26dQIdElXY+2xHeyp1qtlduiJgcIN3UJ 69frzFSqVRHVVftIj5qW0o8YiqnA43GsM3zXodlqbZdf//7c5QVKq/a3RLxXGatZ8g4U /nBBlsg+a2dw50R3ZE1fT47B5zcE/n8KTTGc2B7HuyW7/JOn1QqOgJverBIN6t+YTuu6 RQUg== Received: by 10.50.34.131 with SMTP id z3mr1846385igi.45.1345809393971; Fri, 24 Aug 2012 04:56:33 -0700 (PDT) Received: from [192.168.1.123] (CPE586d8fb6db38-CM78cd8e665875.cpe.net.cable.rogers.com. [99.224.21.194]) by mx.google.com with ESMTPS id wm7sm6238962igb.6.2012.08.24.04.56.32 (version=SSLv3 cipher=OTHER); Fri, 24 Aug 2012 04:56:33 -0700 (PDT) Message-ID: <1345809391.3443.9.camel@ayu> Subject: [PATCH] i915: Quirk no_lvds on Gigabyte GA-D525TUD ITX motherboard From: Calvin Walton To: Daniel Vetter , David Airlie Date: Fri, 24 Aug 2012 07:56:31 -0400 X-Mailer: Evolution 3.4.3 Mime-Version: 1.0 X-Gm-Message-State: ALoCoQnFiHFJ0CF/yb1zpPqdq0NNlMT3B9g2sf4sMVzX4tomwvuO+U9bEv8P3BZv3f7TVBOqYr8p X-Mailman-Approved-At: Fri, 24 Aug 2012 08:49:48 -0700 Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 This board is incorrectly detected as having an LVDS connector, resulting in the VGA output (the only available output on the board) showing the console only in the top-left 1024x768 pixels, and an extra LVDS connector appearing in X. It's a desktop Mini-ITX board using an Atom D525 CPU with an NM10 chipset. I've had this board for about a year, but this is the first time I noticed the issue because I've been running it headless for most of its life. Signed-off-by: Calvin Walton --- This board: http://www.gigabyte.us/products/product-page.aspx?pid=3549#sp If you want any additional debug output from this machine, let me know what you would like and how to find it. I think this patch would probably be a reasonable candidate for -stable? drivers/gpu/drm/i915/intel_lvds.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c index 08eb04c..2c58310 100644 --- a/drivers/gpu/drm/i915/intel_lvds.c +++ b/drivers/gpu/drm/i915/intel_lvds.c @@ -777,6 +777,14 @@ static const struct dmi_system_id intel_no_lvds[] = { DMI_MATCH(DMI_BOARD_NAME, "MS-7469"), }, }, + { + .callback = intel_no_lvds_dmi_callback, + .ident = "Gigabyte GA-D525TUD", + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "Gigabyte Technology Co., Ltd."), + DMI_MATCH(DMI_BOARD_NAME, "D525TUD"), + }, + }, { } /* terminating entry */ };