All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv6 00/12] media/mc: fix inconsistencies
@ 2018-07-10  8:45 Hans Verkuil
  2018-07-10  8:45 ` [PATCHv6 01/12] media: add 'index' to struct media_v2_pad Hans Verkuil
                   ` (11 more replies)
  0 siblings, 12 replies; 18+ messages in thread
From: Hans Verkuil @ 2018-07-10  8:45 UTC (permalink / raw)
  To: linux-media

From: Hans Verkuil <hans.verkuil@cisco.com>

This series is v6 of my previous attempt:

https://www.mail-archive.com/linux-media@vger.kernel.org/msg133178.html

The goal is to fix the inconsistencies between the 'old' and 'new' 
MC API. I hate the terms 'old' and 'new', there is nothing wrong IMHO with 
using an 'old' API if it meets the needs of the application.

Making G_TOPOLOGY useful is urgently needed since I think that will be
very helpful for the work we want to do on library support for complex
cameras.

Changes since v5:

- Added Reviewed-by tags from Laurent.
- Improved the commit log of patch 05/12 mentioning that it also modifies
  drivers.
- Rephrased the pad index explanation in patch 11/12: new pad indices do
  not necessarily have to be added to the end. The key is that existing pad
  indices should never be renumbered. Since there can be holes in the pad
  indices it is always possible that a new pad uses one of those unused
  indices.

Changes since v4:

- Improve documentation of the new index field in patch 2.
- Added patch 11 to sync the index field documentation in media-ioc-enum-links.rst
  with the index field documentation from media-ioc-g-topology.rst.
- Added patch 12 that clarifies that you should not hardcode ID values
  in applications since they can change between instances of the device.
  Also document that the entity name is unique within the media topology.

Changes since v3:

- Renamed MEDIA_ENT_F_DTV_ENCODER to MEDIA_ENT_F_DV_ENCODER
- Added a new patch renaming MEDIA_ENT_F_DTV_DECODER to MEDIA_ENT_F_DV_DECODER.
- Added a new patch that reorders the function defines in media.h so that they
  are in increasing numerical order (the en/decoder functions where not in
  order).
- Added Sakari's Acks (except for the two new patches).

Regards,

        Hans


Hans Verkuil (12):
  media: add 'index' to struct media_v2_pad
  media-ioc-g-topology.rst: document new 'index' field
  media: add flags field to struct media_v2_entity
  media-ioc-g-topology.rst: document new 'flags' field
  media: rename MEDIA_ENT_F_DTV_DECODER to MEDIA_ENT_F_DV_DECODER
  media.h: add MEDIA_ENT_F_DV_ENCODER
  media.h: reorder video en/decoder functions
  ad9389b/adv7511: set proper media entity function
  adv7180/tvp514x/tvp7002: fix entity function
  media/i2c: add missing entity functions
  media-ioc-enum-links.rst: improve pad index description
  media-ioc-enum-entities.rst/-g-topology.rst: clarify ID/name usage

 .../uapi/mediactl/media-ioc-enum-entities.rst |  9 ++--
 .../uapi/mediactl/media-ioc-enum-links.rst    |  4 +-
 .../uapi/mediactl/media-ioc-g-topology.rst    | 42 +++++++++++++++----
 .../media/uapi/mediactl/media-types.rst       |  9 +++-
 drivers/media/i2c/ad9389b.c                   |  1 +
 drivers/media/i2c/adv7180.c                   |  2 +-
 drivers/media/i2c/adv7511.c                   |  1 +
 drivers/media/i2c/adv7604.c                   |  1 +
 drivers/media/i2c/adv7842.c                   |  1 +
 drivers/media/i2c/et8ek8/et8ek8_driver.c      |  1 +
 drivers/media/i2c/mt9m032.c                   |  1 +
 drivers/media/i2c/mt9p031.c                   |  1 +
 drivers/media/i2c/mt9t001.c                   |  1 +
 drivers/media/i2c/mt9v032.c                   |  1 +
 drivers/media/i2c/tda1997x.c                  |  2 +-
 drivers/media/i2c/tvp514x.c                   |  2 +-
 drivers/media/i2c/tvp7002.c                   |  2 +-
 drivers/media/media-device.c                  |  2 +
 include/uapi/linux/media.h                    | 39 +++++++++++++----
 19 files changed, 97 insertions(+), 25 deletions(-)

-- 
2.18.0

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

end of thread, other threads:[~2018-07-24 12:15 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-10  8:45 [PATCHv6 00/12] media/mc: fix inconsistencies Hans Verkuil
2018-07-10  8:45 ` [PATCHv6 01/12] media: add 'index' to struct media_v2_pad Hans Verkuil
2018-07-10  8:45 ` [PATCHv6 02/12] media-ioc-g-topology.rst: document new 'index' field Hans Verkuil
2018-07-13 15:23   ` Mauro Carvalho Chehab
2018-07-17 11:58     ` Hans Verkuil
2018-07-24 10:53       ` Mauro Carvalho Chehab
2018-07-24 11:08   ` [PATCHv6.1 " Hans Verkuil
2018-07-10  8:45 ` [PATCHv6 03/12] media: add flags field to struct media_v2_entity Hans Verkuil
2018-07-10  8:45 ` [PATCHv6 04/12] media-ioc-g-topology.rst: document new 'flags' field Hans Verkuil
2018-07-10  8:45 ` [PATCHv6 05/12] media: rename MEDIA_ENT_F_DTV_DECODER to MEDIA_ENT_F_DV_DECODER Hans Verkuil
2018-07-10  8:45 ` [PATCHv6 06/12] media.h: add MEDIA_ENT_F_DV_ENCODER Hans Verkuil
2018-07-10  8:45 ` [PATCHv6 07/12] media.h: reorder video en/decoder functions Hans Verkuil
2018-07-10  8:45 ` [PATCHv6 08/12] ad9389b/adv7511: set proper media entity function Hans Verkuil
2018-07-10  8:45 ` [PATCHv6 09/12] adv7180/tvp514x/tvp7002: fix " Hans Verkuil
2018-07-10  8:45 ` [PATCHv6 10/12] media/i2c: add missing entity functions Hans Verkuil
2018-07-10  8:45 ` [PATCHv6 11/12] media-ioc-enum-links.rst: improve pad index description Hans Verkuil
2018-07-24 11:09   ` [PATCHv6.1 " Hans Verkuil
2018-07-10  8:45 ` [PATCHv6 12/12] media-ioc-enum-entities.rst/-g-topology.rst: clarify ID/name usage Hans Verkuil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.