[PATCH v7 0/8] v4l: subdev active state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

v7 of the subdev active state series. v6 can be found from:

https://lore.kernel.org/all/20220324080030.216716-1-tomi.valkeinen@xxxxxxxxxxxxxxxx/

Only minor changes since v6:

- Use v4l2_subdev_get_pad_format in v4l2_subdev_get_fmt
- Update doc wrt. using v4l2_subdev_lock_and_return_state
- Rename v4l2_subdev_get_try_* to v4l2_subdev_get_pad_*, and add helper
  macros to keep the old func names working

Hans suggested changing v4l2_subdev_get_fmt() to
v4l2_subdev_pad_op_get_fmt() (or similar). I haven't made that change as
v4l2_subdev_get_fmt() can be used for other purposes than a pad op
function, but I'm not against the change if other people support the
change. It is an easy rename to do later.

 Tomi
 
Tomi Valkeinen (8):
  media: subdev: rename subdev-state alloc & free
  media: subdev: add active state to struct v4l2_subdev
  media: subdev: rename v4l2_subdev_get_pad_* helpers
  media: subdev: pass also the active state to subdevs from ioctls
  media: subdev: add subdev state locking
  media: subdev: add locking wrappers to subdev op wrappers
  media: subdev: add v4l2_subdev_get_fmt() helper function
  media: Documentation: add documentation about subdev state

 .../driver-api/media/v4l2-subdev.rst          |  69 +++++
 .../platform/renesas/rcar-vin/rcar-v4l2.c     |   9 +-
 .../media/platform/renesas/vsp1/vsp1_entity.c |  10 +-
 drivers/media/v4l2-core/v4l2-subdev.c         | 194 +++++++++++++--
 drivers/staging/media/tegra-video/vi.c        |  10 +-
 include/media/v4l2-subdev.h                   | 235 +++++++++++++++++-
 6 files changed, 483 insertions(+), 44 deletions(-)

-- 
2.25.1




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux