On Fri, Nov 22, 2024 at 05:27:59PM +0100, Louis Chauvet wrote: > Currently drm_writeback_connector are created by > drm_writeback_connector_init or drm_writeback_connector_init_with_encoder. > Both of the function uses drm_connector_init and drm_encoder_init, but > there is no way to properly clean those structure from outside. By using > drm managed variants, we can ensure that the writeback connector is > properly cleaned. > > This patch introduce drmm_writeback_connector_init, an helper to initialize > a writeback connector using drm managed helpers. This function allows the > caller to use its own encoder. > > Signed-off-by: Louis Chauvet <louis.chauvet@xxxxxxxxxxx> See https://lore.kernel.org/all/20241024-slim-onyx-emu-3e4869@houat/ Maxime
Attachment:
signature.asc
Description: PGP signature