From: "Niklas Söderlund" <niklas.soderlund@ragnatech.se>
To: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
linux-kernel@vger.kernel.org,
Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Subject: Re: [PATCH 00/18] media: rcar: Streams support
Date: Wed, 19 Feb 2025 15:22:56 +0100 [thread overview]
Message-ID: <20250219142256.GA512344@ragnatech.se> (raw)
In-Reply-To: <20250219-rcar-streams-v1-0-f1b93e370aab@ideasonboard.com>
Hi Tomi,
I'm happy to see this, nice work.
Unfortunately it does not apply to the media-tree. As this series is a
mix of fixes and new features as well as covering multiple drivers. Do
you think it would make sens to break out the fixes per driver which we
could review and apply ASAP and the new features which we can review but
need to wait until the dependencies are meet?
If the new features depends on stuff that is hard to upport, maybe just
focus on the fixes to get them out of the way?
On 2025-02-19 15:48:54 +0200, Tomi Valkeinen wrote:
> Add streams support to Renesas rcar platform driver.
>
> The series attempts to keep compatibility with the current upstream.
> However, in upstream there's some kind of custom multi-stream support
> implemented to the rcar driver, which breaks at patch "media: rcar-csi2:
> Simplify rcsi2_calc_mbps()".
I would not worry about breaking the make shift multi-stream, it was
based on our first attempt to allow streams for GMSL many years ago and
it was bonkers ;-) As long as it don't break a single streams, even from
subdevs that do not themself support streams I'm happy.
>
> The behavior should not change when using a single stream.
>
> A problem with the series currently is that it has a lot of
> dependencies that are not in upstream yet.
>
> Testing is even more problematic, as the only way currently for me to
> get multiple streams is by using the GMSL2 deserializer add-on board
> with GMSL2 serializers. These are not supported in upstream. If someone
> has the hardware and wants to test, I can share the very-WIP branch that
> contains the missing pieces.
>
> Tomi
>
> Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
> ---
> Tomi Valkeinen (18):
> media: rcar-vin: Add RCAR_GEN4 model value
> media: rcar-vin: Fix RAW8
> media: rcar-vin: Fix RAW10
> media: rcar-isp: Improve ISPPROCMODE_DT_PROC_MODE_VC
> media: rcar-isp: Move {enable|disable}_streams() calls
> media: rcar-csi2: Move {enable|disable}_streams() calls
> media: rcar-csi2: Fix typo
> media: rcar-csi2: Move rcar2_calc_mbps()
> media: rcar-csi2: Simplify rcsi2_calc_mbps()
> media: rcar-csi2: Optimize rcsi2_calc_mbps()
> media: rcar-csi2: Switch to Streams API
> media: rcar-isp: Switch to Streams API
> media: rcar-csi2: Add .get_frame_desc op
> media: rcar-isp: Call get_frame_desc to find out VC & DT
> media: rcar-csi2: Add more stream support to rcsi2_calc_mbps()
> media: rcar-csi2: Call get_frame_desc to find out VC & DT (Gen3)
> media: rcar-csi2: Add full streams support
> media: rcar-isp: Add full streams support
>
> drivers/media/platform/renesas/rcar-csi2.c | 430 ++++++++++++++-------
> drivers/media/platform/renesas/rcar-isp.c | 228 ++++++++---
> .../media/platform/renesas/rcar-vin/rcar-core.c | 2 +-
> drivers/media/platform/renesas/rcar-vin/rcar-dma.c | 20 +-
> .../media/platform/renesas/rcar-vin/rcar-v4l2.c | 8 +-
> drivers/media/platform/renesas/rcar-vin/rcar-vin.h | 1 +
> 6 files changed, 499 insertions(+), 190 deletions(-)
> ---
> base-commit: c4b7779abc6633677e6edb79e2809f4f61fde157
> change-id: 20250219-rcar-streams-1fdea8860e5e
> prerequisite-message-id: <20240129202254.1126012-1-niklas.soderlund+renesas@ragnatech.se>
> prerequisite-patch-id: 23c9dfd64dd6176312d50191e60b0a92937c0051
> prerequisite-patch-id: c49831184e0a6ff063cadbc79381c0f68d5b0f63
> prerequisite-patch-id: 47104e797dfef692022a72cb62d7fad2fc44f0f5
> prerequisite-patch-id: c89cf1fd9e528e6685ba8ce1e93e94f019f43913
> prerequisite-patch-id: e096565500ed748974824328adf14905ae40bcaa
> prerequisite-patch-id: 87a61e2c15f59928a96e9213c338cc2a65344c58
> prerequisite-message-id: <20240129195954.1110643-1-niklas.soderlund+renesas@ragnatech.se>
> prerequisite-patch-id: 748963119debbf990374b9eb06659381a3924824
> prerequisite-change-id: 20250120-rcar-media-impro-2c37c1036e19:v1
> prerequisite-patch-id: 3741e9cc665b78b56d18eee0041626d3c739dad5
> prerequisite-patch-id: 99a13857e0de3c1cadc7a971f6c3fb4449599313
> prerequisite-patch-id: a034cd446e21ba28273607f1d928c13739fb83f9
> prerequisite-patch-id: cdf480b4562e749c4190ceec50e78a8dac155bd5
> prerequisite-patch-id: 94c99ecd291d3d3f86b148406bbc383405016f2a
> prerequisite-patch-id: 690790ff01515aa452e73581c3ee4312246bfbc2
> prerequisite-patch-id: 74c5bed5396ef54ded950b9c449ea23b8f67636b
> prerequisite-patch-id: 3a6b197715760886ab383fefe1d5f95f40d8b063
> prerequisite-patch-id: e9f04f626ae08c981faa66de72663e8940a4f92e
> prerequisite-patch-id: 58b5dc8fd9026dcfede60b005294692964def2a1
> prerequisite-message-id: <20250210175615.1686529-1-niklas.soderlund+renesas@ragnatech.se>
> prerequisite-patch-id: a4aa6a184c6a21fc4536c11e14d9b5cc61f13346
> prerequisite-patch-id: 1b0091875529d392b142814005baa38b2ef77f98
> prerequisite-patch-id: 4c960ae93b1e663b11194903ed1810e0ed1e4f59
> prerequisite-patch-id: a5641e1dcad0f39baef8996b6731a471046f18f9
> prerequisite-patch-id: 481317ba4b987cbb069c31f3372686a59c0fcb67
> prerequisite-change-id: 20250218-frame-desc-passthrough-66805e413974:v2
> prerequisite-patch-id: da0097f1a6c5b58f87210acd974d7eba0b721dc3
> prerequisite-patch-id: 7cc5997549353a7e300f4778fd883e900d2251b2
> prerequisite-patch-id: 57d4622505842a9c9b8cbedb49745a155826c464
>
> Best regards,
> --
> Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
>
--
Kind Regards,
Niklas Söderlund
next prev parent reply other threads:[~2025-02-19 14:23 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-19 13:48 [PATCH 00/18] media: rcar: Streams support Tomi Valkeinen
2025-02-19 13:48 ` [PATCH 01/18] media: rcar-vin: Add RCAR_GEN4 model value Tomi Valkeinen
2025-02-19 13:48 ` [PATCH 02/18] media: rcar-vin: Fix RAW8 Tomi Valkeinen
2025-02-19 13:48 ` [PATCH 03/18] media: rcar-vin: Fix RAW10 Tomi Valkeinen
2025-02-19 13:48 ` [PATCH 04/18] media: rcar-isp: Improve ISPPROCMODE_DT_PROC_MODE_VC Tomi Valkeinen
2025-02-19 13:48 ` [PATCH 05/18] media: rcar-isp: Move {enable|disable}_streams() calls Tomi Valkeinen
2025-02-19 13:49 ` [PATCH 06/18] media: rcar-csi2: " Tomi Valkeinen
2025-02-19 13:49 ` [PATCH 07/18] media: rcar-csi2: Fix typo Tomi Valkeinen
2025-02-19 14:24 ` Niklas Söderlund
2025-02-19 14:36 ` Tomi Valkeinen
2025-02-19 14:46 ` Niklas Söderlund
2025-02-19 14:50 ` Tomi Valkeinen
2025-02-19 13:49 ` [PATCH 08/18] media: rcar-csi2: Move rcar2_calc_mbps() Tomi Valkeinen
2025-02-19 13:49 ` [PATCH 09/18] media: rcar-csi2: Simplify rcsi2_calc_mbps() Tomi Valkeinen
2025-02-19 13:49 ` [PATCH 10/18] media: rcar-csi2: Optimize rcsi2_calc_mbps() Tomi Valkeinen
2025-02-19 13:49 ` [PATCH 11/18] media: rcar-csi2: Switch to Streams API Tomi Valkeinen
2025-02-19 13:49 ` [PATCH 12/18] media: rcar-isp: " Tomi Valkeinen
2025-02-19 13:49 ` [PATCH 13/18] media: rcar-csi2: Add .get_frame_desc op Tomi Valkeinen
2025-02-19 13:49 ` [PATCH 14/18] media: rcar-isp: Call get_frame_desc to find out VC & DT Tomi Valkeinen
2025-02-19 13:49 ` [PATCH 15/18] media: rcar-csi2: Add more stream support to rcsi2_calc_mbps() Tomi Valkeinen
2025-02-19 13:49 ` [PATCH 16/18] media: rcar-csi2: Call get_frame_desc to find out VC & DT (Gen3) Tomi Valkeinen
2025-02-19 13:49 ` [PATCH 17/18] media: rcar-csi2: Add full streams support Tomi Valkeinen
2025-02-19 13:49 ` [PATCH 18/18] media: rcar-isp: " Tomi Valkeinen
2025-02-19 14:22 ` Niklas Söderlund [this message]
2025-02-19 14:41 ` [PATCH 00/18] media: rcar: Streams support Tomi Valkeinen
2025-02-19 14:56 ` Niklas Söderlund
2025-02-19 15:00 ` Tomi Valkeinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250219142256.GA512344@ragnatech.se \
--to=niklas.soderlund@ragnatech.se \
--cc=jacopo.mondi@ideasonboard.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=mchehab+huawei@kernel.org \
--cc=mchehab@kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=tomi.valkeinen+renesas@ideasonboard.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).