lima, panfrost: multiple definition of `of_devfreq_cooling_register_power'

Martin Blumenstingl martin.blumenstingl at googlemail.com
Fri Apr 3 20:54:24 UTC 2020


On Thu, Apr 2, 2020 at 9:46 AM Thomas Zimmermann <tzimmermann at suse.de> wrote:
>
> Hi Martin
>
> Am 02.04.20 um 09:39 schrieb Martin Blumenstingl:
> > Hi Thomas,
> >
> > On Thu, Apr 2, 2020 at 9:26 AM Thomas Zimmermann <tzimmermann at suse.de> wrote:
> >>
> >> Hi,
> >>
> >> building lima and panfrost drivers from drm-tip, I currently get the
> >> following linker error
> >>
> >>   > make clean
> >>   > make
> >>   [...]
> >>   LD      vmlinux.o
> >>   arm-suse-linux-gnueabi-ld: drivers/gpu/drm/panfrost
> >>         /panfrost_devfreq.o: in function
> >>         `of_devfreq_cooling_register_power':
> >>   panfrost_devfreq.c:(.text+0x18c): multiple definition of
> >>         `of_devfreq_cooling_register_power'; drivers/gpu/drm/lima
> >>         /lima_devfreq.o:lima_devfreq.c:(.text+0x1a0): first defined here
> >>   make[1]: *** [/home/tzimmermann/Projekte/linux/Makefile:1078: vmlinux]
> >>         Error 1
> >>   make[1]: Leaving directory '/home/tzimmermann/Projekte/linux/build-
> >>         arm'
> >>   make: *** [Makefile:180: sub-make] Error 2
> > can you please try building again with the attached patch?
>
> Yes, fixes the bug. Thanks for responding quickly.
I just sent a fix to the correct mailing lists: [0]
it would be awesome if you could give it your "Tested-by"


Regards
Martin


[0] https://lore.kernel.org/patchwork/patch/1220292/


More information about the dri-devel mailing list