All of lore.kernel.org
 help / color / mirror / Atom feed
* Current drm-tip doesn’t build with gcc10 - error in amdgpu_amdkfd_gpuvm.c
@ 2020-05-31 13:46 ` Yurii Kolesnykov
  0 siblings, 0 replies; 4+ messages in thread
From: Yurii Kolesnykov @ 2020-05-31 13:46 UTC (permalink / raw)
  To: amd-gfx, dri-devel; +Cc: alexander.deucher, jghodd

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…

[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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* Current drm-tip doesn’t build with gcc10 - error in amdgpu_amdkfd_gpuvm.c
@ 2020-05-31 13:46 ` Yurii Kolesnykov
  0 siblings, 0 replies; 4+ messages in thread
From: Yurii Kolesnykov @ 2020-05-31 13:46 UTC (permalink / raw)
  To: amd-gfx, dri-devel; +Cc: alexander.deucher, jghodd

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…

[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


_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

* Re: Current drm-tip doesn’t build with gcc10 - error in amdgpu_amdkfd_gpuvm.c
  2020-05-31 13:46 ` Yurii Kolesnykov
@ 2020-06-01 14:56   ` Alex Deucher
  -1 siblings, 0 replies; 4+ messages in thread
From: Alex Deucher @ 2020-06-01 14:56 UTC (permalink / raw)
  To: Yurii Kolesnykov
  Cc: Deucher, Alexander, Maling list - DRI developers, amd-gfx list, jghodd

On Sun, May 31, 2020 at 9:46 AM Yurii Kolesnykov <root@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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* Re: Current drm-tip doesn’t build with gcc10 - error in amdgpu_amdkfd_gpuvm.c
@ 2020-06-01 14:56   ` Alex Deucher
  0 siblings, 0 replies; 4+ messages in thread
From: Alex Deucher @ 2020-06-01 14:56 UTC (permalink / raw)
  To: Yurii Kolesnykov
  Cc: Deucher, Alexander, Maling list - DRI developers, amd-gfx list, jghodd

On Sun, May 31, 2020 at 9:46 AM Yurii Kolesnykov <root@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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

end of thread, other threads:[~2020-06-01 14:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-31 13:46 Current drm-tip doesn’t build with gcc10 - error in amdgpu_amdkfd_gpuvm.c Yurii Kolesnykov
2020-05-31 13:46 ` Yurii Kolesnykov
2020-06-01 14:56 ` Alex Deucher
2020-06-01 14:56   ` Alex Deucher

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.