[PATCH V4 0/2] UVC webcam gadget related changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patchset tries to enhance the UVC webcam gadget driver and is based on
Laurent's git tree available here (head uvc-gadget):
git://linuxtv.org/pinchartl/uvcvideo.git

Note that to ease review and integration of these patches, I have rebased them
on Laurent's repo and all the relevant patches after review can be pushed in
Felipe's repo in one go.

The patches 1/2 and 2/2 in this patchset try to handle all the review comments
received on the following UVC gadget related patches:

[PATCH V3 3/5] usb: gadget/uvc: Port UVC webcam gadget to use
		videobuf2 framework
[PATCH V3 5/5] usb: gadget/uvc: Add support for 'get_unmapped_area'
		for MMUless architectures

which can be viewed here:
[1] http://comments.gmane.org/gmane.linux.usb.general/77772
[2] http://www.spinics.net/lists/linux-usb/msg77400.html

The rest of the patches in the V3 patchset have already been accepted
into Laurent's git tree.

I have tested this patchset on a super-speed compliant USB device controller
(DWC3), with the VIVI capture device acting as a dummy source of video data and
I also have modified the 'uvc-gadget' application written by Laurent
(original application available here: http://git.ideasonboard.org/uvc-gadget.git)
for testing the complete flow from V4L2 to UVC domain and vice versa.

I will send a patch for the modified 'uvc-gadget' application in a separate
patch.

Changes since V3:
- Addresses the review comments received on V3 of this patchset from Laurent
  and Michael Grzeschik.

- The changes suggested by Laurent and Alan to remove WARN_ON messages
  from the UDC controller drivers in case the gadget tries to dequeue a USB
  request which was never queued to the UDC controller, will be floated
  as a separate patch.


Bhupesh Sharma (2):
  usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework
  usb: gadget/uvc: Add support for 'get_unmapped_area' for MMUless
    architectures

 drivers/usb/gadget/Kconfig     |    1 +
 drivers/usb/gadget/uvc_queue.c |  539 +++++++++++++---------------------------
 drivers/usb/gadget/uvc_queue.h |   25 +--
 drivers/usb/gadget/uvc_v4l2.c  |   48 ++--
 drivers/usb/gadget/uvc_video.c |   17 +-
 5 files changed, 213 insertions(+), 417 deletions(-)

-- 
1.7.2.2

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux