Re: [PATCH] drm: fix missing header include for drm_panel_put()

Albert Esteve <[email protected]>
Newsgroups dev.linux.lists.imx,org.freedesktop.lists.dri-devel,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel
Message-ID <CADSE00K71ke8yXv8xxJ=e68kqPQAjXiOw1kY_BFpTsfw=xiJaw@mail.gmail.com>
Hi Neil,

On Wed, Jul 22, 2026 at 12:07 PM Neil Armstrong
<[email protected]> wrote:
>
> Some DRM drivers lacked the drm_panel.h include to use drm_panel_put()
> after the commit b71a623598d3 ("drm/panel: of_drm_find_panel() return a counted reference").
>
> Fixes: b71a623598d3 ("drm/panel: of_drm_find_panel() return a counted reference")
> Signed-off-by: Neil Armstrong <[email protected]>

Oops, I missed building on my last revision. Thanks for taking care of
this and sorry for the inconvenience.

BR,
Albert.

> ---
>  drivers/gpu/drm/imx/dcss/dcss-kms.c | 1 +
>  drivers/gpu/drm/mxsfb/mxsfb_drv.c   | 1 +
>  drivers/gpu/drm/stm/ltdc.c          | 1 +
>  3 files changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/imx/dcss/dcss-kms.c b/drivers/gpu/drm/imx/dcss/dcss-kms.c
> index 01e0c10b6ea1..7c5a6e2bc89a 100644
> --- a/drivers/gpu/drm/imx/dcss/dcss-kms.c
> +++ b/drivers/gpu/drm/imx/dcss/dcss-kms.c
> @@ -13,6 +13,7 @@
>  #include <drm/drm_gem_dma_helper.h>
>  #include <drm/drm_gem_framebuffer_helper.h>
>  #include <drm/drm_of.h>
> +#include <drm/drm_panel.h>
>  #include <drm/drm_probe_helper.h>
>  #include <drm/drm_vblank.h>
>
> diff --git a/drivers/gpu/drm/mxsfb/mxsfb_drv.c b/drivers/gpu/drm/mxsfb/mxsfb_drv.c
> index 7cb19c15bf39..8b4a500347fb 100644
> --- a/drivers/gpu/drm/mxsfb/mxsfb_drv.c
> +++ b/drivers/gpu/drm/mxsfb/mxsfb_drv.c
> @@ -29,6 +29,7 @@
>  #include <drm/drm_mode_config.h>
>  #include <drm/drm_module.h>
>  #include <drm/drm_of.h>
> +#include <drm/drm_panel.h>
>  #include <drm/drm_probe_helper.h>
>  #include <drm/drm_vblank.h>
>
> diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c
> index daf198edb42f..8818dcf98da7 100644
> --- a/drivers/gpu/drm/stm/ltdc.c
> +++ b/drivers/gpu/drm/stm/ltdc.c
> @@ -34,6 +34,7 @@
>  #include <drm/drm_gem_atomic_helper.h>
>  #include <drm/drm_gem_dma_helper.h>
>  #include <drm/drm_of.h>
> +#include <drm/drm_panel.h>
>  #include <drm/drm_print.h>
>  #include <drm/drm_probe_helper.h>
>  #include <drm/drm_simple_kms_helper.h>
>
> ---
> base-commit: 0f065acf44aeb8c32691d88cc87004fd2e54e902
> change-id: 20260722-panel-fix-kms-panel-put-38c079412f83
>
> Best regards,
> --
> Neil Armstrong <[email protected]>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.