Re: [PATCH v7 07/27] media: entity: Use pad as the starting point for a pipeline

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

 



On 08/07/2021 15:36, Jacopo Mondi wrote:
Hello Tomi,
     A few minors and a question below

On Mon, May 24, 2021 at 01:43:48PM +0300, Tomi Valkeinen wrote:
From: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>

The pipeline has been moved from the entity to the pads; reflect this in
the media pipeline function API.

Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@xxxxxxxxxxxx>
Reviewed-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
Reviewed-by: Jacopo Mondi <jacopo+renesas@xxxxxxxxxx>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@xxxxxxxxxxxxxxxx>
---
  Documentation/driver-api/media/mc-core.rst    |  6 ++--
  drivers/media/mc/mc-entity.c                  | 24 ++++++-------
  drivers/media/pci/intel/ipu3/ipu3-cio2-main.c |  6 ++--
  .../media/platform/exynos4-is/fimc-capture.c  |  8 ++---
  .../platform/exynos4-is/fimc-isp-video.c      |  8 ++---
  drivers/media/platform/exynos4-is/fimc-lite.c |  8 ++---
  drivers/media/platform/omap3isp/ispvideo.c    |  6 ++--
  .../media/platform/qcom/camss/camss-video.c   |  6 ++--
  drivers/media/platform/rcar-vin/rcar-dma.c    |  6 ++--
  .../platform/rockchip/rkisp1/rkisp1-capture.c |  6 ++--
  .../media/platform/s3c-camif/camif-capture.c  |  6 ++--
  drivers/media/platform/stm32/stm32-dcmi.c     |  6 ++--
  .../platform/sunxi/sun4i-csi/sun4i_dma.c      |  6 ++--
  .../platform/sunxi/sun6i-csi/sun6i_video.c    |  6 ++--
  drivers/media/platform/ti-vpe/cal-video.c     |  6 ++--
  drivers/media/platform/vsp1/vsp1_video.c      |  6 ++--
  drivers/media/platform/xilinx/xilinx-dma.c    |  6 ++--
  .../media/test-drivers/vimc/vimc-capture.c    |  6 ++--
  drivers/media/usb/au0828/au0828-core.c        |  8 ++---
  drivers/staging/media/imx/imx-media-utils.c   |  6 ++--
  drivers/staging/media/ipu3/ipu3-v4l2.c        |  6 ++--
  drivers/staging/media/omap4iss/iss_video.c    |  6 ++--
  drivers/staging/media/tegra-video/tegra210.c  |  6 ++--
  include/media/media-entity.h                  | 34 +++++++++----------
  24 files changed, 98 insertions(+), 100 deletions(-)

diff --git a/Documentation/driver-api/media/mc-core.rst b/Documentation/driver-api/media/mc-core.rst
index 8a13640bed56..69a64279a61f 100644
--- a/Documentation/driver-api/media/mc-core.rst
+++ b/Documentation/driver-api/media/mc-core.rst
@@ -213,11 +213,11 @@ When starting streaming, drivers must notify all entities in the pipeline to
  prevent link states from being modified during streaming by calling
  :c:func:`media_pipeline_start()`.

-The function will mark all entities connected to the given entity through
-enabled links, either directly or indirectly, as streaming.
+The function will mark all entities connected to the given pad through

As the stream_count counter is now moved to the pads, should this be

+The function will mark all the pads connected to the given pad through

+enabled routes and links, either directly or indirectly, as streaming.

  The struct media_pipeline instance pointed to by
-the pipe argument will be stored in every entity in the pipeline.
+the pipe argument will be stored in every pad in the pipeline.
  Drivers should embed the struct media_pipeline

Does this still apply ?

  in higher-level pipeline structures and can then access the
  pipeline through the struct media_entity

This sentence should probably be changed to

pipeline through the struct media_pad pipe field.

Thanks! I've made these two changes.

 Tomi




[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