All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: isight: add now required waking of DMA context
@ 2011-05-31  9:07 Stefan Richter
  2011-06-22  6:59 ` [PATCH 3.0-rc1 resend] " Stefan Richter
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Richter @ 2011-05-31  9:07 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel

Since commit 13882a82ee16, upper-layer firewire drivers are required to
flush after enqueueing a batch of isochronous buffers.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
---
Actually, snd-isight still worked for me without it but I guess I was
just lucky that the controllers (FW643-e, JMB381, XIO2213A) never read
up to the current tail of the DMA program.

Dismiss this if you already have something like this in the pipeline.

 sound/firewire/isight.c |    1 +
 1 file changed, 1 insertion(+)

Index: b/sound/firewire/isight.c
===================================================================
--- a/sound/firewire/isight.c
+++ b/sound/firewire/isight.c
@@ -213,6 +213,7 @@ static void isight_packet(struct fw_iso_
 	if (++index >= QUEUE_LENGTH)
 		index = 0;
 	isight->packet_index = index;
+	fw_iso_context_queue_flush(isight->context);
 }
 
 static int isight_connect(struct isight *isight)


-- 
Stefan Richter
-=====-==-== -=-= =====
http://arcgraph.de/sr/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 3.0-rc1 resend] ALSA: isight: add now required waking of DMA context
  2011-05-31  9:07 [PATCH] ALSA: isight: add now required waking of DMA context Stefan Richter
@ 2011-06-22  6:59 ` Stefan Richter
  2011-06-22  7:05   ` Clemens Ladisch
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Richter @ 2011-06-22  6:59 UTC (permalink / raw)
  To: Takashi Iwai, Jaroslav Kysela; +Cc: alsa-devel, Clemens Ladisch

Date: Tue, 31 May 2011 11:07:50 +0200

Since commit 13882a82ee16, upper-layer firewire drivers are required to
flush after queuing a batch of isochronous buffers.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
---
 sound/firewire/isight.c |    1 +
 1 file changed, 1 insertion(+)

Index: b/sound/firewire/isight.c
===================================================================
--- a/sound/firewire/isight.c
+++ b/sound/firewire/isight.c
@@ -213,6 +213,7 @@ static void isight_packet(struct fw_iso_
 	if (++index >= QUEUE_LENGTH)
 		index = 0;
 	isight->packet_index = index;
+	fw_iso_context_queue_flush(isight->context);
 }
 
 static int isight_connect(struct isight *isight)


-- 
Stefan Richter
-=====-==-== -==- =-==-
http://arcgraph.de/sr/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 3.0-rc1 resend] ALSA: isight: add now required waking of DMA context
  2011-06-22  6:59 ` [PATCH 3.0-rc1 resend] " Stefan Richter
@ 2011-06-22  7:05   ` Clemens Ladisch
  2011-06-22 12:30     ` Stefan Richter
  0 siblings, 1 reply; 4+ messages in thread
From: Clemens Ladisch @ 2011-06-22  7:05 UTC (permalink / raw)
  To: Stefan Richter; +Cc: Takashi Iwai, alsa-devel

Stefan Richter wrote:
> Since commit 13882a82ee16, upper-layer firewire drivers are required to
> flush after queuing a batch of isochronous buffers.

Sorry for being silent about this, but my original patch is already in
Linus' tree.


Regards,
Clemens

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 3.0-rc1 resend] ALSA: isight: add now required waking of DMA context
  2011-06-22  7:05   ` Clemens Ladisch
@ 2011-06-22 12:30     ` Stefan Richter
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Richter @ 2011-06-22 12:30 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: Takashi Iwai, alsa-devel

On Jun 22 Clemens Ladisch wrote:
> Stefan Richter wrote:
> > Since commit 13882a82ee16, upper-layer firewire drivers are required to
> > flush after queuing a batch of isochronous buffers.
> 
> Sorry for being silent about this, but my original patch is already in
> Linus' tree.

Indeed, which I would have noticed had I rebased onto -rc4 yet.  Thanks,
-- 
Stefan Richter
-=====-==-== -==- =-==-
http://arcgraph.de/sr/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-22 12:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-31  9:07 [PATCH] ALSA: isight: add now required waking of DMA context Stefan Richter
2011-06-22  6:59 ` [PATCH 3.0-rc1 resend] " Stefan Richter
2011-06-22  7:05   ` Clemens Ladisch
2011-06-22 12:30     ` Stefan Richter

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.