From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wu Fengguang Subject: Re: [PATCH v5] drm/i915: pass ELD to HDMI/DP audio driver Date: Wed, 9 Nov 2011 21:12:33 +0800 Message-ID: <20111109131233.GA13654@localhost> References: <20110905123128.GA31852@localhost> <4E64C41B.5090309@pulseforce.com> <20110905124730.GB794@localhost> <4EA82DBD.9020301@pulseforce.com> <4EA9B6EF.9040305@pulseforce.com> <20111101113645.GA19100@localhost> <4EB025B0.4000900@pulseforce.com> <20111102014541.GA16026@localhost> <4EB4813B.6060809@pulseforce.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="3MwIy2ne0vdjdPXF" Return-path: Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by gabe.freedesktop.org (Postfix) with ESMTP id 28A249E893 for ; Wed, 9 Nov 2011 05:12:38 -0800 (PST) Content-Disposition: inline In-Reply-To: <4EB4813B.6060809@pulseforce.com> 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: Christopher White Cc: Jeremy Bush , "intel-gfx@lists.freedesktop.org" , "Wang, Zhenyu Z" , "Bossart, Pierre-louis" List-Id: intel-gfx@lists.freedesktop.org --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Christopher, > Now, onto the intel-gpu-tools test. I ran intel_audio_dump as requested > and it only comes back with "Couldn't map MMIO region: No such file or > directory". I spent 10 minutes looking around on Google to no avail. It > seems it tries to mmap() something that doesn't exist. What if you run it with export HAS_PCH_SPLIT=1 intel_audio_dump I also queued a patch for the tool. Note that if the above trick failed to work, the applied patch won't help, too. Thanks, Fengguang --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=cpt-id Subject: intel_audio_dump: fix CPT detection logic Date: Wed Nov 02 17:16:39 CST 2011 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)) --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --3MwIy2ne0vdjdPXF--