All of lore.kernel.org
 help / color / mirror / Atom feed
* [next] arm: panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
@ 2022-02-02  9:02 ` Naresh Kamboju
  0 siblings, 0 replies; 15+ messages in thread
From: Naresh Kamboju @ 2022-02-02  9:02 UTC (permalink / raw)
  To: Linux ARM, open list, Linux-Next Mailing List, lkft-triage,
	dri-devel, regressions
  Cc: Yunlong Jia, Thierry Reding, Grace Mi, Douglas Anderson,
	Marek Vasut, Sam Ravnborg, Thomas Zimmermann, Arnd Bergmann,
	Stephen Rothwell, David Airlie, Daniel Vetter

Following builds failed on Linux next 20220202 arm architecture.
  - arm-gcc-10-omap2plus_defconfig
  - arm-clang-nightly-shmobile_defconfig
  - arm-gcc-8-lpc32xx_defconfig
  - arm-clang-13-shmobile_defconfig
  - arm-gcc-10-shmobile_defconfig
  - arm-clang-11-shmobile_defconfig
  - arm-clang-11-omap2plus_defconfig
  - arm-clang-13-omap2plus_defconfig
  - arm-clang-11-lpc32xx_defconfig
  - arm-gcc-8-omap2plus_defconfig
  - arm-gcc-9-vexpress_defconfig
  - arm-clang-nightly-lpc32xx_defconfig
  - arm-gcc-9-shmobile_defconfig
  - arm-clang-13-lpc32xx_defconfig
  - arm-gcc-10-sama5_defconfig
  - arm-clang-11-vexpress_defconfig
  - arm-clang-11-sama5_defconfig
  - arm-gcc-9-omap2plus_defconfig
  - arm-clang-nightly-sama5_defconfig
  - arm-clang-13-vexpress_defconfig
  - arm-clang-nightly-vexpress_defconfig
  - arm-gcc-9-lpc32xx_defconfig
  - arm-clang-12-vexpress_defconfig
  - arm-gcc-10-vexpress_defconfig
  - arm-clang-12-shmobile_defconfig
  - arm-gcc-11-omap2plus_defconfig
  - arm-gcc-9-sama5_defconfig
  - arm-gcc-8-shmobile_defconfig
  - arm-gcc-10-lpc32xx_defconfig
  - arm-clang-12-omap2plus_defconfig
  - arm-gcc-8-vexpress_defconfig
  - arm-clang-12-sama5_defconfig
  - arm-clang-nightly-omap2plus_defconfig
  - arm-gcc-11-lpc32xx_defconfig
  - arm-gcc-11-sama5_defconfig
  - arm-gcc-11-shmobile_defconfig
  - arm-gcc-11-vexpress_defconfig
  - arm-gcc-8-sama5_defconfig
  - arm-clang-13-sama5_defconfig
  - arm-clang-12-lpc32xx_defconfig


make --silent --keep-going --jobs=8  ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' vexpress_defconfig
make --silent --keep-going --jobs=8  ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
arm-linux-gnueabihf-ld: drivers/gpu/drm/panel/panel-edp.o: in function
`panel_edp_probe':
panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
make[1]: *** [/builds/linux/Makefile:1222: vmlinux] Error 1


Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

meta data:
-----------
    git describe: next-20220202
    git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
    target_arch: arm
    kconfig: vexpress_defconfig
    toolchain: gcc-11

Build log:
-------------
https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/

Steps to reproduce:
--------------------
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.
# Original tuxmake command with fragments listed below.

tuxmake --runtime podman --target-arch arm --toolchain gcc-11
--kconfig vexpress_defconfig

tuxmake --runtime podman --target-arch arm --toolchain gcc-11
--kconfig https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/config


--
Linaro LKFT
https://lkft.linaro.org

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [next] arm: panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
@ 2022-02-02  9:02 ` Naresh Kamboju
  0 siblings, 0 replies; 15+ messages in thread
From: Naresh Kamboju @ 2022-02-02  9:02 UTC (permalink / raw)
  To: Linux ARM, open list, Linux-Next Mailing List, lkft-triage,
	dri-devel, regressions
  Cc: Marek Vasut, Stephen Rothwell, Arnd Bergmann, Yunlong Jia,
	David Airlie, Douglas Anderson, Thierry Reding,
	Thomas Zimmermann, Grace Mi, Sam Ravnborg

Following builds failed on Linux next 20220202 arm architecture.
  - arm-gcc-10-omap2plus_defconfig
  - arm-clang-nightly-shmobile_defconfig
  - arm-gcc-8-lpc32xx_defconfig
  - arm-clang-13-shmobile_defconfig
  - arm-gcc-10-shmobile_defconfig
  - arm-clang-11-shmobile_defconfig
  - arm-clang-11-omap2plus_defconfig
  - arm-clang-13-omap2plus_defconfig
  - arm-clang-11-lpc32xx_defconfig
  - arm-gcc-8-omap2plus_defconfig
  - arm-gcc-9-vexpress_defconfig
  - arm-clang-nightly-lpc32xx_defconfig
  - arm-gcc-9-shmobile_defconfig
  - arm-clang-13-lpc32xx_defconfig
  - arm-gcc-10-sama5_defconfig
  - arm-clang-11-vexpress_defconfig
  - arm-clang-11-sama5_defconfig
  - arm-gcc-9-omap2plus_defconfig
  - arm-clang-nightly-sama5_defconfig
  - arm-clang-13-vexpress_defconfig
  - arm-clang-nightly-vexpress_defconfig
  - arm-gcc-9-lpc32xx_defconfig
  - arm-clang-12-vexpress_defconfig
  - arm-gcc-10-vexpress_defconfig
  - arm-clang-12-shmobile_defconfig
  - arm-gcc-11-omap2plus_defconfig
  - arm-gcc-9-sama5_defconfig
  - arm-gcc-8-shmobile_defconfig
  - arm-gcc-10-lpc32xx_defconfig
  - arm-clang-12-omap2plus_defconfig
  - arm-gcc-8-vexpress_defconfig
  - arm-clang-12-sama5_defconfig
  - arm-clang-nightly-omap2plus_defconfig
  - arm-gcc-11-lpc32xx_defconfig
  - arm-gcc-11-sama5_defconfig
  - arm-gcc-11-shmobile_defconfig
  - arm-gcc-11-vexpress_defconfig
  - arm-gcc-8-sama5_defconfig
  - arm-clang-13-sama5_defconfig
  - arm-clang-12-lpc32xx_defconfig


make --silent --keep-going --jobs=8  ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' vexpress_defconfig
make --silent --keep-going --jobs=8  ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
arm-linux-gnueabihf-ld: drivers/gpu/drm/panel/panel-edp.o: in function
`panel_edp_probe':
panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
make[1]: *** [/builds/linux/Makefile:1222: vmlinux] Error 1


Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

meta data:
-----------
    git describe: next-20220202
    git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
    target_arch: arm
    kconfig: vexpress_defconfig
    toolchain: gcc-11

Build log:
-------------
https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/

Steps to reproduce:
--------------------
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.
# Original tuxmake command with fragments listed below.

tuxmake --runtime podman --target-arch arm --toolchain gcc-11
--kconfig vexpress_defconfig

tuxmake --runtime podman --target-arch arm --toolchain gcc-11
--kconfig https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/config


--
Linaro LKFT
https://lkft.linaro.org

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [next] arm: panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
@ 2022-02-02  9:02 ` Naresh Kamboju
  0 siblings, 0 replies; 15+ messages in thread
From: Naresh Kamboju @ 2022-02-02  9:02 UTC (permalink / raw)
  To: Linux ARM, open list, Linux-Next Mailing List, lkft-triage,
	dri-devel, regressions
  Cc: Yunlong Jia, Thierry Reding, Grace Mi, Douglas Anderson,
	Marek Vasut, Sam Ravnborg, Thomas Zimmermann, Arnd Bergmann,
	Stephen Rothwell, David Airlie, Daniel Vetter

Following builds failed on Linux next 20220202 arm architecture.
  - arm-gcc-10-omap2plus_defconfig
  - arm-clang-nightly-shmobile_defconfig
  - arm-gcc-8-lpc32xx_defconfig
  - arm-clang-13-shmobile_defconfig
  - arm-gcc-10-shmobile_defconfig
  - arm-clang-11-shmobile_defconfig
  - arm-clang-11-omap2plus_defconfig
  - arm-clang-13-omap2plus_defconfig
  - arm-clang-11-lpc32xx_defconfig
  - arm-gcc-8-omap2plus_defconfig
  - arm-gcc-9-vexpress_defconfig
  - arm-clang-nightly-lpc32xx_defconfig
  - arm-gcc-9-shmobile_defconfig
  - arm-clang-13-lpc32xx_defconfig
  - arm-gcc-10-sama5_defconfig
  - arm-clang-11-vexpress_defconfig
  - arm-clang-11-sama5_defconfig
  - arm-gcc-9-omap2plus_defconfig
  - arm-clang-nightly-sama5_defconfig
  - arm-clang-13-vexpress_defconfig
  - arm-clang-nightly-vexpress_defconfig
  - arm-gcc-9-lpc32xx_defconfig
  - arm-clang-12-vexpress_defconfig
  - arm-gcc-10-vexpress_defconfig
  - arm-clang-12-shmobile_defconfig
  - arm-gcc-11-omap2plus_defconfig
  - arm-gcc-9-sama5_defconfig
  - arm-gcc-8-shmobile_defconfig
  - arm-gcc-10-lpc32xx_defconfig
  - arm-clang-12-omap2plus_defconfig
  - arm-gcc-8-vexpress_defconfig
  - arm-clang-12-sama5_defconfig
  - arm-clang-nightly-omap2plus_defconfig
  - arm-gcc-11-lpc32xx_defconfig
  - arm-gcc-11-sama5_defconfig
  - arm-gcc-11-shmobile_defconfig
  - arm-gcc-11-vexpress_defconfig
  - arm-gcc-8-sama5_defconfig
  - arm-clang-13-sama5_defconfig
  - arm-clang-12-lpc32xx_defconfig


make --silent --keep-going --jobs=8  ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' vexpress_defconfig
make --silent --keep-going --jobs=8  ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
arm-linux-gnueabihf-ld: drivers/gpu/drm/panel/panel-edp.o: in function
`panel_edp_probe':
panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
make[1]: *** [/builds/linux/Makefile:1222: vmlinux] Error 1


Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

meta data:
-----------
    git describe: next-20220202
    git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
    target_arch: arm
    kconfig: vexpress_defconfig
    toolchain: gcc-11

Build log:
-------------
https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/

Steps to reproduce:
--------------------
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.
# Original tuxmake command with fragments listed below.

tuxmake --runtime podman --target-arch arm --toolchain gcc-11
--kconfig vexpress_defconfig

tuxmake --runtime podman --target-arch arm --toolchain gcc-11
--kconfig https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/config


--
Linaro LKFT
https://lkft.linaro.org

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [next] arm: panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
  2022-02-02  9:02 ` Naresh Kamboju
@ 2022-02-02  9:07   ` Thomas Zimmermann
  -1 siblings, 0 replies; 15+ messages in thread
From: Thomas Zimmermann @ 2022-02-02  9:07 UTC (permalink / raw)
  To: Naresh Kamboju, Linux ARM, open list, Linux-Next Mailing List,
	lkft-triage, dri-devel, regressions
  Cc: Marek Vasut, Stephen Rothwell, Arnd Bergmann, Yunlong Jia,
	David Airlie, Douglas Anderson, Thierry Reding, Grace Mi,
	Sam Ravnborg


[-- Attachment #1.1: Type: text/plain, Size: 3491 bytes --]

Hi

Am 02.02.22 um 10:02 schrieb Naresh Kamboju:
> Following builds failed on Linux next 20220202 arm architecture.
>    - arm-gcc-10-omap2plus_defconfig
>    - arm-clang-nightly-shmobile_defconfig
>    - arm-gcc-8-lpc32xx_defconfig
>    - arm-clang-13-shmobile_defconfig
>    - arm-gcc-10-shmobile_defconfig
>    - arm-clang-11-shmobile_defconfig
>    - arm-clang-11-omap2plus_defconfig
>    - arm-clang-13-omap2plus_defconfig
>    - arm-clang-11-lpc32xx_defconfig
>    - arm-gcc-8-omap2plus_defconfig
>    - arm-gcc-9-vexpress_defconfig
>    - arm-clang-nightly-lpc32xx_defconfig
>    - arm-gcc-9-shmobile_defconfig
>    - arm-clang-13-lpc32xx_defconfig
>    - arm-gcc-10-sama5_defconfig
>    - arm-clang-11-vexpress_defconfig
>    - arm-clang-11-sama5_defconfig
>    - arm-gcc-9-omap2plus_defconfig
>    - arm-clang-nightly-sama5_defconfig
>    - arm-clang-13-vexpress_defconfig
>    - arm-clang-nightly-vexpress_defconfig
>    - arm-gcc-9-lpc32xx_defconfig
>    - arm-clang-12-vexpress_defconfig
>    - arm-gcc-10-vexpress_defconfig
>    - arm-clang-12-shmobile_defconfig
>    - arm-gcc-11-omap2plus_defconfig
>    - arm-gcc-9-sama5_defconfig
>    - arm-gcc-8-shmobile_defconfig
>    - arm-gcc-10-lpc32xx_defconfig
>    - arm-clang-12-omap2plus_defconfig
>    - arm-gcc-8-vexpress_defconfig
>    - arm-clang-12-sama5_defconfig
>    - arm-clang-nightly-omap2plus_defconfig
>    - arm-gcc-11-lpc32xx_defconfig
>    - arm-gcc-11-sama5_defconfig
>    - arm-gcc-11-shmobile_defconfig
>    - arm-gcc-11-vexpress_defconfig
>    - arm-gcc-8-sama5_defconfig
>    - arm-clang-13-sama5_defconfig
>    - arm-clang-12-lpc32xx_defconfig
> 
> 
> make --silent --keep-going --jobs=8  ARCH=arm
> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' vexpress_defconfig
> make --silent --keep-going --jobs=8  ARCH=arm
> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
> arm-linux-gnueabihf-ld: drivers/gpu/drm/panel/panel-edp.o: in function
> `panel_edp_probe':
> panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
> make[1]: *** [/builds/linux/Makefile:1222: vmlinux] Error 1
> 
> 
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> 
> meta data:
> -----------
>      git describe: next-20220202
>      git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>      target_arch: arm
>      kconfig: vexpress_defconfig
>      toolchain: gcc-11
> 
> Build log:
> -------------
> https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/
> 
> Steps to reproduce:
> --------------------
> # To install tuxmake on your system globally:
> # sudo pip3 install -U tuxmake
> #
> # See https://docs.tuxmake.org/ for complete documentation.
> # Original tuxmake command with fragments listed below.
> 
> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
> --kconfig vexpress_defconfig
> 
> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
> --kconfig https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/config

You'll now need

   CONFIG_DRM_DP_HELPER=y

in your config.

Best regards
Thomas

> 
> 
> --
> Linaro LKFT
> https://lkft.linaro.org

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [next] arm: panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
@ 2022-02-02  9:07   ` Thomas Zimmermann
  0 siblings, 0 replies; 15+ messages in thread
From: Thomas Zimmermann @ 2022-02-02  9:07 UTC (permalink / raw)
  To: Naresh Kamboju, Linux ARM, open list, Linux-Next Mailing List,
	lkft-triage, dri-devel, regressions
  Cc: Marek Vasut, Stephen Rothwell, Arnd Bergmann, Yunlong Jia,
	David Airlie, Douglas Anderson, Thierry Reding, Grace Mi,
	Sam Ravnborg


[-- Attachment #1.1.1: Type: text/plain, Size: 3491 bytes --]

Hi

Am 02.02.22 um 10:02 schrieb Naresh Kamboju:
> Following builds failed on Linux next 20220202 arm architecture.
>    - arm-gcc-10-omap2plus_defconfig
>    - arm-clang-nightly-shmobile_defconfig
>    - arm-gcc-8-lpc32xx_defconfig
>    - arm-clang-13-shmobile_defconfig
>    - arm-gcc-10-shmobile_defconfig
>    - arm-clang-11-shmobile_defconfig
>    - arm-clang-11-omap2plus_defconfig
>    - arm-clang-13-omap2plus_defconfig
>    - arm-clang-11-lpc32xx_defconfig
>    - arm-gcc-8-omap2plus_defconfig
>    - arm-gcc-9-vexpress_defconfig
>    - arm-clang-nightly-lpc32xx_defconfig
>    - arm-gcc-9-shmobile_defconfig
>    - arm-clang-13-lpc32xx_defconfig
>    - arm-gcc-10-sama5_defconfig
>    - arm-clang-11-vexpress_defconfig
>    - arm-clang-11-sama5_defconfig
>    - arm-gcc-9-omap2plus_defconfig
>    - arm-clang-nightly-sama5_defconfig
>    - arm-clang-13-vexpress_defconfig
>    - arm-clang-nightly-vexpress_defconfig
>    - arm-gcc-9-lpc32xx_defconfig
>    - arm-clang-12-vexpress_defconfig
>    - arm-gcc-10-vexpress_defconfig
>    - arm-clang-12-shmobile_defconfig
>    - arm-gcc-11-omap2plus_defconfig
>    - arm-gcc-9-sama5_defconfig
>    - arm-gcc-8-shmobile_defconfig
>    - arm-gcc-10-lpc32xx_defconfig
>    - arm-clang-12-omap2plus_defconfig
>    - arm-gcc-8-vexpress_defconfig
>    - arm-clang-12-sama5_defconfig
>    - arm-clang-nightly-omap2plus_defconfig
>    - arm-gcc-11-lpc32xx_defconfig
>    - arm-gcc-11-sama5_defconfig
>    - arm-gcc-11-shmobile_defconfig
>    - arm-gcc-11-vexpress_defconfig
>    - arm-gcc-8-sama5_defconfig
>    - arm-clang-13-sama5_defconfig
>    - arm-clang-12-lpc32xx_defconfig
> 
> 
> make --silent --keep-going --jobs=8  ARCH=arm
> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' vexpress_defconfig
> make --silent --keep-going --jobs=8  ARCH=arm
> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
> arm-linux-gnueabihf-ld: drivers/gpu/drm/panel/panel-edp.o: in function
> `panel_edp_probe':
> panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
> make[1]: *** [/builds/linux/Makefile:1222: vmlinux] Error 1
> 
> 
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> 
> meta data:
> -----------
>      git describe: next-20220202
>      git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>      target_arch: arm
>      kconfig: vexpress_defconfig
>      toolchain: gcc-11
> 
> Build log:
> -------------
> https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/
> 
> Steps to reproduce:
> --------------------
> # To install tuxmake on your system globally:
> # sudo pip3 install -U tuxmake
> #
> # See https://docs.tuxmake.org/ for complete documentation.
> # Original tuxmake command with fragments listed below.
> 
> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
> --kconfig vexpress_defconfig
> 
> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
> --kconfig https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/config

You'll now need

   CONFIG_DRM_DP_HELPER=y

in your config.

Best regards
Thomas

> 
> 
> --
> Linaro LKFT
> https://lkft.linaro.org

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev

[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [next] arm: panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
  2022-02-02  9:07   ` Thomas Zimmermann
  (?)
@ 2022-02-02  9:28     ` Ard Biesheuvel
  -1 siblings, 0 replies; 15+ messages in thread
From: Ard Biesheuvel @ 2022-02-02  9:28 UTC (permalink / raw)
  To: Thomas Zimmermann
  Cc: Naresh Kamboju, Linux ARM, open list, Linux-Next Mailing List,
	lkft-triage, dri-devel, regressions, Marek Vasut,
	Stephen Rothwell, Arnd Bergmann, Yunlong Jia, David Airlie,
	Douglas Anderson, Thierry Reding, Grace Mi, Sam Ravnborg

On Wed, 2 Feb 2022 at 10:08, Thomas Zimmermann <tzimmermann@suse.de> wrote:
>
> Hi
>
> Am 02.02.22 um 10:02 schrieb Naresh Kamboju:
> > Following builds failed on Linux next 20220202 arm architecture.
> >    - arm-gcc-10-omap2plus_defconfig
> >    - arm-clang-nightly-shmobile_defconfig
> >    - arm-gcc-8-lpc32xx_defconfig
> >    - arm-clang-13-shmobile_defconfig
> >    - arm-gcc-10-shmobile_defconfig
> >    - arm-clang-11-shmobile_defconfig
> >    - arm-clang-11-omap2plus_defconfig
> >    - arm-clang-13-omap2plus_defconfig
> >    - arm-clang-11-lpc32xx_defconfig
> >    - arm-gcc-8-omap2plus_defconfig
> >    - arm-gcc-9-vexpress_defconfig
> >    - arm-clang-nightly-lpc32xx_defconfig
> >    - arm-gcc-9-shmobile_defconfig
> >    - arm-clang-13-lpc32xx_defconfig
> >    - arm-gcc-10-sama5_defconfig
> >    - arm-clang-11-vexpress_defconfig
> >    - arm-clang-11-sama5_defconfig
> >    - arm-gcc-9-omap2plus_defconfig
> >    - arm-clang-nightly-sama5_defconfig
> >    - arm-clang-13-vexpress_defconfig
> >    - arm-clang-nightly-vexpress_defconfig
> >    - arm-gcc-9-lpc32xx_defconfig
> >    - arm-clang-12-vexpress_defconfig
> >    - arm-gcc-10-vexpress_defconfig
> >    - arm-clang-12-shmobile_defconfig
> >    - arm-gcc-11-omap2plus_defconfig
> >    - arm-gcc-9-sama5_defconfig
> >    - arm-gcc-8-shmobile_defconfig
> >    - arm-gcc-10-lpc32xx_defconfig
> >    - arm-clang-12-omap2plus_defconfig
> >    - arm-gcc-8-vexpress_defconfig
> >    - arm-clang-12-sama5_defconfig
> >    - arm-clang-nightly-omap2plus_defconfig
> >    - arm-gcc-11-lpc32xx_defconfig
> >    - arm-gcc-11-sama5_defconfig
> >    - arm-gcc-11-shmobile_defconfig
> >    - arm-gcc-11-vexpress_defconfig
> >    - arm-gcc-8-sama5_defconfig
> >    - arm-clang-13-sama5_defconfig
> >    - arm-clang-12-lpc32xx_defconfig
> >
> >
> > make --silent --keep-going --jobs=8  ARCH=arm
> > CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> > arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' vexpress_defconfig
> > make --silent --keep-going --jobs=8  ARCH=arm
> > CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> > arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
> > arm-linux-gnueabihf-ld: drivers/gpu/drm/panel/panel-edp.o: in function
> > `panel_edp_probe':
> > panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
> > make[1]: *** [/builds/linux/Makefile:1222: vmlinux] Error 1
> >
> >
> > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> >
> > meta data:
> > -----------
> >      git describe: next-20220202
> >      git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> >      target_arch: arm
> >      kconfig: vexpress_defconfig
> >      toolchain: gcc-11
> >
> > Build log:
> > -------------
> > https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/
> >
> > Steps to reproduce:
> > --------------------
> > # To install tuxmake on your system globally:
> > # sudo pip3 install -U tuxmake
> > #
> > # See https://docs.tuxmake.org/ for complete documentation.
> > # Original tuxmake command with fragments listed below.
> >
> > tuxmake --runtime podman --target-arch arm --toolchain gcc-11
> > --kconfig vexpress_defconfig
> >
> > tuxmake --runtime podman --target-arch arm --toolchain gcc-11
> > --kconfig https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/config
>
> You'll now need
>
>    CONFIG_DRM_DP_HELPER=y
>
> in your config.
>

That should never be the solution for linker errors such as this one.

If CONFIG_DRM_PANEL_EDP relies on something provided by
CONFIG_DRM_DP_HELPER, it should select it or depend on it in Kconfig.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [next] arm: panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
@ 2022-02-02  9:28     ` Ard Biesheuvel
  0 siblings, 0 replies; 15+ messages in thread
From: Ard Biesheuvel @ 2022-02-02  9:28 UTC (permalink / raw)
  To: Thomas Zimmermann
  Cc: Marek Vasut, Stephen Rothwell, regressions, Arnd Bergmann,
	Yunlong Jia, David Airlie, Naresh Kamboju, open list, dri-devel,
	Douglas Anderson, Linux-Next Mailing List, Thierry Reding,
	lkft-triage, Grace Mi, Sam Ravnborg, Linux ARM

On Wed, 2 Feb 2022 at 10:08, Thomas Zimmermann <tzimmermann@suse.de> wrote:
>
> Hi
>
> Am 02.02.22 um 10:02 schrieb Naresh Kamboju:
> > Following builds failed on Linux next 20220202 arm architecture.
> >    - arm-gcc-10-omap2plus_defconfig
> >    - arm-clang-nightly-shmobile_defconfig
> >    - arm-gcc-8-lpc32xx_defconfig
> >    - arm-clang-13-shmobile_defconfig
> >    - arm-gcc-10-shmobile_defconfig
> >    - arm-clang-11-shmobile_defconfig
> >    - arm-clang-11-omap2plus_defconfig
> >    - arm-clang-13-omap2plus_defconfig
> >    - arm-clang-11-lpc32xx_defconfig
> >    - arm-gcc-8-omap2plus_defconfig
> >    - arm-gcc-9-vexpress_defconfig
> >    - arm-clang-nightly-lpc32xx_defconfig
> >    - arm-gcc-9-shmobile_defconfig
> >    - arm-clang-13-lpc32xx_defconfig
> >    - arm-gcc-10-sama5_defconfig
> >    - arm-clang-11-vexpress_defconfig
> >    - arm-clang-11-sama5_defconfig
> >    - arm-gcc-9-omap2plus_defconfig
> >    - arm-clang-nightly-sama5_defconfig
> >    - arm-clang-13-vexpress_defconfig
> >    - arm-clang-nightly-vexpress_defconfig
> >    - arm-gcc-9-lpc32xx_defconfig
> >    - arm-clang-12-vexpress_defconfig
> >    - arm-gcc-10-vexpress_defconfig
> >    - arm-clang-12-shmobile_defconfig
> >    - arm-gcc-11-omap2plus_defconfig
> >    - arm-gcc-9-sama5_defconfig
> >    - arm-gcc-8-shmobile_defconfig
> >    - arm-gcc-10-lpc32xx_defconfig
> >    - arm-clang-12-omap2plus_defconfig
> >    - arm-gcc-8-vexpress_defconfig
> >    - arm-clang-12-sama5_defconfig
> >    - arm-clang-nightly-omap2plus_defconfig
> >    - arm-gcc-11-lpc32xx_defconfig
> >    - arm-gcc-11-sama5_defconfig
> >    - arm-gcc-11-shmobile_defconfig
> >    - arm-gcc-11-vexpress_defconfig
> >    - arm-gcc-8-sama5_defconfig
> >    - arm-clang-13-sama5_defconfig
> >    - arm-clang-12-lpc32xx_defconfig
> >
> >
> > make --silent --keep-going --jobs=8  ARCH=arm
> > CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> > arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' vexpress_defconfig
> > make --silent --keep-going --jobs=8  ARCH=arm
> > CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> > arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
> > arm-linux-gnueabihf-ld: drivers/gpu/drm/panel/panel-edp.o: in function
> > `panel_edp_probe':
> > panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
> > make[1]: *** [/builds/linux/Makefile:1222: vmlinux] Error 1
> >
> >
> > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> >
> > meta data:
> > -----------
> >      git describe: next-20220202
> >      git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> >      target_arch: arm
> >      kconfig: vexpress_defconfig
> >      toolchain: gcc-11
> >
> > Build log:
> > -------------
> > https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/
> >
> > Steps to reproduce:
> > --------------------
> > # To install tuxmake on your system globally:
> > # sudo pip3 install -U tuxmake
> > #
> > # See https://docs.tuxmake.org/ for complete documentation.
> > # Original tuxmake command with fragments listed below.
> >
> > tuxmake --runtime podman --target-arch arm --toolchain gcc-11
> > --kconfig vexpress_defconfig
> >
> > tuxmake --runtime podman --target-arch arm --toolchain gcc-11
> > --kconfig https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/config
>
> You'll now need
>
>    CONFIG_DRM_DP_HELPER=y
>
> in your config.
>

That should never be the solution for linker errors such as this one.

If CONFIG_DRM_PANEL_EDP relies on something provided by
CONFIG_DRM_DP_HELPER, it should select it or depend on it in Kconfig.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [next] arm: panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
@ 2022-02-02  9:28     ` Ard Biesheuvel
  0 siblings, 0 replies; 15+ messages in thread
From: Ard Biesheuvel @ 2022-02-02  9:28 UTC (permalink / raw)
  To: Thomas Zimmermann
  Cc: Naresh Kamboju, Linux ARM, open list, Linux-Next Mailing List,
	lkft-triage, dri-devel, regressions, Marek Vasut,
	Stephen Rothwell, Arnd Bergmann, Yunlong Jia, David Airlie,
	Douglas Anderson, Thierry Reding, Grace Mi, Sam Ravnborg

On Wed, 2 Feb 2022 at 10:08, Thomas Zimmermann <tzimmermann@suse.de> wrote:
>
> Hi
>
> Am 02.02.22 um 10:02 schrieb Naresh Kamboju:
> > Following builds failed on Linux next 20220202 arm architecture.
> >    - arm-gcc-10-omap2plus_defconfig
> >    - arm-clang-nightly-shmobile_defconfig
> >    - arm-gcc-8-lpc32xx_defconfig
> >    - arm-clang-13-shmobile_defconfig
> >    - arm-gcc-10-shmobile_defconfig
> >    - arm-clang-11-shmobile_defconfig
> >    - arm-clang-11-omap2plus_defconfig
> >    - arm-clang-13-omap2plus_defconfig
> >    - arm-clang-11-lpc32xx_defconfig
> >    - arm-gcc-8-omap2plus_defconfig
> >    - arm-gcc-9-vexpress_defconfig
> >    - arm-clang-nightly-lpc32xx_defconfig
> >    - arm-gcc-9-shmobile_defconfig
> >    - arm-clang-13-lpc32xx_defconfig
> >    - arm-gcc-10-sama5_defconfig
> >    - arm-clang-11-vexpress_defconfig
> >    - arm-clang-11-sama5_defconfig
> >    - arm-gcc-9-omap2plus_defconfig
> >    - arm-clang-nightly-sama5_defconfig
> >    - arm-clang-13-vexpress_defconfig
> >    - arm-clang-nightly-vexpress_defconfig
> >    - arm-gcc-9-lpc32xx_defconfig
> >    - arm-clang-12-vexpress_defconfig
> >    - arm-gcc-10-vexpress_defconfig
> >    - arm-clang-12-shmobile_defconfig
> >    - arm-gcc-11-omap2plus_defconfig
> >    - arm-gcc-9-sama5_defconfig
> >    - arm-gcc-8-shmobile_defconfig
> >    - arm-gcc-10-lpc32xx_defconfig
> >    - arm-clang-12-omap2plus_defconfig
> >    - arm-gcc-8-vexpress_defconfig
> >    - arm-clang-12-sama5_defconfig
> >    - arm-clang-nightly-omap2plus_defconfig
> >    - arm-gcc-11-lpc32xx_defconfig
> >    - arm-gcc-11-sama5_defconfig
> >    - arm-gcc-11-shmobile_defconfig
> >    - arm-gcc-11-vexpress_defconfig
> >    - arm-gcc-8-sama5_defconfig
> >    - arm-clang-13-sama5_defconfig
> >    - arm-clang-12-lpc32xx_defconfig
> >
> >
> > make --silent --keep-going --jobs=8  ARCH=arm
> > CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> > arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' vexpress_defconfig
> > make --silent --keep-going --jobs=8  ARCH=arm
> > CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> > arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
> > arm-linux-gnueabihf-ld: drivers/gpu/drm/panel/panel-edp.o: in function
> > `panel_edp_probe':
> > panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
> > make[1]: *** [/builds/linux/Makefile:1222: vmlinux] Error 1
> >
> >
> > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> >
> > meta data:
> > -----------
> >      git describe: next-20220202
> >      git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> >      target_arch: arm
> >      kconfig: vexpress_defconfig
> >      toolchain: gcc-11
> >
> > Build log:
> > -------------
> > https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/
> >
> > Steps to reproduce:
> > --------------------
> > # To install tuxmake on your system globally:
> > # sudo pip3 install -U tuxmake
> > #
> > # See https://docs.tuxmake.org/ for complete documentation.
> > # Original tuxmake command with fragments listed below.
> >
> > tuxmake --runtime podman --target-arch arm --toolchain gcc-11
> > --kconfig vexpress_defconfig
> >
> > tuxmake --runtime podman --target-arch arm --toolchain gcc-11
> > --kconfig https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/config
>
> You'll now need
>
>    CONFIG_DRM_DP_HELPER=y
>
> in your config.
>

That should never be the solution for linker errors such as this one.

If CONFIG_DRM_PANEL_EDP relies on something provided by
CONFIG_DRM_DP_HELPER, it should select it or depend on it in Kconfig.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [next] arm: panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
  2022-02-02  9:28     ` Ard Biesheuvel
@ 2022-02-02 10:25       ` Thomas Zimmermann
  -1 siblings, 0 replies; 15+ messages in thread
From: Thomas Zimmermann @ 2022-02-02 10:25 UTC (permalink / raw)
  To: Ard Biesheuvel
  Cc: Marek Vasut, Stephen Rothwell, regressions, Arnd Bergmann,
	Yunlong Jia, David Airlie, Naresh Kamboju, open list, dri-devel,
	Douglas Anderson, Linux-Next Mailing List, Thierry Reding,
	lkft-triage, Grace Mi, Sam Ravnborg, Linux ARM


[-- Attachment #1.1: Type: text/plain, Size: 4070 bytes --]

Hi

Am 02.02.22 um 10:28 schrieb Ard Biesheuvel:
> On Wed, 2 Feb 2022 at 10:08, Thomas Zimmermann <tzimmermann@suse.de> wrote:
>>
>> Hi
>>
>> Am 02.02.22 um 10:02 schrieb Naresh Kamboju:
>>> Following builds failed on Linux next 20220202 arm architecture.
>>>     - arm-gcc-10-omap2plus_defconfig
>>>     - arm-clang-nightly-shmobile_defconfig
>>>     - arm-gcc-8-lpc32xx_defconfig
>>>     - arm-clang-13-shmobile_defconfig
>>>     - arm-gcc-10-shmobile_defconfig
>>>     - arm-clang-11-shmobile_defconfig
>>>     - arm-clang-11-omap2plus_defconfig
>>>     - arm-clang-13-omap2plus_defconfig
>>>     - arm-clang-11-lpc32xx_defconfig
>>>     - arm-gcc-8-omap2plus_defconfig
>>>     - arm-gcc-9-vexpress_defconfig
>>>     - arm-clang-nightly-lpc32xx_defconfig
>>>     - arm-gcc-9-shmobile_defconfig
>>>     - arm-clang-13-lpc32xx_defconfig
>>>     - arm-gcc-10-sama5_defconfig
>>>     - arm-clang-11-vexpress_defconfig
>>>     - arm-clang-11-sama5_defconfig
>>>     - arm-gcc-9-omap2plus_defconfig
>>>     - arm-clang-nightly-sama5_defconfig
>>>     - arm-clang-13-vexpress_defconfig
>>>     - arm-clang-nightly-vexpress_defconfig
>>>     - arm-gcc-9-lpc32xx_defconfig
>>>     - arm-clang-12-vexpress_defconfig
>>>     - arm-gcc-10-vexpress_defconfig
>>>     - arm-clang-12-shmobile_defconfig
>>>     - arm-gcc-11-omap2plus_defconfig
>>>     - arm-gcc-9-sama5_defconfig
>>>     - arm-gcc-8-shmobile_defconfig
>>>     - arm-gcc-10-lpc32xx_defconfig
>>>     - arm-clang-12-omap2plus_defconfig
>>>     - arm-gcc-8-vexpress_defconfig
>>>     - arm-clang-12-sama5_defconfig
>>>     - arm-clang-nightly-omap2plus_defconfig
>>>     - arm-gcc-11-lpc32xx_defconfig
>>>     - arm-gcc-11-sama5_defconfig
>>>     - arm-gcc-11-shmobile_defconfig
>>>     - arm-gcc-11-vexpress_defconfig
>>>     - arm-gcc-8-sama5_defconfig
>>>     - arm-clang-13-sama5_defconfig
>>>     - arm-clang-12-lpc32xx_defconfig
>>>
>>>
>>> make --silent --keep-going --jobs=8  ARCH=arm
>>> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
>>> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' vexpress_defconfig
>>> make --silent --keep-going --jobs=8  ARCH=arm
>>> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
>>> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
>>> arm-linux-gnueabihf-ld: drivers/gpu/drm/panel/panel-edp.o: in function
>>> `panel_edp_probe':
>>> panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
>>> make[1]: *** [/builds/linux/Makefile:1222: vmlinux] Error 1
>>>
>>>
>>> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
>>>
>>> meta data:
>>> -----------
>>>       git describe: next-20220202
>>>       git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>>>       target_arch: arm
>>>       kconfig: vexpress_defconfig
>>>       toolchain: gcc-11
>>>
>>> Build log:
>>> -------------
>>> https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/
>>>
>>> Steps to reproduce:
>>> --------------------
>>> # To install tuxmake on your system globally:
>>> # sudo pip3 install -U tuxmake
>>> #
>>> # See https://docs.tuxmake.org/ for complete documentation.
>>> # Original tuxmake command with fragments listed below.
>>>
>>> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
>>> --kconfig vexpress_defconfig
>>>
>>> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
>>> --kconfig https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/config
>>
>> You'll now need
>>
>>     CONFIG_DRM_DP_HELPER=y
>>
>> in your config.
>>
> 
> That should never be the solution for linker errors such as this one.
> 
> If CONFIG_DRM_PANEL_EDP relies on something provided by
> CONFIG_DRM_DP_HELPER, it should select it or depend on it in Kconfig.

Of course, we'll provide a patch for the Kconfig files.

Best regards
Thomas


-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [next] arm: panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
@ 2022-02-02 10:25       ` Thomas Zimmermann
  0 siblings, 0 replies; 15+ messages in thread
From: Thomas Zimmermann @ 2022-02-02 10:25 UTC (permalink / raw)
  To: Ard Biesheuvel
  Cc: Marek Vasut, Stephen Rothwell, regressions, Arnd Bergmann,
	Yunlong Jia, David Airlie, Naresh Kamboju, open list, dri-devel,
	Douglas Anderson, Linux-Next Mailing List, Thierry Reding,
	lkft-triage, Grace Mi, Sam Ravnborg, Linux ARM


[-- Attachment #1.1.1: Type: text/plain, Size: 4070 bytes --]

Hi

Am 02.02.22 um 10:28 schrieb Ard Biesheuvel:
> On Wed, 2 Feb 2022 at 10:08, Thomas Zimmermann <tzimmermann@suse.de> wrote:
>>
>> Hi
>>
>> Am 02.02.22 um 10:02 schrieb Naresh Kamboju:
>>> Following builds failed on Linux next 20220202 arm architecture.
>>>     - arm-gcc-10-omap2plus_defconfig
>>>     - arm-clang-nightly-shmobile_defconfig
>>>     - arm-gcc-8-lpc32xx_defconfig
>>>     - arm-clang-13-shmobile_defconfig
>>>     - arm-gcc-10-shmobile_defconfig
>>>     - arm-clang-11-shmobile_defconfig
>>>     - arm-clang-11-omap2plus_defconfig
>>>     - arm-clang-13-omap2plus_defconfig
>>>     - arm-clang-11-lpc32xx_defconfig
>>>     - arm-gcc-8-omap2plus_defconfig
>>>     - arm-gcc-9-vexpress_defconfig
>>>     - arm-clang-nightly-lpc32xx_defconfig
>>>     - arm-gcc-9-shmobile_defconfig
>>>     - arm-clang-13-lpc32xx_defconfig
>>>     - arm-gcc-10-sama5_defconfig
>>>     - arm-clang-11-vexpress_defconfig
>>>     - arm-clang-11-sama5_defconfig
>>>     - arm-gcc-9-omap2plus_defconfig
>>>     - arm-clang-nightly-sama5_defconfig
>>>     - arm-clang-13-vexpress_defconfig
>>>     - arm-clang-nightly-vexpress_defconfig
>>>     - arm-gcc-9-lpc32xx_defconfig
>>>     - arm-clang-12-vexpress_defconfig
>>>     - arm-gcc-10-vexpress_defconfig
>>>     - arm-clang-12-shmobile_defconfig
>>>     - arm-gcc-11-omap2plus_defconfig
>>>     - arm-gcc-9-sama5_defconfig
>>>     - arm-gcc-8-shmobile_defconfig
>>>     - arm-gcc-10-lpc32xx_defconfig
>>>     - arm-clang-12-omap2plus_defconfig
>>>     - arm-gcc-8-vexpress_defconfig
>>>     - arm-clang-12-sama5_defconfig
>>>     - arm-clang-nightly-omap2plus_defconfig
>>>     - arm-gcc-11-lpc32xx_defconfig
>>>     - arm-gcc-11-sama5_defconfig
>>>     - arm-gcc-11-shmobile_defconfig
>>>     - arm-gcc-11-vexpress_defconfig
>>>     - arm-gcc-8-sama5_defconfig
>>>     - arm-clang-13-sama5_defconfig
>>>     - arm-clang-12-lpc32xx_defconfig
>>>
>>>
>>> make --silent --keep-going --jobs=8  ARCH=arm
>>> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
>>> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' vexpress_defconfig
>>> make --silent --keep-going --jobs=8  ARCH=arm
>>> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
>>> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
>>> arm-linux-gnueabihf-ld: drivers/gpu/drm/panel/panel-edp.o: in function
>>> `panel_edp_probe':
>>> panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
>>> make[1]: *** [/builds/linux/Makefile:1222: vmlinux] Error 1
>>>
>>>
>>> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
>>>
>>> meta data:
>>> -----------
>>>       git describe: next-20220202
>>>       git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>>>       target_arch: arm
>>>       kconfig: vexpress_defconfig
>>>       toolchain: gcc-11
>>>
>>> Build log:
>>> -------------
>>> https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/
>>>
>>> Steps to reproduce:
>>> --------------------
>>> # To install tuxmake on your system globally:
>>> # sudo pip3 install -U tuxmake
>>> #
>>> # See https://docs.tuxmake.org/ for complete documentation.
>>> # Original tuxmake command with fragments listed below.
>>>
>>> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
>>> --kconfig vexpress_defconfig
>>>
>>> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
>>> --kconfig https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/config
>>
>> You'll now need
>>
>>     CONFIG_DRM_DP_HELPER=y
>>
>> in your config.
>>
> 
> That should never be the solution for linker errors such as this one.
> 
> If CONFIG_DRM_PANEL_EDP relies on something provided by
> CONFIG_DRM_DP_HELPER, it should select it or depend on it in Kconfig.

Of course, we'll provide a patch for the Kconfig files.

Best regards
Thomas


-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev

[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [next] arm: panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
  2022-02-02 10:25       ` Thomas Zimmermann
  (?)
@ 2022-02-02 15:37         ` Doug Anderson
  -1 siblings, 0 replies; 15+ messages in thread
From: Doug Anderson @ 2022-02-02 15:37 UTC (permalink / raw)
  To: Thomas Zimmermann
  Cc: Ard Biesheuvel, Marek Vasut, Stephen Rothwell, regressions,
	Arnd Bergmann, Yunlong Jia, David Airlie, Naresh Kamboju,
	open list, dri-devel, Linux-Next Mailing List, Thierry Reding,
	lkft-triage, Grace Mi, Sam Ravnborg, Linux ARM, Randy Dunlap

Hi,

On Wed, Feb 2, 2022 at 2:25 AM Thomas Zimmermann <tzimmermann@suse.de> wrote:
>
> Hi
>
> Am 02.02.22 um 10:28 schrieb Ard Biesheuvel:
> > On Wed, 2 Feb 2022 at 10:08, Thomas Zimmermann <tzimmermann@suse.de> wrote:
> >>
> >> Hi
> >>
> >> Am 02.02.22 um 10:02 schrieb Naresh Kamboju:
> >>> Following builds failed on Linux next 20220202 arm architecture.
> >>>     - arm-gcc-10-omap2plus_defconfig
> >>>     - arm-clang-nightly-shmobile_defconfig
> >>>     - arm-gcc-8-lpc32xx_defconfig
> >>>     - arm-clang-13-shmobile_defconfig
> >>>     - arm-gcc-10-shmobile_defconfig
> >>>     - arm-clang-11-shmobile_defconfig
> >>>     - arm-clang-11-omap2plus_defconfig
> >>>     - arm-clang-13-omap2plus_defconfig
> >>>     - arm-clang-11-lpc32xx_defconfig
> >>>     - arm-gcc-8-omap2plus_defconfig
> >>>     - arm-gcc-9-vexpress_defconfig
> >>>     - arm-clang-nightly-lpc32xx_defconfig
> >>>     - arm-gcc-9-shmobile_defconfig
> >>>     - arm-clang-13-lpc32xx_defconfig
> >>>     - arm-gcc-10-sama5_defconfig
> >>>     - arm-clang-11-vexpress_defconfig
> >>>     - arm-clang-11-sama5_defconfig
> >>>     - arm-gcc-9-omap2plus_defconfig
> >>>     - arm-clang-nightly-sama5_defconfig
> >>>     - arm-clang-13-vexpress_defconfig
> >>>     - arm-clang-nightly-vexpress_defconfig
> >>>     - arm-gcc-9-lpc32xx_defconfig
> >>>     - arm-clang-12-vexpress_defconfig
> >>>     - arm-gcc-10-vexpress_defconfig
> >>>     - arm-clang-12-shmobile_defconfig
> >>>     - arm-gcc-11-omap2plus_defconfig
> >>>     - arm-gcc-9-sama5_defconfig
> >>>     - arm-gcc-8-shmobile_defconfig
> >>>     - arm-gcc-10-lpc32xx_defconfig
> >>>     - arm-clang-12-omap2plus_defconfig
> >>>     - arm-gcc-8-vexpress_defconfig
> >>>     - arm-clang-12-sama5_defconfig
> >>>     - arm-clang-nightly-omap2plus_defconfig
> >>>     - arm-gcc-11-lpc32xx_defconfig
> >>>     - arm-gcc-11-sama5_defconfig
> >>>     - arm-gcc-11-shmobile_defconfig
> >>>     - arm-gcc-11-vexpress_defconfig
> >>>     - arm-gcc-8-sama5_defconfig
> >>>     - arm-clang-13-sama5_defconfig
> >>>     - arm-clang-12-lpc32xx_defconfig
> >>>
> >>>
> >>> make --silent --keep-going --jobs=8  ARCH=arm
> >>> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> >>> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' vexpress_defconfig
> >>> make --silent --keep-going --jobs=8  ARCH=arm
> >>> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> >>> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
> >>> arm-linux-gnueabihf-ld: drivers/gpu/drm/panel/panel-edp.o: in function
> >>> `panel_edp_probe':
> >>> panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
> >>> make[1]: *** [/builds/linux/Makefile:1222: vmlinux] Error 1
> >>>
> >>>
> >>> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> >>>
> >>> meta data:
> >>> -----------
> >>>       git describe: next-20220202
> >>>       git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> >>>       target_arch: arm
> >>>       kconfig: vexpress_defconfig
> >>>       toolchain: gcc-11
> >>>
> >>> Build log:
> >>> -------------
> >>> https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/
> >>>
> >>> Steps to reproduce:
> >>> --------------------
> >>> # To install tuxmake on your system globally:
> >>> # sudo pip3 install -U tuxmake
> >>> #
> >>> # See https://docs.tuxmake.org/ for complete documentation.
> >>> # Original tuxmake command with fragments listed below.
> >>>
> >>> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
> >>> --kconfig vexpress_defconfig
> >>>
> >>> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
> >>> --kconfig https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/config
> >>
> >> You'll now need
> >>
> >>     CONFIG_DRM_DP_HELPER=y
> >>
> >> in your config.
> >>
> >
> > That should never be the solution for linker errors such as this one.
> >
> > If CONFIG_DRM_PANEL_EDP relies on something provided by
> > CONFIG_DRM_DP_HELPER, it should select it or depend on it in Kconfig.
>
> Of course, we'll provide a patch for the Kconfig files.

There was discussion about this last November but I guess nothing came of it?

https://lore.kernel.org/r/20211117062704.14671-1-rdunlap@infradead.org/

In there Arnd provided a proposed patch. If everyone likes that and it
fixes things then we can apply it...

-Doug

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [next] arm: panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
@ 2022-02-02 15:37         ` Doug Anderson
  0 siblings, 0 replies; 15+ messages in thread
From: Doug Anderson @ 2022-02-02 15:37 UTC (permalink / raw)
  To: Thomas Zimmermann
  Cc: Marek Vasut, Stephen Rothwell, regressions, Arnd Bergmann,
	Yunlong Jia, David Airlie, Naresh Kamboju, Randy Dunlap,
	open list, dri-devel, Linux-Next Mailing List, Thierry Reding,
	lkft-triage, Grace Mi, Sam Ravnborg, Ard Biesheuvel, Linux ARM

Hi,

On Wed, Feb 2, 2022 at 2:25 AM Thomas Zimmermann <tzimmermann@suse.de> wrote:
>
> Hi
>
> Am 02.02.22 um 10:28 schrieb Ard Biesheuvel:
> > On Wed, 2 Feb 2022 at 10:08, Thomas Zimmermann <tzimmermann@suse.de> wrote:
> >>
> >> Hi
> >>
> >> Am 02.02.22 um 10:02 schrieb Naresh Kamboju:
> >>> Following builds failed on Linux next 20220202 arm architecture.
> >>>     - arm-gcc-10-omap2plus_defconfig
> >>>     - arm-clang-nightly-shmobile_defconfig
> >>>     - arm-gcc-8-lpc32xx_defconfig
> >>>     - arm-clang-13-shmobile_defconfig
> >>>     - arm-gcc-10-shmobile_defconfig
> >>>     - arm-clang-11-shmobile_defconfig
> >>>     - arm-clang-11-omap2plus_defconfig
> >>>     - arm-clang-13-omap2plus_defconfig
> >>>     - arm-clang-11-lpc32xx_defconfig
> >>>     - arm-gcc-8-omap2plus_defconfig
> >>>     - arm-gcc-9-vexpress_defconfig
> >>>     - arm-clang-nightly-lpc32xx_defconfig
> >>>     - arm-gcc-9-shmobile_defconfig
> >>>     - arm-clang-13-lpc32xx_defconfig
> >>>     - arm-gcc-10-sama5_defconfig
> >>>     - arm-clang-11-vexpress_defconfig
> >>>     - arm-clang-11-sama5_defconfig
> >>>     - arm-gcc-9-omap2plus_defconfig
> >>>     - arm-clang-nightly-sama5_defconfig
> >>>     - arm-clang-13-vexpress_defconfig
> >>>     - arm-clang-nightly-vexpress_defconfig
> >>>     - arm-gcc-9-lpc32xx_defconfig
> >>>     - arm-clang-12-vexpress_defconfig
> >>>     - arm-gcc-10-vexpress_defconfig
> >>>     - arm-clang-12-shmobile_defconfig
> >>>     - arm-gcc-11-omap2plus_defconfig
> >>>     - arm-gcc-9-sama5_defconfig
> >>>     - arm-gcc-8-shmobile_defconfig
> >>>     - arm-gcc-10-lpc32xx_defconfig
> >>>     - arm-clang-12-omap2plus_defconfig
> >>>     - arm-gcc-8-vexpress_defconfig
> >>>     - arm-clang-12-sama5_defconfig
> >>>     - arm-clang-nightly-omap2plus_defconfig
> >>>     - arm-gcc-11-lpc32xx_defconfig
> >>>     - arm-gcc-11-sama5_defconfig
> >>>     - arm-gcc-11-shmobile_defconfig
> >>>     - arm-gcc-11-vexpress_defconfig
> >>>     - arm-gcc-8-sama5_defconfig
> >>>     - arm-clang-13-sama5_defconfig
> >>>     - arm-clang-12-lpc32xx_defconfig
> >>>
> >>>
> >>> make --silent --keep-going --jobs=8  ARCH=arm
> >>> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> >>> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' vexpress_defconfig
> >>> make --silent --keep-going --jobs=8  ARCH=arm
> >>> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> >>> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
> >>> arm-linux-gnueabihf-ld: drivers/gpu/drm/panel/panel-edp.o: in function
> >>> `panel_edp_probe':
> >>> panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
> >>> make[1]: *** [/builds/linux/Makefile:1222: vmlinux] Error 1
> >>>
> >>>
> >>> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> >>>
> >>> meta data:
> >>> -----------
> >>>       git describe: next-20220202
> >>>       git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> >>>       target_arch: arm
> >>>       kconfig: vexpress_defconfig
> >>>       toolchain: gcc-11
> >>>
> >>> Build log:
> >>> -------------
> >>> https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/
> >>>
> >>> Steps to reproduce:
> >>> --------------------
> >>> # To install tuxmake on your system globally:
> >>> # sudo pip3 install -U tuxmake
> >>> #
> >>> # See https://docs.tuxmake.org/ for complete documentation.
> >>> # Original tuxmake command with fragments listed below.
> >>>
> >>> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
> >>> --kconfig vexpress_defconfig
> >>>
> >>> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
> >>> --kconfig https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/config
> >>
> >> You'll now need
> >>
> >>     CONFIG_DRM_DP_HELPER=y
> >>
> >> in your config.
> >>
> >
> > That should never be the solution for linker errors such as this one.
> >
> > If CONFIG_DRM_PANEL_EDP relies on something provided by
> > CONFIG_DRM_DP_HELPER, it should select it or depend on it in Kconfig.
>
> Of course, we'll provide a patch for the Kconfig files.

There was discussion about this last November but I guess nothing came of it?

https://lore.kernel.org/r/20211117062704.14671-1-rdunlap@infradead.org/

In there Arnd provided a proposed patch. If everyone likes that and it
fixes things then we can apply it...

-Doug

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [next] arm: panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
@ 2022-02-02 15:37         ` Doug Anderson
  0 siblings, 0 replies; 15+ messages in thread
From: Doug Anderson @ 2022-02-02 15:37 UTC (permalink / raw)
  To: Thomas Zimmermann
  Cc: Ard Biesheuvel, Marek Vasut, Stephen Rothwell, regressions,
	Arnd Bergmann, Yunlong Jia, David Airlie, Naresh Kamboju,
	open list, dri-devel, Linux-Next Mailing List, Thierry Reding,
	lkft-triage, Grace Mi, Sam Ravnborg, Linux ARM, Randy Dunlap

Hi,

On Wed, Feb 2, 2022 at 2:25 AM Thomas Zimmermann <tzimmermann@suse.de> wrote:
>
> Hi
>
> Am 02.02.22 um 10:28 schrieb Ard Biesheuvel:
> > On Wed, 2 Feb 2022 at 10:08, Thomas Zimmermann <tzimmermann@suse.de> wrote:
> >>
> >> Hi
> >>
> >> Am 02.02.22 um 10:02 schrieb Naresh Kamboju:
> >>> Following builds failed on Linux next 20220202 arm architecture.
> >>>     - arm-gcc-10-omap2plus_defconfig
> >>>     - arm-clang-nightly-shmobile_defconfig
> >>>     - arm-gcc-8-lpc32xx_defconfig
> >>>     - arm-clang-13-shmobile_defconfig
> >>>     - arm-gcc-10-shmobile_defconfig
> >>>     - arm-clang-11-shmobile_defconfig
> >>>     - arm-clang-11-omap2plus_defconfig
> >>>     - arm-clang-13-omap2plus_defconfig
> >>>     - arm-clang-11-lpc32xx_defconfig
> >>>     - arm-gcc-8-omap2plus_defconfig
> >>>     - arm-gcc-9-vexpress_defconfig
> >>>     - arm-clang-nightly-lpc32xx_defconfig
> >>>     - arm-gcc-9-shmobile_defconfig
> >>>     - arm-clang-13-lpc32xx_defconfig
> >>>     - arm-gcc-10-sama5_defconfig
> >>>     - arm-clang-11-vexpress_defconfig
> >>>     - arm-clang-11-sama5_defconfig
> >>>     - arm-gcc-9-omap2plus_defconfig
> >>>     - arm-clang-nightly-sama5_defconfig
> >>>     - arm-clang-13-vexpress_defconfig
> >>>     - arm-clang-nightly-vexpress_defconfig
> >>>     - arm-gcc-9-lpc32xx_defconfig
> >>>     - arm-clang-12-vexpress_defconfig
> >>>     - arm-gcc-10-vexpress_defconfig
> >>>     - arm-clang-12-shmobile_defconfig
> >>>     - arm-gcc-11-omap2plus_defconfig
> >>>     - arm-gcc-9-sama5_defconfig
> >>>     - arm-gcc-8-shmobile_defconfig
> >>>     - arm-gcc-10-lpc32xx_defconfig
> >>>     - arm-clang-12-omap2plus_defconfig
> >>>     - arm-gcc-8-vexpress_defconfig
> >>>     - arm-clang-12-sama5_defconfig
> >>>     - arm-clang-nightly-omap2plus_defconfig
> >>>     - arm-gcc-11-lpc32xx_defconfig
> >>>     - arm-gcc-11-sama5_defconfig
> >>>     - arm-gcc-11-shmobile_defconfig
> >>>     - arm-gcc-11-vexpress_defconfig
> >>>     - arm-gcc-8-sama5_defconfig
> >>>     - arm-clang-13-sama5_defconfig
> >>>     - arm-clang-12-lpc32xx_defconfig
> >>>
> >>>
> >>> make --silent --keep-going --jobs=8  ARCH=arm
> >>> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> >>> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' vexpress_defconfig
> >>> make --silent --keep-going --jobs=8  ARCH=arm
> >>> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> >>> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
> >>> arm-linux-gnueabihf-ld: drivers/gpu/drm/panel/panel-edp.o: in function
> >>> `panel_edp_probe':
> >>> panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
> >>> make[1]: *** [/builds/linux/Makefile:1222: vmlinux] Error 1
> >>>
> >>>
> >>> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> >>>
> >>> meta data:
> >>> -----------
> >>>       git describe: next-20220202
> >>>       git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> >>>       target_arch: arm
> >>>       kconfig: vexpress_defconfig
> >>>       toolchain: gcc-11
> >>>
> >>> Build log:
> >>> -------------
> >>> https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/
> >>>
> >>> Steps to reproduce:
> >>> --------------------
> >>> # To install tuxmake on your system globally:
> >>> # sudo pip3 install -U tuxmake
> >>> #
> >>> # See https://docs.tuxmake.org/ for complete documentation.
> >>> # Original tuxmake command with fragments listed below.
> >>>
> >>> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
> >>> --kconfig vexpress_defconfig
> >>>
> >>> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
> >>> --kconfig https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/config
> >>
> >> You'll now need
> >>
> >>     CONFIG_DRM_DP_HELPER=y
> >>
> >> in your config.
> >>
> >
> > That should never be the solution for linker errors such as this one.
> >
> > If CONFIG_DRM_PANEL_EDP relies on something provided by
> > CONFIG_DRM_DP_HELPER, it should select it or depend on it in Kconfig.
>
> Of course, we'll provide a patch for the Kconfig files.

There was discussion about this last November but I guess nothing came of it?

https://lore.kernel.org/r/20211117062704.14671-1-rdunlap@infradead.org/

In there Arnd provided a proposed patch. If everyone likes that and it
fixes things then we can apply it...

-Doug

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [next] arm: panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
  2022-02-02 15:37         ` Doug Anderson
@ 2022-02-02 15:54           ` Thomas Zimmermann
  -1 siblings, 0 replies; 15+ messages in thread
From: Thomas Zimmermann @ 2022-02-02 15:54 UTC (permalink / raw)
  To: Doug Anderson
  Cc: Marek Vasut, Stephen Rothwell, regressions, Arnd Bergmann,
	Yunlong Jia, David Airlie, Naresh Kamboju, Randy Dunlap,
	open list, dri-devel, Linux-Next Mailing List, Thierry Reding,
	lkft-triage, Grace Mi, Sam Ravnborg, Ard Biesheuvel, Linux ARM


[-- Attachment #1.1: Type: text/plain, Size: 4933 bytes --]

Hi

Am 02.02.22 um 16:37 schrieb Doug Anderson:
> Hi,
> 
> On Wed, Feb 2, 2022 at 2:25 AM Thomas Zimmermann <tzimmermann@suse.de> wrote:
>>
>> Hi
>>
>> Am 02.02.22 um 10:28 schrieb Ard Biesheuvel:
>>> On Wed, 2 Feb 2022 at 10:08, Thomas Zimmermann <tzimmermann@suse.de> wrote:
>>>>
>>>> Hi
>>>>
>>>> Am 02.02.22 um 10:02 schrieb Naresh Kamboju:
>>>>> Following builds failed on Linux next 20220202 arm architecture.
>>>>>      - arm-gcc-10-omap2plus_defconfig
>>>>>      - arm-clang-nightly-shmobile_defconfig
>>>>>      - arm-gcc-8-lpc32xx_defconfig
>>>>>      - arm-clang-13-shmobile_defconfig
>>>>>      - arm-gcc-10-shmobile_defconfig
>>>>>      - arm-clang-11-shmobile_defconfig
>>>>>      - arm-clang-11-omap2plus_defconfig
>>>>>      - arm-clang-13-omap2plus_defconfig
>>>>>      - arm-clang-11-lpc32xx_defconfig
>>>>>      - arm-gcc-8-omap2plus_defconfig
>>>>>      - arm-gcc-9-vexpress_defconfig
>>>>>      - arm-clang-nightly-lpc32xx_defconfig
>>>>>      - arm-gcc-9-shmobile_defconfig
>>>>>      - arm-clang-13-lpc32xx_defconfig
>>>>>      - arm-gcc-10-sama5_defconfig
>>>>>      - arm-clang-11-vexpress_defconfig
>>>>>      - arm-clang-11-sama5_defconfig
>>>>>      - arm-gcc-9-omap2plus_defconfig
>>>>>      - arm-clang-nightly-sama5_defconfig
>>>>>      - arm-clang-13-vexpress_defconfig
>>>>>      - arm-clang-nightly-vexpress_defconfig
>>>>>      - arm-gcc-9-lpc32xx_defconfig
>>>>>      - arm-clang-12-vexpress_defconfig
>>>>>      - arm-gcc-10-vexpress_defconfig
>>>>>      - arm-clang-12-shmobile_defconfig
>>>>>      - arm-gcc-11-omap2plus_defconfig
>>>>>      - arm-gcc-9-sama5_defconfig
>>>>>      - arm-gcc-8-shmobile_defconfig
>>>>>      - arm-gcc-10-lpc32xx_defconfig
>>>>>      - arm-clang-12-omap2plus_defconfig
>>>>>      - arm-gcc-8-vexpress_defconfig
>>>>>      - arm-clang-12-sama5_defconfig
>>>>>      - arm-clang-nightly-omap2plus_defconfig
>>>>>      - arm-gcc-11-lpc32xx_defconfig
>>>>>      - arm-gcc-11-sama5_defconfig
>>>>>      - arm-gcc-11-shmobile_defconfig
>>>>>      - arm-gcc-11-vexpress_defconfig
>>>>>      - arm-gcc-8-sama5_defconfig
>>>>>      - arm-clang-13-sama5_defconfig
>>>>>      - arm-clang-12-lpc32xx_defconfig
>>>>>
>>>>>
>>>>> make --silent --keep-going --jobs=8  ARCH=arm
>>>>> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
>>>>> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' vexpress_defconfig
>>>>> make --silent --keep-going --jobs=8  ARCH=arm
>>>>> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
>>>>> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
>>>>> arm-linux-gnueabihf-ld: drivers/gpu/drm/panel/panel-edp.o: in function
>>>>> `panel_edp_probe':
>>>>> panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
>>>>> make[1]: *** [/builds/linux/Makefile:1222: vmlinux] Error 1
>>>>>
>>>>>
>>>>> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
>>>>>
>>>>> meta data:
>>>>> -----------
>>>>>        git describe: next-20220202
>>>>>        git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>>>>>        target_arch: arm
>>>>>        kconfig: vexpress_defconfig
>>>>>        toolchain: gcc-11
>>>>>
>>>>> Build log:
>>>>> -------------
>>>>> https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/
>>>>>
>>>>> Steps to reproduce:
>>>>> --------------------
>>>>> # To install tuxmake on your system globally:
>>>>> # sudo pip3 install -U tuxmake
>>>>> #
>>>>> # See https://docs.tuxmake.org/ for complete documentation.
>>>>> # Original tuxmake command with fragments listed below.
>>>>>
>>>>> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
>>>>> --kconfig vexpress_defconfig
>>>>>
>>>>> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
>>>>> --kconfig https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/config
>>>>
>>>> You'll now need
>>>>
>>>>      CONFIG_DRM_DP_HELPER=y
>>>>
>>>> in your config.
>>>>
>>>
>>> That should never be the solution for linker errors such as this one.
>>>
>>> If CONFIG_DRM_PANEL_EDP relies on something provided by
>>> CONFIG_DRM_DP_HELPER, it should select it or depend on it in Kconfig.
>>
>> Of course, we'll provide a patch for the Kconfig files.
> 
> There was discussion about this last November but I guess nothing came of it?
> 
> https://lore.kernel.org/r/20211117062704.14671-1-rdunlap@infradead.org/
> 
> In there Arnd provided a proposed patch. If everyone likes that and it
> fixes things then we can apply it...

Yep, apparently this was broken before. We recently moved these symbols 
from CONFIG_DRM_KMS_HELPER behind CONFIG_DRM_DP_HELPER. We'd have to use 
that instead.

Best regards
Thomas

> 
> -Doug

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [next] arm: panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
@ 2022-02-02 15:54           ` Thomas Zimmermann
  0 siblings, 0 replies; 15+ messages in thread
From: Thomas Zimmermann @ 2022-02-02 15:54 UTC (permalink / raw)
  To: Doug Anderson
  Cc: Marek Vasut, Stephen Rothwell, regressions, Arnd Bergmann,
	Yunlong Jia, David Airlie, Naresh Kamboju, Randy Dunlap,
	open list, dri-devel, Linux-Next Mailing List, Thierry Reding,
	lkft-triage, Grace Mi, Sam Ravnborg, Ard Biesheuvel, Linux ARM


[-- Attachment #1.1.1: Type: text/plain, Size: 4933 bytes --]

Hi

Am 02.02.22 um 16:37 schrieb Doug Anderson:
> Hi,
> 
> On Wed, Feb 2, 2022 at 2:25 AM Thomas Zimmermann <tzimmermann@suse.de> wrote:
>>
>> Hi
>>
>> Am 02.02.22 um 10:28 schrieb Ard Biesheuvel:
>>> On Wed, 2 Feb 2022 at 10:08, Thomas Zimmermann <tzimmermann@suse.de> wrote:
>>>>
>>>> Hi
>>>>
>>>> Am 02.02.22 um 10:02 schrieb Naresh Kamboju:
>>>>> Following builds failed on Linux next 20220202 arm architecture.
>>>>>      - arm-gcc-10-omap2plus_defconfig
>>>>>      - arm-clang-nightly-shmobile_defconfig
>>>>>      - arm-gcc-8-lpc32xx_defconfig
>>>>>      - arm-clang-13-shmobile_defconfig
>>>>>      - arm-gcc-10-shmobile_defconfig
>>>>>      - arm-clang-11-shmobile_defconfig
>>>>>      - arm-clang-11-omap2plus_defconfig
>>>>>      - arm-clang-13-omap2plus_defconfig
>>>>>      - arm-clang-11-lpc32xx_defconfig
>>>>>      - arm-gcc-8-omap2plus_defconfig
>>>>>      - arm-gcc-9-vexpress_defconfig
>>>>>      - arm-clang-nightly-lpc32xx_defconfig
>>>>>      - arm-gcc-9-shmobile_defconfig
>>>>>      - arm-clang-13-lpc32xx_defconfig
>>>>>      - arm-gcc-10-sama5_defconfig
>>>>>      - arm-clang-11-vexpress_defconfig
>>>>>      - arm-clang-11-sama5_defconfig
>>>>>      - arm-gcc-9-omap2plus_defconfig
>>>>>      - arm-clang-nightly-sama5_defconfig
>>>>>      - arm-clang-13-vexpress_defconfig
>>>>>      - arm-clang-nightly-vexpress_defconfig
>>>>>      - arm-gcc-9-lpc32xx_defconfig
>>>>>      - arm-clang-12-vexpress_defconfig
>>>>>      - arm-gcc-10-vexpress_defconfig
>>>>>      - arm-clang-12-shmobile_defconfig
>>>>>      - arm-gcc-11-omap2plus_defconfig
>>>>>      - arm-gcc-9-sama5_defconfig
>>>>>      - arm-gcc-8-shmobile_defconfig
>>>>>      - arm-gcc-10-lpc32xx_defconfig
>>>>>      - arm-clang-12-omap2plus_defconfig
>>>>>      - arm-gcc-8-vexpress_defconfig
>>>>>      - arm-clang-12-sama5_defconfig
>>>>>      - arm-clang-nightly-omap2plus_defconfig
>>>>>      - arm-gcc-11-lpc32xx_defconfig
>>>>>      - arm-gcc-11-sama5_defconfig
>>>>>      - arm-gcc-11-shmobile_defconfig
>>>>>      - arm-gcc-11-vexpress_defconfig
>>>>>      - arm-gcc-8-sama5_defconfig
>>>>>      - arm-clang-13-sama5_defconfig
>>>>>      - arm-clang-12-lpc32xx_defconfig
>>>>>
>>>>>
>>>>> make --silent --keep-going --jobs=8  ARCH=arm
>>>>> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
>>>>> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' vexpress_defconfig
>>>>> make --silent --keep-going --jobs=8  ARCH=arm
>>>>> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
>>>>> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
>>>>> arm-linux-gnueabihf-ld: drivers/gpu/drm/panel/panel-edp.o: in function
>>>>> `panel_edp_probe':
>>>>> panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'
>>>>> make[1]: *** [/builds/linux/Makefile:1222: vmlinux] Error 1
>>>>>
>>>>>
>>>>> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
>>>>>
>>>>> meta data:
>>>>> -----------
>>>>>        git describe: next-20220202
>>>>>        git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>>>>>        target_arch: arm
>>>>>        kconfig: vexpress_defconfig
>>>>>        toolchain: gcc-11
>>>>>
>>>>> Build log:
>>>>> -------------
>>>>> https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/
>>>>>
>>>>> Steps to reproduce:
>>>>> --------------------
>>>>> # To install tuxmake on your system globally:
>>>>> # sudo pip3 install -U tuxmake
>>>>> #
>>>>> # See https://docs.tuxmake.org/ for complete documentation.
>>>>> # Original tuxmake command with fragments listed below.
>>>>>
>>>>> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
>>>>> --kconfig vexpress_defconfig
>>>>>
>>>>> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
>>>>> --kconfig https://builds.tuxbuild.com/24XRim72vFXix6l6MdAJNENy6je/config
>>>>
>>>> You'll now need
>>>>
>>>>      CONFIG_DRM_DP_HELPER=y
>>>>
>>>> in your config.
>>>>
>>>
>>> That should never be the solution for linker errors such as this one.
>>>
>>> If CONFIG_DRM_PANEL_EDP relies on something provided by
>>> CONFIG_DRM_DP_HELPER, it should select it or depend on it in Kconfig.
>>
>> Of course, we'll provide a patch for the Kconfig files.
> 
> There was discussion about this last November but I guess nothing came of it?
> 
> https://lore.kernel.org/r/20211117062704.14671-1-rdunlap@infradead.org/
> 
> In there Arnd provided a proposed patch. If everyone likes that and it
> fixes things then we can apply it...

Yep, apparently this was broken before. We recently moved these symbols 
from CONFIG_DRM_KMS_HELPER behind CONFIG_DRM_DP_HELPER. We'd have to use 
that instead.

Best regards
Thomas

> 
> -Doug

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev

[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-02-02 15:58 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-02  9:02 [next] arm: panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight' Naresh Kamboju
2022-02-02  9:02 ` Naresh Kamboju
2022-02-02  9:02 ` Naresh Kamboju
2022-02-02  9:07 ` Thomas Zimmermann
2022-02-02  9:07   ` Thomas Zimmermann
2022-02-02  9:28   ` Ard Biesheuvel
2022-02-02  9:28     ` Ard Biesheuvel
2022-02-02  9:28     ` Ard Biesheuvel
2022-02-02 10:25     ` Thomas Zimmermann
2022-02-02 10:25       ` Thomas Zimmermann
2022-02-02 15:37       ` Doug Anderson
2022-02-02 15:37         ` Doug Anderson
2022-02-02 15:37         ` Doug Anderson
2022-02-02 15:54         ` Thomas Zimmermann
2022-02-02 15:54           ` Thomas Zimmermann

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.