Skip to contentSkip to conversation

linux-next: build failure after merge of the drm-misc tree

DISCUSSION Mark Brown 2 participants 2 messages Jul 21 – Jul 22 Linux-next tree

lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

Hi all,

After merging the drm-misc tree, today's linux-next build (arm64 defconfig) failed like this:

/tmp/next/build/drivers/gpu/drm/imx/dcss/dcss-kms.c: In function 'dcss_kms_bridge_connector_init':
/tmp/next/build/drivers/gpu/drm/imx/dcss/dcss-kms.c:81:17: error: implicit declaration of function 'drm_panel_put'; did you mean 'drm_dev_put'? [-Wimplicit-function-declaration]

   81 |                 drm_panel_put(panel);
      |                 ^~~~~~~~~~~~~
      |                 drm_dev_put

make[8]: *** [/tmp/next/build/scripts/Makefile.build:289: drivers/gpu/drm/imx/dcss/dcss-kms.o] Error 1
make[7]: *** [/tmp/next/build/scripts/Makefile.build:549: drivers/gpu/drm/imx/dcss] Error 2
make[6]: *** [/tmp/next/build/scripts/Makefile.build:549: drivers/gpu/drm/imx] Error 2
make[6]: *** Waiting for unfinished jobs....
/tmp/next/build/drivers/gpu/drm/mxsfb/mxsfb_drv.c: In function 'mxsfb_attach_bridge':
/tmp/next/build/drivers/gpu/drm/mxsfb/mxsfb_drv.c:130:17: error: implicit declaration of function 'drm_panel_put'; did you mean 'drm_dev_put'? [-Wimplicit-function-declaration]

  130 |                 drm_panel_put(panel);
      |                 ^~~~~~~~~~~~~
      |                 drm_dev_put

Caused by commit

b71a623598d31 (drm/panel: of_drm_find_panel() return a counted reference)

I have used the version from next-20260720 instead.

#1 lore raw

Hi Mark,

Quoted 20 lines · Mark Brown

Hi all,

After merging the drm-misc tree, today's linux-next build (arm64 defconfig) failed like this:

/tmp/next/build/drivers/gpu/drm/imx/dcss/dcss-kms.c: In function 'dcss_kms_bridge_connector_init':
/tmp/next/build/drivers/gpu/drm/imx/dcss/dcss-kms.c:81:17: error: implicit declaration of function 'drm_panel_put'; did you mean 'drm_dev_put'? [-Wimplicit-function-declaration]

    81 |                 drm_panel_put(panel);
       |                 ^~~~~~~~~~~~~
       |                 drm_dev_put

make[8]: *** [/tmp/next/build/scripts/Makefile.build:289: drivers/gpu/drm/imx/dcss/dcss-kms.o] Error 1
make[7]: *** [/tmp/next/build/scripts/Makefile.build:549: drivers/gpu/drm/imx/dcss] Error 2
make[6]: *** [/tmp/next/build/scripts/Makefile.build:549: drivers/gpu/drm/imx] Error 2
make[6]: *** Waiting for unfinished jobs....
/tmp/next/build/drivers/gpu/drm/mxsfb/mxsfb_drv.c: In function 'mxsfb_attach_bridge':
/tmp/next/build/drivers/gpu/drm/mxsfb/mxsfb_drv.c:130:17: error: implicit declaration of function 'drm_panel_put'; did you mean 'drm_dev_put'? [-Wimplicit-function-declaration]

   130 |                 drm_panel_put(panel);
       |                 ^~~~~~~~~~~~~
       |                 drm_dev_put
Quoted 5 lines

Caused by commit

    b71a623598d31 (drm/panel: of_drm_find_panel() return a counted reference)

I have used the version from next-20260720 instead.

Seems the patch hasn't been properly build tested, I'll send a fix today.

Thanks,
Neil