Message ID | 20241002131306.288618-1-tzimmermann@suse.de (mailing list archive) |
---|---|
Headers | show |
Series | drm: Introduce DRM client library | expand |
On 02/10/2024 15:04, Thomas Zimmermann wrote: > With the next DRM client coming soon (drm_log) and most of DRM's > fbdev emulation consolidated in a few places, it's time to provide > a single place for the clients. > > The new module drm_client_lib.ko stores most of the in-kernel client > code. It is designed such that drivers can opt into client support, > but the presence of the client module depends on the user's kernel > configuration. Without selected clients, no client module will be > build. I think I would rather rename drm_client.c to drm_client_lib.c, and have a drm_client.ko. Users may need to interact with module name more than with C file. > > Version 2 of this patchset is a significant rework of the patches, > so there are no R-bs kept. The base client code and client event > handling remains in the DRM core. This simplifies module dependencies. > But suspend and resume are now handled in client helpers instead of > direct calls to fbdev emulation. This breaks a cyclic dependency > among the involved modules. It also allows any client to process > suspend and resume events. Thanks a lot for this work. I rebased my drm_log proof of concept on top on this v2, and it works great. I think I can add a suspend/resume callback to drm_log, just marking the console as CON_SUSPENDED should work, I will test that shortly. Best regards,