Skip to content

android: radeonsi: fix build after vl refactoring (v2)

maurossi requested to merge android-radeonsi-build-fix into master

vl functions moved from radeonsi to gallium/auxiliary/vl have left android build of radeonsi in broken state.

libmesa_galliumvl static is need to build readeonsi, gallium_dri building rules are reworked to avoid multiple symbols and libmesa_galliumvl static dependency is needed in radeonsi.

Here is the changelog:

  • android: gallium/auxiliary: add libmesa_galliumvl static
  • android: gallium_dri: move libmesa_gallium to static to prevent multiple symbols
  • android: radeonsi: fix build after vl refactoring

Fixes the following building error:

external/mesa/src/gallium/drivers/radeonsi/si_uvd.c:47: error: undefined reference to 'vl_video_buffer_create_as_resource' clang.real: error: linker command failed with exit code 1 (use -v to see invocation)

Fixes: 86e60bc2 ("radeonsi: remove si_vid_join_surfaces and use combined planar allocations") Signed-off-by: Mauro Rossi issor.oruam@gmail.com

Merge request reports