* [PATCH] drm: Remove drmm_add_final_kfree() declaration from public headers
@ 2020-12-04 9:29 Laurent Pinchart
2020-12-04 9:47 ` Thomas Zimmermann
2020-12-05 19:02 ` Sam Ravnborg
0 siblings, 2 replies; 3+ messages in thread
From: Laurent Pinchart @ 2020-12-04 9:29 UTC (permalink / raw)
To: dri-devel; +Cc: Thomas Zimmermann
The drmm_add_final_kfree() function is declared in the
include/drm/drm_managed.h public header, but has become an internal API
not exposed to drivers. Drop it from drm_managed.h as it's already
declared in drm_internal.h.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
include/drm/drm_managed.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/drm/drm_managed.h b/include/drm/drm_managed.h
index ca4114633bf9..b45c6fbf53ac 100644
--- a/include/drm/drm_managed.h
+++ b/include/drm/drm_managed.h
@@ -44,8 +44,6 @@ int __must_check __drmm_add_action_or_reset(struct drm_device *dev,
drmres_release_t action,
void *data, const char *name);
-void drmm_add_final_kfree(struct drm_device *dev, void *container);
-
void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc;
/**
--
Regards,
Laurent Pinchart
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] drm: Remove drmm_add_final_kfree() declaration from public headers
2020-12-04 9:29 [PATCH] drm: Remove drmm_add_final_kfree() declaration from public headers Laurent Pinchart
@ 2020-12-04 9:47 ` Thomas Zimmermann
2020-12-05 19:02 ` Sam Ravnborg
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Zimmermann @ 2020-12-04 9:47 UTC (permalink / raw)
To: Laurent Pinchart, dri-devel
[-- Attachment #1.1.1: Type: text/plain, Size: 1249 bytes --]
Am 04.12.20 um 10:29 schrieb Laurent Pinchart:
> The drmm_add_final_kfree() function is declared in the
> include/drm/drm_managed.h public header, but has become an internal API
> not exposed to drivers. Drop it from drm_managed.h as it's already
> declared in drm_internal.h.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
> ---
> include/drm/drm_managed.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/include/drm/drm_managed.h b/include/drm/drm_managed.h
> index ca4114633bf9..b45c6fbf53ac 100644
> --- a/include/drm/drm_managed.h
> +++ b/include/drm/drm_managed.h
> @@ -44,8 +44,6 @@ int __must_check __drmm_add_action_or_reset(struct drm_device *dev,
> drmres_release_t action,
> void *data, const char *name);
>
> -void drmm_add_final_kfree(struct drm_device *dev, void *container);
> -
> void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc;
>
> /**
>
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drm: Remove drmm_add_final_kfree() declaration from public headers
2020-12-04 9:29 [PATCH] drm: Remove drmm_add_final_kfree() declaration from public headers Laurent Pinchart
2020-12-04 9:47 ` Thomas Zimmermann
@ 2020-12-05 19:02 ` Sam Ravnborg
1 sibling, 0 replies; 3+ messages in thread
From: Sam Ravnborg @ 2020-12-05 19:02 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: Thomas Zimmermann, dri-devel
Hi Laurent,
On Fri, Dec 04, 2020 at 11:29:32AM +0200, Laurent Pinchart wrote:
> The drmm_add_final_kfree() function is declared in the
> include/drm/drm_managed.h public header, but has become an internal API
> not exposed to drivers. Drop it from drm_managed.h as it's already
> declared in drm_internal.h.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Applied to drm-misc-next, thanks.
Sam
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-05 19:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-04 9:29 [PATCH] drm: Remove drmm_add_final_kfree() declaration from public headers Laurent Pinchart
2020-12-04 9:47 ` Thomas Zimmermann
2020-12-05 19:02 ` Sam Ravnborg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.