From patchwork Mon Sep 27 15:33:00 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 212822 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 o8RFXKiH006887 for ; Mon, 27 Sep 2010 15:33:41 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A970BA08C2 for ; Mon, 27 Sep 2010 08:33:19 -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 4FECFA02BD for ; Mon, 27 Sep 2010 08:33:10 -0700 (PDT) Received: by qyk34 with SMTP id 34so8689706qyk.15 for ; Mon, 27 Sep 2010 08:33:09 -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=xFRm0sfNpXr+ISGXwMCd1ypILa6NPrg/4SR04lCYk5U=; b=wi+m2FBltkm8g2W/mVFggCM27FHz7CQbIQzjGzipLkfMfav2NM5n2Uv4tXbokRtL4p t2Fe53Zbw3+CQEXEwL7op+ikiPU4YEktQ2joSF98+eWWDNWsNqiM+REC34yVMGn//HOp r7uwI2MHpBuhJmkH8bqeYYbN5eJA9ZFykXzNU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=JZ5om9i3Fv6cLnKzhD5+3N1XTK2KH6F6krFQU31Ch4BMp4p3dmi879R9PksW+WkA5j T5rU9PGwMLhkaMGAdvdRMGK/eQG2AxT1PVy9cYhp8zTBcAKIIGa+zTtvjbzT93rJlDdf jmVNdxyuSVFoEboCGn0hP3wh/XPQ3P94JHPxo= Received: by 10.224.6.129 with SMTP id 1mr5583175qaz.325.1285601589500; Mon, 27 Sep 2010 08:33:09 -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 q8sm6749519qcs.36.2010.09.27.08.33.07 (version=SSLv3 cipher=RC4-MD5); Mon, 27 Sep 2010 08:33:08 -0700 (PDT) From: Alex Deucher To: airlied@gmail.com, dri-devel@lists.freedesktop.org Subject: [PATCH] drm/radeon/kms: add quirk for MSI K9A2GM motherboard Date: Mon, 27 Sep 2010 11:33:00 -0400 Message-Id: <1285601580-23490-1-git-send-email-alexdeucher@gmail.com> X-Mailer: git-send-email 1.7.1.1 Cc: stable@kernel.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.3 (demeter1.kernel.org [140.211.167.41]); Mon, 27 Sep 2010 15:33:41 +0000 (UTC) diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c index ebae14c..68932ba 100644 --- a/drivers/gpu/drm/radeon/radeon_atombios.c +++ b/drivers/gpu/drm/radeon/radeon_atombios.c @@ -317,6 +317,15 @@ static bool radeon_atom_apply_quirks(struct drm_device *dev, *connector_type = DRM_MODE_CONNECTOR_DVID; } + /* MSI K9A2GM V2/V3 board has no HDMI or DVI */ + if ((dev->pdev->device == 0x796e) && + (dev->pdev->subsystem_vendor == 0x1462) && + (dev->pdev->subsystem_device == 0x7302)) { + if ((supported_device == ATOM_DEVICE_DFP2_SUPPORT) || + (supported_device == ATOM_DEVICE_DFP3_SUPPORT)) + return false; + } + /* a-bit f-i90hd - ciaranm on #radeonhd - this board has no DVI */ if ((dev->pdev->device == 0x7941) && (dev->pdev->subsystem_vendor == 0x147b) &&