[Mesa-dev] [PATCH v3 0/9] meson: fix gallium media target linkage

Marc Dietrich marvin24 at gmx.de
Mon Feb 5 12:54:28 UTC 2018


Hi Dylan,

Am Freitag, 2. Februar 2018, 20:30:36 CET schrieb Dylan Baker:
> The linkage of all of the gallium media targets is broken in various
> ways in the meson build. This series should correct that by doing more
> what the autotools build does.
> 
> You may note in the last 5 patches the addition of libswdri and
> libswkmsdri, these are needed because we're now linking the whole state
> tracker and the symbols in those libraries would otherwise be unresolved. In
> this case as-needed and gc-sections were hiding this.
> 
> Changes since v2:
> - Add patch to fix va-api version checking
> - link xcb libs into vlwinsys instead of into each media state
>   tracker/target
> - Split the remaining bits into patches that fix one problem.
> 
> Dylan Baker (9):
>   meson: use va-api version reported by pkg-config
>   meson: link dri3 xcb libs into vlwinsys instead of into each target
>   meson: actually link with libomxil-bellagio
>   meson: Actually link xvmc target with libxvmc
>   meson: fix vdpau target linkage
>   meson: fix va target linkage
>   meson: Fix omx-bellagio target linkage
>   meson: Fix xa target linkage
>   meson: fix xvmc target linkage
> 
>  meson.build                                  | 10 +---------
>  src/gallium/auxiliary/meson.build            |  7 ++++++-
>  src/gallium/state_trackers/va/meson.build    |  6 +++---
>  src/gallium/targets/omx-bellagio/meson.build | 18 ++++++++++++------
>  src/gallium/targets/va/meson.build           | 17 +++++++++++------
>  src/gallium/targets/vdpau/meson.build        | 16 ++++++++++++----
>  src/gallium/targets/xa/meson.build           | 16 ++++++++++++----
>  src/gallium/targets/xvmc/meson.build         | 18 ++++++++++++------
>  8 files changed, 69 insertions(+), 39 deletions(-)
> 
> base-commit: d7235ef83b92175537e3b538634ffcff29bf0dce

so far no problems detected (tested vaapi and vdpau). 

Thanks!

Marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180205/35aab754/attachment.sig>


More information about the mesa-dev mailing list