From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wu Fengguang Subject: [PATCH 07/18] intel_audio_dump: fix Ironlake detection Date: Sat, 12 Nov 2011 11:12:44 +0800 Message-ID: <20111112031410.878002168@intel.com> References: <20111112031237.321877255@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id BA45C9E80F for ; Fri, 11 Nov 2011 19:16:11 -0800 (PST) Content-Disposition: inline; filename=cpt-id List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org Cc: Wu Fengguang List-Id: intel-gfx@lists.freedesktop.org The original test mistakenly calls dump_cpt() for Ironlake, due to HAS_PCH_SPLIT := IS_GEN5 || IS_GEN6 || IS_GEN7. Signed-off-by: Wu Fengguang --- tools/intel_audio_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- intel-gpu-tools.orig/tools/intel_audio_dump.c 2011-11-09 10:35:35.000000000 +0800 +++ intel-gpu-tools/tools/intel_audio_dump.c 2011-11-09 10:35:35.000000000 +0800 @@ -1194,7 +1194,7 @@ int main(int argc, char **argv) else intel_get_mmio(pci_dev); - if (HAS_PCH_SPLIT(devid) || getenv("HAS_PCH_SPLIT")) { + if (IS_GEN6(devid) || IS_GEN7(devid) || getenv("HAS_PCH_SPLIT")) { intel_check_pch(); dump_cpt(); } else if (IS_GEN5(devid))