[REVIEWv1 PATCH 0/5] Add G/S_EDID support for video nodes

Hans Verkuil
2014-03-07T10:21:30Z

Currently the VIDIOC_SUBDEV_G/S_EDID and struct v4l2_subdev_edid are subdev
APIs. However, that's in reality quite annoying since for simple video
pipelines there is no need to create v4l-subdev device nodes for anything
else except for setting or getting EDIDs.

What happens in practice is that v4l2 bridge drivers add explicit support
for VIDIOC_SUBDEV_G/S_EDID themselves, just to avoid having to create
subdev device nodes just for this.

So this patch series makes the ioctls available as regular ioctls as
well. In that case the pad field is interpreted as the input or output
index as returned by ENUMINPUT/OUTPUT.

Changes since RFCv1:

- Split off the compat32 fix (I'll queue this for 3.14)
- Interpret pad as an input or output index when used with a video node.
- S_EDID is now enabled for rx devices instead of tx.
- Fix a one tab too many.

Regards,

Hans