From: Dominig ar Foll (Intel Open Source) Date: Tue, 6 Dec 2016 22:16:04 +0000 (+0100) Subject: Enabling HW acceleration for Intel with libva and correct libva incorrect runtime... X-Git-Tag: chinook_3.0.0~33 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=1b4ccafee173eb94dcba9d2a744d86de0daebe91;p=AGL%2Fmeta-agl.git Enabling HW acceleration for Intel with libva and correct libva incorrect runtime dependency with x11 Change-Id: I175b0d9900d61546cb0f116a1d698ee1f60b84b7 Signed-off-by: Dominig ar Foll (Intel Open Source) Correct libva incorrect runtime dependency with x11 Change-Id: Ic4231c217c8c63575a98d370c898b8cb04e3a980 Signed-off-by: Dominig ar Foll (Intel Open Source) --- 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 index 000000000..efc194b79 --- /dev/null +++ b/meta-agl-bsp/meta-intel/recipes-graphics/wayland/libva_%.bbappend @@ -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)}" diff --git a/templates/machine/intel-corei7-64/50_local.conf.inc b/templates/machine/intel-corei7-64/50_local.conf.inc index e88000f5c..7c921b70e 100644 --- a/templates/machine/intel-corei7-64/50_local.conf.inc +++ b/templates/machine/intel-corei7-64/50_local.conf.inc @@ -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 "