Hi, On Wed, Aug 7, 2024 at 5:39 AM Michael Nazzareno Trimarchi <michael@xxxxxxxxxxxxxxxxxxxx> wrote: > > Hi Doug > > +cc Doug > > I have seen that you have done some re-working and investigation on > drm stack, do you have some > suggestion on this case? > > On Mon, Jun 24, 2024 at 8:53 PM Michael Trimarchi > <michael@xxxxxxxxxxxxxxxxxxxx> wrote: > > > > The shutdown function can be called when the display is already > > unprepared. For example during reboot this trigger a kernel > > backlog. Calling the drm_panel_unprepare, allow us to avoid > > to trigger the kernel warning > > > > Signed-off-by: Michael Trimarchi <michael@xxxxxxxxxxxxxxxxxxxx> > > --- > > > > It's not obviovus if shutdown can be dropped or this problem depends > > on the display stack as it is implmented. More feedback is required > > here In general the shutdown should be dropped and it should be up to the display driver to do the shutdown. If your panel needs to be used with a DRM Modeset driver that doesn't properly call shutdown then the ideal solution would be to fix the DRM Modeset driver. If this is somehow impossible, I suspect folks would (begrudgingly) accept some other solution.