* Re: [PATCH RESEND] drm/bridge: tc358768: Enforce input bus flags via atomic_check
2026-07-06 13:24 [PATCH RESEND] drm/bridge: tc358768: Enforce input bus flags via atomic_check Leonardo Costa
@ 2026-07-07 6:50 ` Francesco Dolcini
2026-07-09 10:28 ` Swamil Jain
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Francesco Dolcini @ 2026-07-07 6:50 UTC (permalink / raw)
To: Leonardo Costa
Cc: andrzej.hajda, neil.armstrong, rfoss, Laurent.pinchart, jonas,
jernej.skrabec, luca.ceresoli, maarten.lankhorst, mripard,
tzimmermann, airlied, simona, dri-devel, linux-kernel,
tomi.valkeinen, francesco, leonardo.costa, stable
On Mon, Jul 06, 2026 at 10:24:17AM -0300, Leonardo Costa wrote:
> From: Leonardo Costa <leonardo.costa@toradex.com>
>
> The tc358768 declares static bridge timings requiring pixel data to be
> sampled on the positive clock edge.
>
> However, the DRM core default propagation simply copies the output-side
> bus flags, coming from the next bridge, connector or panel, to the
> input side. If the propagated flags are incompatible with the bridge
> ones, the data is wrongly sampled, typically resulting in visual
> artifacts on the panel.
>
> Implement the atomic_check hook, replacing the mutually exclusive
> mode_fixup, and set the bridge state input bus flags to the ones
> required by the tc358768. The sync polarity defaulting previously done
> in mode_fixup is carried over into atomic_check unchanged.
>
> Fixes: ff1ca6397b1d ("drm/bridge: Add tc358768 driver")
> Cc: stable@vger.kernel.org
> Signed-off-by: Leonardo Costa <leonardo.costa@toradex.com>
Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH RESEND] drm/bridge: tc358768: Enforce input bus flags via atomic_check
2026-07-06 13:24 [PATCH RESEND] drm/bridge: tc358768: Enforce input bus flags via atomic_check Leonardo Costa
2026-07-07 6:50 ` Francesco Dolcini
@ 2026-07-09 10:28 ` Swamil Jain
2026-09-07 9:17 ` Francesco Dolcini
2026-09-09 9:15 ` Luca Ceresoli
3 siblings, 0 replies; 5+ messages in thread
From: Swamil Jain @ 2026-07-09 10:28 UTC (permalink / raw)
To: Leonardo Costa, andrzej.hajda, neil.armstrong, rfoss,
Laurent.pinchart, jonas, jernej.skrabec, luca.ceresoli,
maarten.lankhorst, mripard, tzimmermann, airlied, simona
Cc: dri-devel, linux-kernel, tomi.valkeinen, francesco,
leonardo.costa, stable
On 7/6/26 18:54, Leonardo Costa wrote:
> From: Leonardo Costa <leonardo.costa@toradex.com>
>
> The tc358768 declares static bridge timings requiring pixel data to be
> sampled on the positive clock edge.
>
> However, the DRM core default propagation simply copies the output-side
> bus flags, coming from the next bridge, connector or panel, to the
> input side. If the propagated flags are incompatible with the bridge
> ones, the data is wrongly sampled, typically resulting in visual
> artifacts on the panel.
>
> Implement the atomic_check hook, replacing the mutually exclusive
> mode_fixup, and set the bridge state input bus flags to the ones
> required by the tc358768. The sync polarity defaulting previously done
> in mode_fixup is carried over into atomic_check unchanged.
>
> Fixes: ff1ca6397b1d ("drm/bridge: Add tc358768 driver")
> Cc: stable@vger.kernel.org
> Signed-off-by: Leonardo Costa <leonardo.costa@toradex.com>
> ---
Reviewed-by: Swamil Jain <s-jain1@ti.com>
[...]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH RESEND] drm/bridge: tc358768: Enforce input bus flags via atomic_check
2026-07-06 13:24 [PATCH RESEND] drm/bridge: tc358768: Enforce input bus flags via atomic_check Leonardo Costa
2026-07-07 6:50 ` Francesco Dolcini
2026-07-09 10:28 ` Swamil Jain
@ 2026-09-07 9:17 ` Francesco Dolcini
2026-09-09 9:15 ` Luca Ceresoli
3 siblings, 0 replies; 5+ messages in thread
From: Francesco Dolcini @ 2026-09-07 9:17 UTC (permalink / raw)
To: Leonardo Costa
Cc: andrzej.hajda, neil.armstrong, rfoss, Laurent.pinchart, jonas,
jernej.skrabec, luca.ceresoli, maarten.lankhorst, mripard,
tzimmermann, airlied, simona, dri-devel, linux-kernel,
tomi.valkeinen, francesco, leonardo.costa, stable
Hello DRM bridge maintainers,
On Mon, Jul 06, 2026 at 10:24:17AM -0300, Leonardo Costa wrote:
> From: Leonardo Costa <leonardo.costa@toradex.com>
>
> The tc358768 declares static bridge timings requiring pixel data to be
> sampled on the positive clock edge.
>
> However, the DRM core default propagation simply copies the output-side
> bus flags, coming from the next bridge, connector or panel, to the
> input side. If the propagated flags are incompatible with the bridge
> ones, the data is wrongly sampled, typically resulting in visual
> artifacts on the panel.
>
> Implement the atomic_check hook, replacing the mutually exclusive
> mode_fixup, and set the bridge state input bus flags to the ones
> required by the tc358768. The sync polarity defaulting previously done
> in mode_fixup is carried over into atomic_check unchanged.
>
> Fixes: ff1ca6397b1d ("drm/bridge: Add tc358768 driver")
> Cc: stable@vger.kernel.org
> Signed-off-by: Leonardo Costa <leonardo.costa@toradex.com>
Just a gentle ping, can this fix be merged?
Francesco
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH RESEND] drm/bridge: tc358768: Enforce input bus flags via atomic_check
2026-07-06 13:24 [PATCH RESEND] drm/bridge: tc358768: Enforce input bus flags via atomic_check Leonardo Costa
` (2 preceding siblings ...)
2026-09-07 9:17 ` Francesco Dolcini
@ 2026-09-09 9:15 ` Luca Ceresoli
3 siblings, 0 replies; 5+ messages in thread
From: Luca Ceresoli @ 2026-09-09 9:15 UTC (permalink / raw)
To: andrzej.hajda, neil.armstrong, rfoss, Laurent.pinchart, jonas,
jernej.skrabec, maarten.lankhorst, mripard, tzimmermann, airlied,
simona, Leonardo Costa
Cc: dri-devel, linux-kernel, tomi.valkeinen, francesco,
leonardo.costa, stable
On Mon, 06 Jul 2026 10:24:17 -0300, Leonardo Costa wrote:
> The tc358768 declares static bridge timings requiring pixel data to be
> sampled on the positive clock edge.
>
> However, the DRM core default propagation simply copies the output-side
> bus flags, coming from the next bridge, connector or panel, to the
> input side. If the propagated flags are incompatible with the bridge
> ones, the data is wrongly sampled, typically resulting in visual
> artifacts on the panel.
>
> [...]
Applied, thanks!
[1/1] drm/bridge: tc358768: Enforce input bus flags via atomic_check
commit: ed761e0693950fcb4f6b0f60387a3961b972adf3
Best regards,
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread