public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [REVIEWv1 PATCH 0/5] Add G/S_EDID support for video nodes
@ 2014-03-07 10:21 Hans Verkuil
  2014-03-07 10:21 ` [REVIEWv1 PATCH 1/5] v4l2-compat-ioctl32: fix wrong VIDIOC_SUBDEV_G/S_EDID32 support Hans Verkuil
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Hans Verkuil @ 2014-03-07 10:21 UTC (permalink / raw)
  To: linux-media; +Cc: marbugge, laurent.pinchart

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


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

end of thread, other threads:[~2014-03-07 14:31 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-07 10:21 [REVIEWv1 PATCH 0/5] Add G/S_EDID support for video nodes Hans Verkuil
2014-03-07 10:21 ` [REVIEWv1 PATCH 1/5] v4l2-compat-ioctl32: fix wrong VIDIOC_SUBDEV_G/S_EDID32 support Hans Verkuil
2014-03-07 14:04   ` Laurent Pinchart
2014-03-07 10:21 ` [REVIEWv1 PATCH 2/5] v4l2: allow v4l2_subdev_edid to be used with video nodes Hans Verkuil
2014-03-07 14:04   ` Laurent Pinchart
2014-03-07 10:21 ` [REVIEWv1 PATCH 3/5] v4l2: add VIDIOC_G/S_EDID support to the v4l2 core Hans Verkuil
2014-03-07 14:07   ` Laurent Pinchart
2014-03-07 10:21 ` [REVIEWv1 PATCH 4/5] adv*: replace the deprecated v4l2_subdev_edid by v4l2_edid Hans Verkuil
2014-03-07 14:07   ` Laurent Pinchart
2014-03-07 10:21 ` [REVIEWv1 PATCH 5/5] DocBook v4l2: update the G/S_EDID documentation Hans Verkuil
2014-03-07 14:09   ` Laurent Pinchart
2014-03-07 14:19     ` Hans Verkuil
2014-03-07 14:25       ` Laurent Pinchart
2014-03-07 14:31         ` Hans Verkuil

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