All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian McMenamin <adrian@mcmen.demon.co.uk>
To: Takashi Iwai <tiwai@suse.de>, Paul Mundt <lethal@linux-sh.org>
Cc: Alsa-devel <alsa-devel@lists.sourceforge.net>,
	linux-sh <linuxsh-dev@lists.sourceforge.net>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [Alsa-devel] Re: Patch for AICA sound support on SEGA Dreamcast
Date: Mon, 03 Apr 2006 23:36:02 +0100	[thread overview]
Message-ID: <1144103762.11511.55.camel@localhost.localdomain> (raw)
In-Reply-To: <s5h1wwea4wq.wl%tiwai@suse.de>

On Mon, 2006-04-03 at 20:29 +0200, Takashi Iwai wrote:

> 
> Anyway, you should use dma_wait_for_completion() instead of your
> home-made one.
> 
The dma_wait_for_completion is broken for g2 dma afaics. Paul - would
you concur?

(Unfortunately the dma_residue register in g2 does not stick at 0 when
there is no residue but returns to the size of the completed dma
transfer. Therefore I can really see no alternative but to writing my
own unless Paul has a better idea.)



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

WARNING: multiple messages have this Message-ID (diff)
From: Adrian McMenamin <adrian@mcmen.demon.co.uk>
To: Takashi Iwai <tiwai@suse.de>, Paul Mundt <lethal@linux-sh.org>
Cc: Alsa-devel <alsa-devel@lists.sourceforge.net>,
	linux-sh <linuxsh-dev@lists.sourceforge.net>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [Alsa-devel] Re: Patch for AICA sound support on SEGA Dreamcast
Date: Mon, 03 Apr 2006 23:36:02 +0100	[thread overview]
Message-ID: <1144103762.11511.55.camel@localhost.localdomain> (raw)
In-Reply-To: <s5h1wwea4wq.wl%tiwai@suse.de>

On Mon, 2006-04-03 at 20:29 +0200, Takashi Iwai wrote:

> 
> Anyway, you should use dma_wait_for_completion() instead of your
> home-made one.
> 
The dma_wait_for_completion is broken for g2 dma afaics. Paul - would
you concur?

(Unfortunately the dma_residue register in g2 does not stick at 0 when
there is no residue but returns to the size of the completed dma
transfer. Therefore I can really see no alternative but to writing my
own unless Paul has a better idea.)


  reply	other threads:[~2006-04-03 22:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-03 14:45 Patch for AICA sound support on SEGA Dreamcast Adrian McMenamin
2006-04-03 15:52 ` Takashi Iwai
2006-04-03 17:48   ` Adrian McMenamin
2006-04-03 18:29     ` Takashi Iwai
2006-04-03 22:36       ` Adrian McMenamin [this message]
2006-04-03 22:36         ` [Alsa-devel] " Adrian McMenamin
2006-04-03 18:00   ` Carlos Munoz
2006-04-03 18:32     ` Takashi Iwai
2006-04-04  0:16       ` Alistair John Strachan
2006-04-04  0:36         ` [Alsa-devel] " Lee Revell
2006-04-04  7:12           ` Adrian McMenamin
2006-04-04 13:57             ` [Alsa-devel] " Lee Revell
2006-04-04 21:17               ` Adrian McMenamin
2006-04-04 21:23                 ` Lee Revell
2006-04-15 19:34   ` [Alsa-devel] " Adrian McMenamin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1144103762.11511.55.camel@localhost.localdomain \
    --to=adrian@mcmen.demon.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=lethal@linux-sh.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxsh-dev@lists.sourceforge.net \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.