On Wed, Jun 12, 2024 at 09:52:40AM -0700, Doug Anderson wrote: > Sima, > > On Wed, Jun 12, 2024 at 8:13 AM Daniel Vetter <daniel@xxxxxxxx> wrote: > > > > > > I ran the coccinelle script we started with, and here are the results: > > > > > > > > ./drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:1640:25-39: ERROR: KMS driver vmw_pci_driver is missing shutdown implementation > > > > ./drivers/gpu/drm/kmb/kmb_drv.c:621:30-49: ERROR: KMS driver kmb_platform_driver is missing shutdown implementation > > > > ./drivers/gpu/drm/tiny/arcpgu.c:422:30-52: ERROR: KMS driver arcpgu_platform_driver is missing shutdown implementation > > > > > > Sure, although I think we agreed even back when we talked about this > > > last that your coccinelle script wasn't guaranteed to catch every > > > driver. ...so I guess the question is: are we willing to accept that > > > we'll stop disabling panels at shutdown for any drivers that might > > > were missed. For instance, looking at it by hand (which also could > > > miss things), I previously thought that we also might need: > > > > > > * nouveau > > > * tegra > > > * amdgpu > > > * sprd > > > * gma500 > > > * radeon > > > > > > I sent patches for those drivers but they don't go through drm-misc > > > and some of the drivers had a lot of abstraction layers and were hard > > > to reason about. I'm also not 100% confident that all of those drivers > > > really are affected--they'd have to be used with panel-simple or > > > panel-edp... > > > > Aside from amdgpu and radeon they're all in -misc now, and Alex is > > generally fairly responsive. > > Sorry for not keeping up with things, but can you point to where this > was documented or what patch changed things so that these drivers went > through drm-misc? From the MAINTAINERS file I see commit 5a44d50f0072 > ("MAINTAINERS: Update drm-misc entry to match all drivers") and that > shows several of these drivers as "X:". As far as I can tell that > means that they _aren't_ handled by drm-misc, right? Maybe the > decision was made elsewhere and MAINTAINERS was just not updated, or > I'm not looking at the right place? I checked drm-misc-next and > drm/next and, for instance, "tegra" and "kmb" still show as excluded. Hm tegra moved meanwhile, but I guess it's not yet update in MAINTAINERS (or not everywhere), at least for bugfixes. I think nouveau also has partially moved? Anyway past a certain point of unresponsiveness, drm-misc serves as the catch-all for everything and you can land with an ack from drm or drm-misc maintainers. -Sima -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch