Enabling HW acceleration for Intel with libva and correct libva incorrect runtime... 47/7447/2
authorDominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>
Tue, 6 Dec 2016 22:16:04 +0000 (23:16 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 7 Dec 2016 13:19:53 +0000 (13:19 +0000)
Change-Id: I175b0d9900d61546cb0f116a1d698ee1f60b84b7
Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>
Correct libva incorrect runtime dependency with x11

Change-Id: Ic4231c217c8c63575a98d370c898b8cb04e3a980
Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>
meta-agl-bsp/meta-intel/recipes-graphics/wayland/libva_%.bbappend [new file with mode: 0644]
templates/machine/intel-corei7-64/50_local.conf.inc

diff --git a/meta-agl-bsp/meta-intel/recipes-graphics/wayland/libva_%.bbappend b/meta-agl-bsp/meta-intel/recipes-graphics/wayland/libva_%.bbappend
new file mode 100644 (file)
index 0000000..efc194b
--- /dev/null
@@ -0,0 +1,4 @@
+# This patch correct a bug in libva1_1.7.0.bb 1.8 inmeta-intel (no clue when it will be fixed)
+# libva.bb calls for an x11 runtime dependency even if wayland is selected
+#
+RDEPENDS_${PN}-egl_remove = "${@base_contains("DISTRO_FEATURES", "x11", "", "${PN}-x11", d)}"
index e88000f..7c921b7 100644 (file)
@@ -18,3 +18,10 @@ MACHINE = "intel-corei7-64"
 #
 # All boot message will be off
 #APPEND += "quiet"
+
+# Enable Libvaapi for HW accelerated video support
+#
+IMAGE_INSTALL_append = " \
+        libva \
+        va-intel \
+        gstreamer-vaapi-1.0 "