drivers/gpu/drm/drm_dumb_buffers.c | 1 - 1 file changed, 1 deletion(-)
Remove the header #include "drm_internal.h" from drm_dumb_buffers.c,
which is included but not used.
Header was introduced in 47f10854ca89 when moving functions, but was
not removed in 96a7b60f6ddb when the drm_gem_dumb_destroy function was
removed.
Compiles successfully with DRM enabled, pass kunit tests and
IGT-tests in a vng virtual machine.
Fixes: 96a7b60f6ddb ("drm: remove dumb_destroy callback")
Signed-off-by: Yicong Hui <yiconghui@gmail.com>
---
drivers/gpu/drm/drm_dumb_buffers.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_dumb_buffers.c b/drivers/gpu/drm/drm_dumb_buffers.c
index e2b62e5fb891..61bf3c9b7182 100644
--- a/drivers/gpu/drm/drm_dumb_buffers.c
+++ b/drivers/gpu/drm/drm_dumb_buffers.c
@@ -32,7 +32,6 @@
#include <drm/drm_print.h>
#include "drm_crtc_internal.h"
-#include "drm_internal.h"
/**
* DOC: overview
--
2.53.0
Hi,
sorry for the delay.
Am 09.04.26 um 17:48 schrieb Yicong Hui:
> Remove the header #include "drm_internal.h" from drm_dumb_buffers.c,
> which is included but not used.
>
> Header was introduced in 47f10854ca89 when moving functions, but was
> not removed in 96a7b60f6ddb when the drm_gem_dumb_destroy function was
> removed.
>
> Compiles successfully with DRM enabled, pass kunit tests and
> IGT-tests in a vng virtual machine.
>
> Fixes: 96a7b60f6ddb ("drm: remove dumb_destroy callback")
> Signed-off-by: Yicong Hui <yiconghui@gmail.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
> ---
> drivers/gpu/drm/drm_dumb_buffers.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/drm_dumb_buffers.c b/drivers/gpu/drm/drm_dumb_buffers.c
> index e2b62e5fb891..61bf3c9b7182 100644
> --- a/drivers/gpu/drm/drm_dumb_buffers.c
> +++ b/drivers/gpu/drm/drm_dumb_buffers.c
> @@ -32,7 +32,6 @@
> #include <drm/drm_print.h>
>
> #include "drm_crtc_internal.h"
> -#include "drm_internal.h"
>
> /**
> * DOC: overview
--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com
GF: Jochen Jaser, Andrew McDonald, Werner Knoblich, (HRB 36809, AG Nürnberg)
On 09/04/2026 4:48 pm, Yicong Hui wrote:
> Remove the header #include "drm_internal.h" from drm_dumb_buffers.c,
> which is included but not used.
>
> Header was introduced in 47f10854ca89 when moving functions, but was
> not removed in 96a7b60f6ddb when the drm_gem_dumb_destroy function was
> removed.
>
> Compiles successfully with DRM enabled, pass kunit tests and
> IGT-tests in a vng virtual machine.
>
> Fixes: 96a7b60f6ddb ("drm: remove dumb_destroy callback")
> Signed-off-by: Yicong Hui <yiconghui@gmail.com>
> ---
> drivers/gpu/drm/drm_dumb_buffers.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/drm_dumb_buffers.c b/drivers/gpu/drm/drm_dumb_buffers.c
> index e2b62e5fb891..61bf3c9b7182 100644
> --- a/drivers/gpu/drm/drm_dumb_buffers.c
> +++ b/drivers/gpu/drm/drm_dumb_buffers.c
> @@ -32,7 +32,6 @@
> #include <drm/drm_print.h>
>
> #include "drm_crtc_internal.h"
> -#include "drm_internal.h"
>
> /**
> * DOC: overview
Hello!
Is there any further feedback or progress on this patch?
Thank you!
Yicong
© 2016 - 2026 Red Hat, Inc.