RFC media: events: add new flags
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | media: videodev2.h: add flags field to v4l2_eventdrivers/ drivers/ include/ | +10 | 0 replies | |
| 2/5 | media: videodev2.h: add new v4l2_event flagsinclude/ | +3 | 0 replies | |
| 3/5 | media: v4l2-event: add support for V4L2_EVENT_FL_MULTIPLEdrivers/ | +3 | 1 reply | |
| 4/5 | media: v4l2-ctrls: set the new V4L2_EVENT_FL_INITIAL flagdrivers/ | +1 | 0 replies | |
| 5/5 | Documentation: media: document new event flagsDocumentation/ Documentation/ Documentation/ | +35 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/5] media: events: add new flags
Note: this patch series sits on top of this patch:
https://patchwork.linuxtv.org/project/linux-media/patch/[email protected]/
However, it can be rebased if needed without that patch.
This series adds a flags field for v4l2_event and adds two flags:
one to indicate that the event is the initial event as requested by V4L2_EVENT_SUB_FL_SEND_INITIAL, and one flag to indicate that the event is a merger multiple events, meaning that some history is lost.
This information is particularly useful when debugging event issues.
Regards,
Hans
Hans Verkuil (5):
media: videodev2.h: add flags field to v4l2_event
media: videodev2.h: add new v4l2_event flags
media: v4l2-event: add support for V4L2_EVENT_FL_MULTIPLE
media: v4l2-ctrls: set the new V4L2_EVENT_FL_INITIAL flag
Documentation: media: document new event flags
.../media/v4l/vidioc-dqevent.rst | 29 +++++++++++++++++-- .../media/v4l/vidioc-subscribe-event.rst | 6 ++-- .../media/videodev2.h.rst.exceptions | 7 +++-- drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 8 +++-- drivers/media/v4l2-core/v4l2-ctrls-core.c | 1 + drivers/media/v4l2-core/v4l2-event.c | 3 ++ drivers/media/v4l2-core/v4l2-ioctl.c | 4 +-- include/uapi/linux/videodev2.h | 6 +++- 8 files changed, 52 insertions(+), 12 deletions(-)
Signature · 1 line
2.51.0