This patchset adds a source_change event to the v4l2-events. This can be used for notifying the userspace about runtime format changes happening on video nodes / pads like resolution change in video decoder. This version includes suggestions from Hans and Laurent to make it more generic and to be used by all kinds of video devices to notify userspace about runtime parameter changes. The discussion can be seen here [1] If this is accepted, I can send another series implementing v4l2_event_init() for zeoring the data array addressing compatibility issues as discussed in [1]. [1] https://patchwork.kernel.org/patch/4023131/ Changes from v2 --------------- - Event can be subscribed on specific pad / port as suggested by Hans. Changes from v1 --------------- - Addressed review comments from Hans and Laurent https://patchwork.kernel.org/patch/4000951/ Arun Kumar K (1): [media] v4l: Add source change event Pawel Osciak (1): [media] s5p-mfc: Add support for resolution change event Documentation/DocBook/media/v4l/vidioc-dqevent.xml | 32 +++++++++++++++++ .../DocBook/media/v4l/vidioc-subscribe-event.xml | 19 +++++++++++ drivers/media/platform/s5p-mfc/s5p_mfc.c | 7 ++++ drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 2 ++ drivers/media/v4l2-core/v4l2-event.c | 36 ++++++++++++++++++++ include/media/v4l2-event.h | 4 +++ include/uapi/linux/videodev2.h | 8 +++++ 7 files changed, 108 insertions(+) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html