From: Maxime Ripard <mripard@kernel.org>
To: Louis Chauvet <louis.chauvet@bootlin.com>
Cc: "Rodrigo Siqueira" <rodrigosiqueiramelo@gmail.com>,
"Melissa Wen" <melissa.srw@gmail.com>,
"Maíra Canal" <mairacanal@riseup.net>,
"Haneen Mohammed" <hamohammed.sa@gmail.com>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Simona Vetter" <simona.vetter@ffwll.ch>,
dri-devel@lists.freedesktop.org, arthurgrillo@riseup.net,
linux-kernel@vger.kernel.org, jeremie.dautheribes@bootlin.com,
miquel.raynal@bootlin.com, thomas.petazzoni@bootlin.com,
seanpaul@google.com, nicolejadeyee@google.com
Subject: Re: [PATCH v5 4/5] drm: writeback: Introduce drm managed helpers
Date: Mon, 25 Nov 2024 14:03:35 +0100 [thread overview]
Message-ID: <20241125-able-spectacular-weasel-83e955@houat> (raw)
In-Reply-To: <20241122-google-vkms-managed-v5-4-1ab60403e960@bootlin.com>
[-- Attachment #1: Type: text/plain, Size: 776 bytes --]
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@bootlin.com>
See https://lore.kernel.org/all/20241024-slim-onyx-emu-3e4869@houat/
Maxime
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 273 bytes --]
next prev parent reply other threads:[~2024-11-25 13:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-22 16:27 [PATCH v5 0/5] drm/vkms: Switch all vkms object to DRM managed objects Louis Chauvet
2024-11-22 16:27 ` [PATCH v5 1/5] drm/vkms: Switch to managed for connector Louis Chauvet
2024-11-25 13:03 ` Maxime Ripard
2024-11-25 22:31 ` Maíra Canal
2024-11-22 16:27 ` [PATCH v5 2/5] drm/vkms: Switch to managed for encoder Louis Chauvet
2024-11-25 13:04 ` Maxime Ripard
2024-11-25 22:32 ` Maíra Canal
2024-11-22 16:27 ` [PATCH v5 3/5] drm/vkms: Switch to managed for crtc Louis Chauvet
2024-11-25 13:04 ` Maxime Ripard
2024-11-25 22:39 ` Maíra Canal
2024-11-22 16:27 ` [PATCH v5 4/5] drm: writeback: Introduce drm managed helpers Louis Chauvet
2024-11-25 13:03 ` Maxime Ripard [this message]
2024-11-22 16:28 ` [PATCH v5 5/5] drm/vkms: Switch to managed for writeback connector Louis Chauvet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241125-able-spectacular-weasel-83e955@houat \
--to=mripard@kernel.org \
--cc=airlied@gmail.com \
--cc=arthurgrillo@riseup.net \
--cc=dri-devel@lists.freedesktop.org \
--cc=hamohammed.sa@gmail.com \
--cc=jeremie.dautheribes@bootlin.com \
--cc=linux-kernel@vger.kernel.org \
--cc=louis.chauvet@bootlin.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mairacanal@riseup.net \
--cc=melissa.srw@gmail.com \
--cc=miquel.raynal@bootlin.com \
--cc=nicolejadeyee@google.com \
--cc=rodrigosiqueiramelo@gmail.com \
--cc=seanpaul@google.com \
--cc=simona.vetter@ffwll.ch \
--cc=simona@ffwll.ch \
--cc=thomas.petazzoni@bootlin.com \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox