On Sat, 2021-07-03 at 02:39 +0800, Lim Siew Hoon wrote:
> From: "Yew, Chang Ching" <[email protected]>

Please include a summary of the change here.

Thanks,

Anuj

> 
> Signed-off-by: Yew, Chang Ching <[email protected]>
> ---
>  .../onevpl/0001-Adding-X11-DRI3-support.patch | 39
> +++++++++++++++++++
>  recipes-multimedia/onevpl/onevpl_2021.4.0.bb  |  1 +
>  2 files changed, 40 insertions(+)
>  create mode 100644 recipes-multimedia/onevpl/onevpl/0001-Adding-X11-
> DRI3-support.patch
> 
> diff --git a/recipes-multimedia/onevpl/onevpl/0001-Adding-X11-DRI3-
> support.patch b/recipes-multimedia/onevpl/onevpl/0001-Adding-X11-
> DRI3-support.patch
> new file mode 100644
> index 00000000..4539c69b
> --- /dev/null
> +++ b/recipes-multimedia/onevpl/onevpl/0001-Adding-X11-DRI3-
> support.patch
> @@ -0,0 +1,39 @@
> +From 5943f3dcca3ce715e7f721535a031d137255fb70 Mon Sep 17 00:00:00
> 2001
> +From: "Yew, Chang Ching" <[email protected]>
> +Date: Thu, 1 Jul 2021 11:16:33 +0800
> +Subject: [PATCH] Adding X11 DRI3 support
> +
> +Upstream-Status: Backport
> +inner-source #e8e7b97
> +
> +Signed-off-by: Teng, Jin Chung <[email protected]>
> +Signed-off-by: Yew, Chang Ching <[email protected]>
> +---
> + tools/legacy/sample_common/CMakeLists.txt | 4 ++++
> + 1 file changed, 4 insertions(+)
> +
> +diff --git a/tools/legacy/sample_common/CMakeLists.txt
> b/tools/legacy/sample_common/CMakeLists.txt
> +index b4710f6..5fd97da 100644
> +--- a/tools/legacy/sample_common/CMakeLists.txt
> ++++ b/tools/legacy/sample_common/CMakeLists.txt
> +@@ -73,6 +73,7 @@ if(UNIX)
> +   pkg_check_modules(PKG_LIBDRM libdrm)
> +   pkg_check_modules(PKG_X11 x11)
> +   pkg_check_modules(PKG_LIBVA_X11 libva-x11>=1.10.0)
> ++  pkg_check_modules(PKG_XCB xcb xcb-dri3 x11-xcb xcb-present)
> +   pkg_check_modules(PKG_WAYLAND_CLIENT wayland-client)
> +   if(PKG_LIBVA_FOUND)
> +     target_compile_definitions(${TARGET} PUBLIC -DLIBVA_SUPPORT)
> +@@ -89,6 +90,9 @@ if(UNIX)
> +   if(PKG_X11_FOUND)
> +     target_compile_definitions(${TARGET} PUBLIC -
> DLIBVA_X11_SUPPORT)
> +     target_include_directories(${TARGET} PUBLIC
> ${PKG_X11_LIBRARY_DIRS})
> ++    if(PKG_XCB_FOUND)
> ++      target_compile_definitions(${TARGET} PUBLIC -
> DX11_DRI3_SUPPORT)
> ++    endif()
> +   else()
> +     message(WARNING "x11 modules not found: building without libVA
> X11 support")
> +   endif()
> +-- 
> +2.32.0
> +
> diff --git a/recipes-multimedia/onevpl/onevpl_2021.4.0.bb b/recipes-
> multimedia/onevpl/onevpl_2021.4.0.bb
> index 4d9591fa..464be1e0 100644
> --- a/recipes-multimedia/onevpl/onevpl_2021.4.0.bb
> +++ b/recipes-multimedia/onevpl/onevpl_2021.4.0.bb
> @@ -11,6 +11,7 @@ LIC_FILES_CHKSUM =
> "file://LICENSE;md5=c18ea6bb4786a26bf4eee88a7424a408 \
>  SRC_URI = "git://github.com/oneapi-src/oneVPL.git;protocol=https \
>             
> file://0001-Adding-Wayland-support-to-legacy-tools.patch \
>              file://0001-Corrected-the-install-path.patch \
> +            file://0001-Adding-X11-DRI3-support.patch \
>              "
>  SRCREV = "d5c072584ee6f81305ed85de8759658ab7854606"
>  S = "${WORKDIR}/git"
> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7143): 
https://lists.yoctoproject.org/g/meta-intel/message/7143
Mute This Topic: https://lists.yoctoproject.org/mt/83935636/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to