public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/7] V4L2 file handles and event interface
@ 2010-02-10 14:57 Sakari Ailus
  2010-02-10 14:58 ` [PATCH v4 1/7] V4L: File handles Sakari Ailus
  0 siblings, 1 reply; 22+ messages in thread
From: Sakari Ailus @ 2010-02-10 14:57 UTC (permalink / raw)
  To: linux-media@vger.kernel.org
  Cc: Laurent Pinchart, Hans Verkuil, Ivan T. Ivanov, Guru Raj,
	Cohen David Abraham

Hi,

Here's the sixth version of the V4L2 file handle and event interface
patchset.

The first patch adds the V4L2 file handle support and the rest are for
V4L2 events.

The patchset has been tested with the OMAP 3 ISP driver. Patches for
OMAP 3 ISP are not part of this patchset but are available in Gitorious
(branch is called event):

	git://gitorious.org/omap3camera/mainline.git event

Some more comments from Hans. What has changed:

- Events are timestamped in v4l2_event_queue().
- No ioctl handler for vidioc_dqevent or vidioc_unsubscribe_event
anymore. The __video_do_ioctl() calls directly v4l2_event_dequeue() and
v4l2_event_unsubscribe().
- v4l2_event->navailable and v4l2_event->max_alloc (was max_events) are
now unsigned int instead of atomic_t. They are modified only when the
video_device->fh_lock is held.
- No longer possible to allocate any more events than the limit in
v4l2_event_alloc().

- Possibly something else I don't happen to remember just now.

Comments are welcome as always.

Cheers,

-- 
Sakari Ailus
sakari.ailus@maxwell.research.nokia.com


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

end of thread, other threads:[~2010-02-19 19:12 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-10 14:57 [PATCH v4 0/7] V4L2 file handles and event interface Sakari Ailus
2010-02-10 14:58 ` [PATCH v4 1/7] V4L: File handles Sakari Ailus
2010-02-10 14:58   ` [PATCH v4 2/7] V4L: Events: Add new ioctls for events Sakari Ailus
2010-02-10 14:58     ` [PATCH v4 3/7] V4L: Events: Add backend Sakari Ailus
2010-02-10 14:58       ` [PATCH v4 4/7] V4L: Events: Support event handling in do_ioctl Sakari Ailus
2010-02-10 14:58         ` [PATCH v4 5/7] V4L: Events: Count event queue length Sakari Ailus
2010-02-10 14:58           ` [PATCH v4 6/7] V4L: Events: Sequence numbers Sakari Ailus
2010-02-10 14:58             ` [PATCH v4 7/7] V4L: Events: Support all events Sakari Ailus
2010-02-13 14:42               ` Hans Verkuil
2010-02-15 10:11                 ` Laurent Pinchart
2010-02-15 10:36                   ` Hans Verkuil
2010-02-19 19:11                     ` Sakari Ailus
2010-02-13 14:18           ` [PATCH v4 5/7] V4L: Events: Count event queue length Hans Verkuil
2010-02-13 13:49         ` [PATCH v4 4/7] V4L: Events: Support event handling in do_ioctl Hans Verkuil
2010-02-15 10:05           ` Laurent Pinchart
2010-02-15 10:31             ` Hans Verkuil
2010-02-13 13:41       ` [PATCH v4 3/7] V4L: Events: Add backend Hans Verkuil
2010-02-13 13:19     ` [PATCH v4 2/7] V4L: Events: Add new ioctls for events Hans Verkuil
2010-02-15  9:55       ` Laurent Pinchart
2010-02-15 10:28         ` Hans Verkuil
2010-02-15 10:45           ` Laurent Pinchart
2010-02-13 13:10   ` [PATCH v4 1/7] V4L: File handles Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox