{"push_id":610870835,"size":9,"distinct_size":9,"ref":"refs/heads/latest","head":"fe165bd438a99152302185c7b4278ebbb54cfd2d","before":"3d5a8c3915b4d729b5204045a0a6d229935bedb9","commits":[{"sha":"f7234138f14c2296c5eb6b8224abe00b507faf3f","author":{"email":"3a513708f73c27e7d36ebc496aa41dad6a3153ea@cisco.com","name":"Hans Verkuil"},"message":"[media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config\n\nIf a subdevice pad op is called from a bridge driver, then there is\nno v4l2_subdev_fh struct that can be passed to the subdevice. This\nmade it hard to use such subdevs from a bridge driver.\n\nThis patch replaces the v4l2_subdev_fh pointer by a v4l2_subdev_pad_config\npointer in the pad ops. This allows bridge drivers to use the various\ntry_ pad ops by creating a v4l2_subdev_pad_config struct and passing it\nalong to the pad op.\n\nThe v4l2_subdev_get_try_* macros had to be changed because of this, so\nI also took the opportunity to use the full name of the v4l2_subdev_get_try_*\nfunctions in the __V4L2_SUBDEV_MK_GET_TRY macro arguments: if you now do\n'git grep v4l2_subdev_get_try_format' you will actually find the header\nwhere it is defined.\n\nOne remark regarding the drivers/staging/media/davinci_vpfe patches: the\n*_init_formats() functions assumed that fh could be NULL. However, that's\nnot true for this driver, it's always set. This is almost certainly a copy\nand paste from the omap3isp driver. I've updated the code to reflect the\nfact that fh is never NULL.\n\nSigned-off-by: Hans Verkuil <hans.verkuil@cisco.com>\nAcked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>\nTested-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>\nAcked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nAcked-by: Sakari Ailus <sakari.ailus@linux.intel.com>\nAcked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>\nSigned-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>","distinct":true,"url":"https://api.github.com/repos/ljalves/linux_media/commits/f7234138f14c2296c5eb6b8224abe00b507faf3f"},{"sha":"e1c47e732cbb4211d15ae0c4465dc4ceefcaa398","author":{"email":"3a513708f73c27e7d36ebc496aa41dad6a3153ea@cisco.com","name":"Hans Verkuil"},"message":"[media] v4l2-subdev.h: add 'which' field for the enum structs\n\nWhile all other pad ops allow you to select whether to use the 'try' or\nthe 'active' formats, the enum ops didn't have that option and always used\n'try'.\n\nHowever, this will fail if a simple (e.g. PCI) bridge driver wants to use\nthe enum pad op of a subdev that's also used in a complex platform driver\nlike the omap3. Such a bridge driver generally wants to enum formats based\non the active format.\n\nSo add a new 'which' field to these structs. Note that V4L2_SUBDEV_FORMAT_TRY\nis 0, so the default remains TRY (applications need to set reserved to 0).\n\nSigned-off-by: Hans Verkuil <hans.verkuil@cisco.com>\nAcked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>\nTested-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>\nAcked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nAcked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>\nSigned-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>","distinct":true,"url":"https://api.github.com/repos/ljalves/linux_media/commits/e1c47e732cbb4211d15ae0c4465dc4ceefcaa398"},{"sha":"20058f90916b7ed5e986c399240f58d9af8892e0","author":{"email":"3a513708f73c27e7d36ebc496aa41dad6a3153ea@cisco.com","name":"Hans Verkuil"},"message":"[media] v4l2-subdev.c: add 'which' checks for enum ops\n\nReturn an error if an invalid 'which' valid is passed in.\n\nSigned-off-by: Hans Verkuil <hans.verkuil@cisco.com>\nAcked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>\nTested-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>\nAcked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nAcked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>\nSigned-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>","distinct":true,"url":"https://api.github.com/repos/ljalves/linux_media/commits/20058f90916b7ed5e986c399240f58d9af8892e0"},{"sha":"3f1ccf16f3ea015e57c326c2b14010bf119b6184","author":{"email":"3a513708f73c27e7d36ebc496aa41dad6a3153ea@cisco.com","name":"Hans Verkuil"},"message":"[media] v4l2-subdev: support new 'which' field in enum_mbus_code\n\nSupport the new 'which' field in the enum_mbus_code ops. Most drivers do not\nneed to be changed since they always return the same enumeration regardless\nof the 'which' field.\n\nSigned-off-by: Hans Verkuil <hans.verkuil@cisco.com>\nAcked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>\nAcked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nSigned-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>","distinct":true,"url":"https://api.github.com/repos/ljalves/linux_media/commits/3f1ccf16f3ea015e57c326c2b14010bf119b6184"},{"sha":"5778e749c152567ac15201fcd988bc1604878021","author":{"email":"3a513708f73c27e7d36ebc496aa41dad6a3153ea@cisco.com","name":"Hans Verkuil"},"message":"[media] v4l2-subdev: add support for the new enum_frame_size 'which' field\n\nSupport the new 'which' field in the enum_frame_size ops. Most drivers do not\nneed to be changed since they always returns the same enumeration regardless\nof the 'which' field.\n\nSigned-off-by: Hans Verkuil <hans.verkuil@cisco.com>\nAcked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>\nTested-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>\nAcked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nAcked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>\nAcked-by: Andrzej Hajda <a.hajda@samsung.com>\nSigned-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>","distinct":true,"url":"https://api.github.com/repos/ljalves/linux_media/commits/5778e749c152567ac15201fcd988bc1604878021"},{"sha":"d3e4bd8e10cd70d35a59854dcdcd7280c5ed240c","author":{"email":"3a513708f73c27e7d36ebc496aa41dad6a3153ea@cisco.com","name":"Hans Verkuil"},"message":"[media] DocBook media: document the new 'which' field\n\nThe subdev enum ioctls now have a new 'which' field. Document this.\n\nSigned-off-by: Hans Verkuil <hans.verkuil@cisco.com>\nAcked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>\nAcked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nAcked-by: Sakari Ailus <sakari.ailus@linux.intel.com>\nAcked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>\nSigned-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>","distinct":true,"url":"https://api.github.com/repos/ljalves/linux_media/commits/d3e4bd8e10cd70d35a59854dcdcd7280c5ed240c"},{"sha":"17bef885249db5db921ac8cf6e23938a91a6cd7b","author":{"email":"3a513708f73c27e7d36ebc496aa41dad6a3153ea@cisco.com","name":"Hans Verkuil"},"message":"[media] v4l2-subdev: add support for the new enum_frame_interval 'which' field\n\nSupport the new 'which' field in the enum_frame_interval ops. Most drivers do not\nneed to be changed since they always returns the same enumeration regardless\nof the 'which' field.\n\nTested for ov7670 and marvell-ccic on a OLPC XO-1 laptop.\n\nSigned-off-by: Hans Verkuil <hans.verkuil@cisco.com>\nAcked-by: Jonathan Corbet <corbet@lwn.net>\nAcked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nTested-by: Hans Verkuil <hans.verkuil@cisco.com>\nSigned-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>","distinct":true,"url":"https://api.github.com/repos/ljalves/linux_media/commits/17bef885249db5db921ac8cf6e23938a91a6cd7b"},{"sha":"8a56b6b5fd6ff92b7e27d870b803b11b751660c2","author":{"email":"3a513708f73c27e7d36ebc496aa41dad6a3153ea@cisco.com","name":"Hans Verkuil"},"message":"[media] v4l2-subdev: remove enum_framesizes/intervals\n\nThe video and pad ops are duplicates, so get rid of the more limited video op.\n\nThe whole point of the subdev API is to allow reuse of subdev drivers by\nbridge drivers. Having duplicate ops makes that much harder. We should never\nhave allowed duplicate ops in the first place. A lesson for the future.\n\nSigned-off-by: Hans Verkuil <hans.verkuil@cisco.com>\nAcked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nAcked-by: Sakari Ailus <sakari.ailus@linux.intel.com>\nSigned-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>","distinct":true,"url":"https://api.github.com/repos/ljalves/linux_media/commits/8a56b6b5fd6ff92b7e27d870b803b11b751660c2"},{"sha":"fe165bd438a99152302185c7b4278ebbb54cfd2d","author":{"email":"7367d521136de37f3b1fafde9cc7163633044762@gmail.com","name":"Luis Alves"},"message":"Merge remote-tracking branch 'origin/master' into latest","distinct":true,"url":"https://api.github.com/repos/ljalves/linux_media/commits/fe165bd438a99152302185c7b4278ebbb54cfd2d"}]}