[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZrET5jlPptivP6T2@phenom.ffwll.local>
Date: Mon, 5 Aug 2024 20:03:18 +0200
From: Daniel Vetter <daniel.vetter@...ll.ch>
To: José Expósito <jose.exposito89@...il.com>
Cc: maarten.lankhorst@...ux.intel.com, mripard@...nel.org,
tzimmermann@...e.de, airlied@...il.com, daniel@...ll.ch,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/connector: Document destroy hook in drmm init
functions
On Sun, Aug 04, 2024 at 07:05:52PM +0200, José Expósito wrote:
> Document that the drm_connector_funcs.destroy hook must be NULL in
> drmm_connector_init() and drmm_connector_hdmi_init().
>
> Signed-off-by: José Expósito <jose.exposito89@...il.com>
Applied to drm-misc-next, thanks for your patch.
-Sima
> ---
> drivers/gpu/drm/drm_connector.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c
> index 7c44e3a1d8e0..292aaffb6aab 100644
> --- a/drivers/gpu/drm/drm_connector.c
> +++ b/drivers/gpu/drm/drm_connector.c
> @@ -426,6 +426,8 @@ static void drm_connector_cleanup_action(struct drm_device *dev,
> *
> * The connector structure should be allocated with drmm_kzalloc().
> *
> + * The @drm_connector_funcs.destroy hook must be NULL.
> + *
> * Returns:
> * Zero on success, error code on failure.
> */
> @@ -474,6 +476,8 @@ EXPORT_SYMBOL(drmm_connector_init);
> *
> * The connector structure should be allocated with drmm_kzalloc().
> *
> + * The @drm_connector_funcs.destroy hook must be NULL.
> + *
> * Returns:
> * Zero on success, error code on failure.
> */
> --
> 2.45.2
>
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
Powered by blists - more mailing lists