[PATCH v4 2/5] drm: adp: Add Apple Display Pipe driver

Sasha Finkelstein fnkl.kernel at gmail.com
Fri Jan 17 14:17:32 UTC 2025


On Fri, 17 Jan 2025 at 11:24, Maxime Ripard <mripard at kernel.org> wrote:
> >
> > I was thinking about using drmm_ here, as the DRM device is also created
> > and destroyed each time. But I might be mistaken here.
>
> Ah, right, it makes sense then, thanks!
> Maxime

Not sure i understand. The drm device is created in probe(), and is
destroyed by devm.
I do not see a path where it can be created/destroyed without a trip
via probe/remove,
and so tying the lifetime of the bridge in question to devm seems correct?


More information about the dri-devel mailing list