[lkml]   [2010]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Use of start_frame in usbusx2yaudio.c
On Wed, May 12, 2010 at 10:54:23AM -0400, Alan Stern wrote:
> On Tue, 11 May 2010, Sarah Sharp wrote:
> > Are there any drivers in the kernel that set urb->start_frame on every
> > URB?
> >
> > Could those drivers handle it if only the first URB they submitted to
> > the host controller was scheduled for that frame ID, and all the rest of
> > the URBs were scheduled ASAP?
> BTW, urb->start_frame generally is ignored as an input parameter. Many
> host controller drivers pay no attention to it. Unless someone has a
> real reason, I think we are better off not using it.

Oh good. In theory, the xHCI driver is supposed to be able to set the
starting frame ID of an isoc transfer (although the current patches for
isoc don't do that). The xHCI spec writers were looking at limiting
software to only being able to set the frame ID on the very first
transfer you enqueue to the endpoint, to limit the complexity of the
hardware scheduler. It looks like they won't have an issue with legacy
drivers if they do.

Sarah Sharp

 \ /
  Last update: 2010-05-12 17:25    [W:0.027 / U:1.228 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site