Re: [RFC PATCH] media-device: add index field to media_v2_pad

2018-02-05 Thread Mauro Carvalho Chehab
Em Mon, 5 Feb 2018 13:42:48 +0100 Hans Verkuil escreveu: > On 02/05/2018 01:39 PM, Mauro Carvalho Chehab wrote: > > Em Sun, 4 Feb 2018 14:53:31 +0100 > > Hans Verkuil escreveu: > > > >> Userspace has no way of knowing the pad index for the entity that

Re: [RFC PATCH] media-device: add index field to media_v2_pad

2018-02-05 Thread Hans Verkuil
On 02/05/2018 01:39 PM, Mauro Carvalho Chehab wrote: > Em Sun, 4 Feb 2018 14:53:31 +0100 > Hans Verkuil escreveu: > >> Userspace has no way of knowing the pad index for the entity that >> owns the pad with the MEDIA_IOC_G_TOPOLOGY ioctl. However, various >> v4l-subdev ioctls

Re: [RFC PATCH] media-device: add index field to media_v2_pad

2018-02-05 Thread Mauro Carvalho Chehab
Em Sun, 4 Feb 2018 14:53:31 +0100 Hans Verkuil escreveu: > Userspace has no way of knowing the pad index for the entity that > owns the pad with the MEDIA_IOC_G_TOPOLOGY ioctl. However, various > v4l-subdev ioctls need to pass this as an argument. While I'm OK on adding a

[RFC PATCH] media-device: add index field to media_v2_pad

2018-02-04 Thread Hans Verkuil
Userspace has no way of knowing the pad index for the entity that owns the pad with the MEDIA_IOC_G_TOPOLOGY ioctl. However, various v4l-subdev ioctls need to pass this as an argument. Add this missing information. Signed-off-by: Hans Verkuil --- RFC, so no documentation