Re: Current drm-tip doesn’t build with gcc10 - error in amdgpu_amdkfd_gpuvm.c
Alex Deucher
alexdeucher at gmail.com
Mon Jun 1 14:56:45 UTC 2020
On Sun, May 31, 2020 at 9:46 AM Yurii Kolesnykov <root at yurikoles.com> wrote:
>
> Originally reported by jghodd[1] in linux-drm-tip-git AUR package [2], also reported on drm/amd on Freedesktop GitLab [3].
>
> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c: In function ‘amdgpu_amdkfd_gpuvm_free_memory_of_gpu’: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c:1357:2: error: implicit declaration of function ‘drm_gem_object_put_unlocked’; did you mean ‘drm_gem_object_put_locked’? [-Werror=implicit-function-declaration] 1357 | drm_gem_object_put_unlocked(&mem->bo->tbo.base); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | drm_gem_object_put_locked cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:267: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.o] Error 1 make[3]: *** [scripts/Makefile.build:488: drivers/gpu/drm/amd/amdgpu] Error 2 make[2]: *** [scripts/Makefile.build:488: drivers/gpu/drm] Error 2 make[1]: *** [scripts/Makefile.build:488: drivers/gpu] Error 2 make: *** [Makefile:1729: drivers] Error 2 ==> ERROR: A failure occurred in build(). Aborting…
>
It's an API change in drm-misc. When my tree gets combined with
drm-misc, there is a conflict. It will get resolved once the trees
are in sync again.
Alex
> [1] https://aur.archlinux.org/account/jghodd
> [2] https://aur.archlinux.org/pkgbase/linux-drm-tip-git
> [3] https://gitlab.freedesktop.org/drm/amd/-/issues/1156
>
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
More information about the amd-gfx
mailing list