From owner-freebsd-multimedia@FreeBSD.ORG Thu Apr 14 17:11:51 2005 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82C4A16A4CE for ; Thu, 14 Apr 2005 17:11:51 +0000 (GMT) Received: from drizzle.CC.McGill.CA (drizzle.CC.McGill.CA [132.206.27.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07B8943D49 for ; Thu, 14 Apr 2005 17:11:51 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from mailscan3.cc.mcgill.ca (mailscan3.CC.McGill.CA [132.216.77.250])j3EHBa8t015412; Thu, 14 Apr 2005 13:11:40 -0400 Received: from cube.cnd.mcgill.ca (cube.CND.McGill.CA [132.216.25.196]) j3EHBFBt008521; Thu, 14 Apr 2005 13:11:15 -0400 (EDT) Received: from localhost.localdomain (acid.cnd.mcgill.ca [132.216.11.151]) by cube.cnd.mcgill.ca (8.12.11/8.12.11) with ESMTP id j3EHB324020370; Thu, 14 Apr 2005 13:11:03 -0400 Received: from localhost.localdomain (acid [127.0.0.1]) j3EHB3Vx008172; Thu, 14 Apr 2005 13:11:03 -0400 Received: (from mat@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id j3EHB2QL008171; Thu, 14 Apr 2005 13:11:02 -0400 Date: Thu, 14 Apr 2005 13:11:02 -0400 From: Mathew Kanner To: Alexander Leidinger Message-ID: <20050414171102.GJ2178@cnd.mcgill.ca> References: <20050410195645.GA2178@cnd.mcgill.ca> <20050414.021552.343134310.kazuhito@ph.noda.tus.ac.jp> <20050413172534.GF2178@cnd.mcgill.ca> <20050414161546.kwroviadwsw8k0w0@netchild.homeip.net> <20050414152146.GI2178@cnd.mcgill.ca> <20050414183511.4o2rsij4k0coksck@netchild.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050414183511.4o2rsij4k0coksck@netchild.homeip.net> User-Agent: Mutt/1.4.2i Organization: I speak for myself, operating in Montreal, CANADA cc: freebsd-multimedia@freebsd.org cc: Mathew Kanner cc: julian@elischer.org Subject: Re: de-dma uaudio X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 17:11:51 -0000 On Apr 14, Alexander Leidinger wrote: > Mathew Kanner wrote: > > >>Do I understand this patch right: it changes from DMA access to non-DMA > >>access? > >> > >>If yes: can someone please explain me why this is a good thing? > > > > Upper layer does not use DMA. It just isn't use so why > >allocate special memeory for it. > > And our USB stack ([eou]hci) can't ever grow the feature of doing DMA? That's a lower layer. I'm removing the DMA mem allocation in the PCM layer. The uaudio driver does it's own buffer allocation (though I don't think it's dma capable at that layer, but when it is...) It's bad that we have to do so many copies but we can't just easily rewrite the uaudio driver. --Mat --