From patchwork Mon Apr 19 08:50:34 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 93440 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3J8ofYJ007492 for ; Mon, 19 Apr 2010 08:51:16 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B69D29EC1D; Mon, 19 Apr 2010 01:50:40 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 761E49EC0F for ; Mon, 19 Apr 2010 01:50:38 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 19 Apr 2010 01:49:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.52,234,1270450800"; d="scan'208";a="614383915" Received: from ubuntu-hp.sh.intel.com (HELO localhost.localdomain) ([10.239.36.143]) by orsmga001.jf.intel.com with ESMTP; 19 Apr 2010 01:50:30 -0700 From: Zhenyu Wang To: intel-gfx@lists.freedesktop.org Date: Mon, 19 Apr 2010 16:50:34 +0800 Message-Id: <1271667034-4319-2-git-send-email-zhenyuw@linux.intel.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1271667034-4319-1-git-send-email-zhenyuw@linux.intel.com> References: <1271667034-4319-1-git-send-email-zhenyuw@linux.intel.com> Subject: [Intel-gfx] [PATCH 2/2] intel: Add Sandybridge mobile chipset id X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 19 Apr 2010 08:51:16 +0000 (UTC) diff --git a/src/mesa/drivers/dri/intel/intel_chipset.h b/src/mesa/drivers/dri/intel/intel_chipset.h index dbc08c8..cd614c5 100644 --- a/src/mesa/drivers/dri/intel/intel_chipset.h +++ b/src/mesa/drivers/dri/intel/intel_chipset.h @@ -72,6 +72,7 @@ #define PCI_CHIP_ILM_G 0x0046 #define PCI_CHIP_SANDYBRIDGE 0x0102 +#define PCI_CHIP_SANDYBRIDGE_M 0x0106 #define IS_MOBILE(devid) (devid == PCI_CHIP_I855_GM || \ devid == PCI_CHIP_I915_GM || \ @@ -114,7 +115,8 @@ devid == PCI_CHIP_I946_GZ || \ IS_G4X(devid)) -#define IS_GEN6(devid) (devid == PCI_CHIP_SANDYBRIDGE) +#define IS_GEN6(devid) (devid == PCI_CHIP_SANDYBRIDGE || \ + devid == PCI_CHIP_SANDYBRIDGE_M) #define IS_965(devid) (IS_GEN4(devid) || \ IS_G4X(devid) || \