]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: udlfb: pre-allocated urb list helpers
authorBernie Thompson <bernie@plugable.com>
Mon, 15 Feb 2010 14:45:55 +0000 (06:45 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:59 +0000 (16:42 -0800)
commit22d049c5d045566148835959fe8da52495b73433
treec4b6af4581bfe1024f53bd593267d364ab85d3d7
parent94033efbaccbfa4548d51f9e96c500df889e0de0
Staging: udlfb: pre-allocated urb list helpers

Add functions to pre-allocate and free usb bulk urbs for core render path.

Udlfb currently allocates a single urb, guarded by a mutex, that is a key
bottleneck. Because udlfb sends so much data, preallocation is most efficient.

Functions will be used by new rendering functions in later patches.

Signed-off-by: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/udlfb/udlfb.c
drivers/staging/udlfb/udlfb.h