Re: [PATCH v3] drm/bridge: ti-sn65dsi83: two fixes + add test pattern

From: Dmitry Baryshkov

Date: Thu Apr 23 2026 - 08:31:19 EST


On Thu, 23 Apr 2026 at 10:36, Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx> wrote:
>
> Hi Dmitry,
>
> On Wed Apr 22, 2026 at 9:40 PM CEST, Dmitry Baryshkov wrote:
> > On Thu, Apr 16, 2026 at 03:59:54PM +0200, Luca Ceresoli wrote:
> >> This series used to have two bug fixes, now applied to drm-misc-fixes, and
> >> a patch adding support for enabling the test pattern output from userspace,
> >> which is now at v3.
> >
> > We really need a generic interface for TPGs...
>
> I agree on the general principle, but where could this interface be placed?
> Bridges are not exposed to user space. They are somewhat visible in debugfs
> but even there there's no per-bridge file or directory.

I'd say it should be a part of the encoder. They are exported to
userspace via debugfs. Probably we can have a "tpg" file listing all
possible "test" sources and then accepting the one to generate the
pattern (there can be many TPG sources in the bridge chain + one in
the encoder itself). But it's more of a generic rant, don't let it
stop this series.

--
With best wishes
Dmitry