From patchwork Wed Sep 2 05:11:36 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xiang, Haihao" X-Patchwork-Id: 45140 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n825AgcI030092 for ; Wed, 2 Sep 2009 05:10:42 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5ED7E9F370; Tue, 1 Sep 2009 22:10:41 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 5B9919E792 for ; Tue, 1 Sep 2009 22:10:39 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 01 Sep 2009 21:59:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,316,1249282800"; d="scan'208";a="723099733" Received: from xhh-ilk32.sh.intel.com (HELO localhost.localdomain) ([10.239.36.168]) by fmsmga001.fm.intel.com with ESMTP; 01 Sep 2009 22:13:41 -0700 From: "Xiang, Haihao" To: intel-gfx@lists.freedesktop.org Date: Wed, 2 Sep 2009 13:11:36 +0800 Message-Id: <1251868296-6595-3-git-send-email-haihao.xiang@intel.com> X-Mailer: git-send-email 1.5.6.3 In-Reply-To: <1251868296-6595-2-git-send-email-haihao.xiang@intel.com> References: <1251868296-6595-1-git-send-email-haihao.xiang@intel.com> <1251868296-6595-2-git-send-email-haihao.xiang@intel.com> Subject: [Intel-gfx] [PATCH] intel_gpu_dump: add support for IGDNG X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.9 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 --- lib/intel_chipset.h | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h index 4593d90..03ba0b2 100755 --- a/lib/intel_chipset.h +++ b/lib/intel_chipset.h @@ -67,6 +67,9 @@ #define PCI_CHIP_G45_G 0x2E22 #define PCI_CHIP_G41_G 0x2E32 +#define PCI_CHIP_ILD_G 0x0042 +#define PCI_CHIP_ILM_G 0x0046 + #define IS_MOBILE(devid) (devid == PCI_CHIP_I855_GM || \ devid == PCI_CHIP_I915_GM || \ devid == PCI_CHIP_I945_GM || \ @@ -82,6 +85,10 @@ #define IS_GM45(devid) (devid == PCI_CHIP_GM45_GM) #define IS_G4X(devid) (IS_G45(devid) || IS_GM45(devid)) +#define IS_ILD(devid) (devid == PCI_CHIP_ILD_G) +#define IS_ILM(devid) (devid == PCI_CHIP_ILM_G) +#define IS_IGDNG(devid) (IS_ILD(devid) || IS_ILM(devid)) + #define IS_915(devid) (devid == PCI_CHIP_I915_G || \ devid == PCI_CHIP_E7221_G || \ devid == PCI_CHIP_I915_GM) @@ -99,7 +106,8 @@ devid == PCI_CHIP_I965_GM || \ devid == PCI_CHIP_I965_GME || \ devid == PCI_CHIP_I946_GZ || \ - IS_G4X(devid)) + IS_G4X(devid) || \ + IS_IGDNG(devid)) #define IS_9XX(devid) (IS_915(devid) || \ IS_945(devid) || \