Mesa (main): Update libva requirement

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 28 08:09:17 UTC 2021


Module: Mesa
Branch: main
Commit: 9c25107495abf484ee16feab430c235557d889fb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c25107495abf484ee16feab430c235557d889fb

Author: Jeremy Newton <Jeremy.Newton at amd.com>
Date:   Mon Jun 21 16:24:03 2021 -0400

Update libva requirement

Bump libva requirement since mesa references API not present prior to
libva API version 1.1.0 (libva 2.1.0 release).

See fbf6511e35, which added VA_SURFACE_ATTRIB_MEM_TYPE_DRM_PRIME_2
requiring API version 1.1.0 or later.

Signed-off-by: Jeremy Newton <Jeremy.Newton at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11508>

---

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index da914c85c30..0c0f71ae06a 100644
--- a/meson.build
+++ b/meson.build
@@ -746,7 +746,7 @@ endif
 with_gallium_va = false
 dep_va = null_dep
 if _va != 'disabled'
-  dep_va = dependency('libva', version : '>= 0.38.0', required : _va == 'enabled')
+  dep_va = dependency('libva', version : '>= 1.1.0', required : _va == 'enabled')
   if dep_va.found()
     dep_va_headers = dep_va.partial_dependency(compile_args : true)
     with_gallium_va = true



More information about the mesa-commit mailing list