From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Revell Subject: Re: [PATCH] emu10k1: various (mostly trivial) small cleanups Date: Mon, 14 Mar 2005 18:56:18 -0500 Message-ID: <1110844578.15588.12.camel@mindpipe> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit In-Reply-To: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Clemens Ladisch Cc: alsa-devel List-Id: alsa-devel@alsa-project.org On Mon, 2005-03-14 at 09:23 +0100, Clemens Ladisch wrote: > Lee Revell wrote: > > timer.c ... I just copied and pasted from the ymfpci driver & > > changed the registers. > > BTW: Does the Emu10k1 have some sample/tick counter that runs even if > no PCMs are running? If so, it would be possible to detect lost timer > interrupts. In practice I have found that interrupts are basically never lost. The only time I ever saw this happen was when the VIA Unichrome XAA (yep, userspace!) driver had a FIFO related bug where it would temporarily stall the PCI bus. I guess I am wondering whether this would be worth implementing. Do you think the overhead of reading the wall clock register on every timer interrupt is worth it? Lee ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click