Re: [PATCH v2 1/1] staging: media: tegra-video: vi: Improve media graph building logic
From: Luca Ceresoli
Date: Fri Jun 05 2026 - 04:38:40 EST
On Sat May 23, 2026 at 8:47 AM CEST, Svyatoslav Ryhel wrote:
> The existing tegra_vi_graph_build function relies heavily on a one-to-one
> match between Device Tree nodes and media pad links. While this works for
> simpler configurations, it causes issues when Device Tree nodes do not
> match media pad link logic (e.g., mt9m114). Switch to the
> media_entity_get_fwnode_pad helper to verify and retrieve the correct pad
> linked to an endpoint, rather than assuming the endpoint ID matches the
> pad ID.
>
> Signed-off-by: Svyatoslav Ryhel <clamor95@xxxxxxxxx>
I still haven't looked at the code, but:
Tested-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx> # tegra20, parallel camera
Luca
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com