[yocto] [meta-raspberrypi][PATCH 1/4] userland: Upgrade to latest tip

Andrei Gherzan andrei at gherzan.ro
Fri Jul 8 06:35:22 PDT 2016


On Thu, Jun 23, 2016 at 02:34:28PM -0700, Khem Raj wrote:
> Drop upstream applied patches
>
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  ...applications-to-set-next-resource-handle.patch} |   6 +-
>  ...make-generate-and-install-pkgconfig-files.patch | 114 ---------------------
>  ...yland-Add-support-for-the-Wayland-winsys.patch} |  10 +-
>  ...atch => 0003-wayland-Add-Wayland-example.patch} |   6 +-
>  ...wayland-egl-Add-bcm_host-to-dependencies.patch} |   6 +-
>  ...move-faulty-assert-to-make-weston-happy-.patch} |   8 +-
>  ...-zero-out-wl-buffers-in-egl_surface_free.patch} |   6 +-
>  ...07-initialize-front-back-wayland-buffers.patch} |   6 +-
>  ...RPC_FLUSH.patch => 0008-Remove-RPC_FLUSH.patch} |   6 +-
>  ....patch => 0009-fix-cmake-dependency-race.patch} |   6 +-
>  ...tch => 0010-Fix-enum-conversion-warnings.patch} |   6 +-
>  ...ix-for-framerate-with-nested-composition.patch} |   6 +-
>  ...> 0012-build-shared-library-for-vchostif.patch} |   6 +-
>  ...t-buffer-wrapping-interface-for-dispmanx.patch} |  14 ++-
>  recipes-graphics/userland/userland_git.bb          |  29 +++---
>  15 files changed, 66 insertions(+), 169 deletions(-)
>  rename recipes-graphics/userland/userland/{0003-Allow-applications-to-set-next-resource-handle.patch => 0001-Allow-applications-to-set-next-resource-handle.patch} (98%)
>  delete mode 100644 recipes-graphics/userland/userland/0002-cmake-generate-and-install-pkgconfig-files.patch
>  rename recipes-graphics/userland/userland/{0004-wayland-Add-support-for-the-Wayland-winsys.patch => 0002-wayland-Add-support-for-the-Wayland-winsys.patch} (99%)
>  rename recipes-graphics/userland/userland/{0005-wayland-Add-Wayland-example.patch => 0003-wayland-Add-Wayland-example.patch} (99%)
>  rename recipes-graphics/userland/userland/{0006-wayland-egl-Add-bcm_host-to-dependencies.patch => 0004-wayland-egl-Add-bcm_host-to-dependencies.patch} (86%)
>  rename recipes-graphics/userland/userland/{0007-interface-remove-faulty-assert-to-make-weston-happy-.patch => 0005-interface-remove-faulty-assert-to-make-weston-happy-.patch} (86%)
>  rename recipes-graphics/userland/userland/{0008-zero-out-wl-buffers-in-egl_surface_free.patch => 0006-zero-out-wl-buffers-in-egl_surface_free.patch} (87%)
>  rename recipes-graphics/userland/userland/{0009-initialize-front-back-wayland-buffers.patch => 0007-initialize-front-back-wayland-buffers.patch} (88%)
>  rename recipes-graphics/userland/userland/{0010-Remove-RPC_FLUSH.patch => 0008-Remove-RPC_FLUSH.patch} (87%)
>  rename recipes-graphics/userland/userland/{0011-fix-cmake-dependency-race.patch => 0009-fix-cmake-dependency-race.patch} (95%)
>  rename recipes-graphics/userland/userland/{0012-Fix-enum-conversion-warnings.patch => 0010-Fix-enum-conversion-warnings.patch} (97%)
>  rename recipes-graphics/userland/userland/{0013-Fix-for-framerate-with-nested-composition.patch => 0011-Fix-for-framerate-with-nested-composition.patch} (94%)
>  rename recipes-graphics/userland/userland/{0014-build-shared-library-for-vchostif.patch => 0012-build-shared-library-for-vchostif.patch} (84%)
>  rename recipes-graphics/userland/userland/{0015-wl-dispmanx-buffer-wrapping.patch => 0013-implement-buffer-wrapping-interface-for-dispmanx.patch} (85%)
>
> diff --git a/recipes-graphics/userland/userland/0003-Allow-applications-to-set-next-resource-handle.patch b/recipes-graphics/userland/userland/0001-Allow-applications-to-set-next-resource-handle.patch
> similarity index 98%
> rename from recipes-graphics/userland/userland/0003-Allow-applications-to-set-next-resource-handle.patch
> rename to recipes-graphics/userland/userland/0001-Allow-applications-to-set-next-resource-handle.patch
> index 4a8b16d..4d026bd 100644
> --- a/recipes-graphics/userland/userland/0003-Allow-applications-to-set-next-resource-handle.patch
> +++ b/recipes-graphics/userland/userland/0001-Allow-applications-to-set-next-resource-handle.patch
> @@ -1,7 +1,7 @@
> -From 1d750c8922cbb4276e4337d2af2776676c0bd224 Mon Sep 17 00:00:00 2001
> +From 83c5ac5892d0cd29caa8922ff8b639b9a373c3cb Mon Sep 17 00:00:00 2001
>  From: Dom Cobley <dc4 at broadcom.com>
>  Date: Tue, 9 Jul 2013 09:26:26 -0400
> -Subject: [PATCH 03/13] Allow applications to set next resource handle
> +Subject: [PATCH 01/13] Allow applications to set next resource handle
>
>  This patch adds provisions in userland to
>  let apps callers set the next rendereing dispmanx resource.
> @@ -204,5 +204,5 @@ index 8a5734c..51b3580 100644
>
>   FN(void, eglIntGetColorData_impl, (EGL_SURFACE_ID_T s, KHRN_IMAGE_FORMAT_T format, uint32_t width, uint32_t height, int32_t stride, uint32_t y_offset, void *data))
>  --
> -2.7.4
> +2.9.0
>
> diff --git a/recipes-graphics/userland/userland/0002-cmake-generate-and-install-pkgconfig-files.patch b/recipes-graphics/userland/userland/0002-cmake-generate-and-install-pkgconfig-files.patch
> deleted file mode 100644
> index 50ebaa6..0000000
> --- a/recipes-graphics/userland/userland/0002-cmake-generate-and-install-pkgconfig-files.patch
> +++ /dev/null
> @@ -1,114 +0,0 @@
> -From 9abccc4553b29643eee3c5a7edad641bc83f58f4 Mon Sep 17 00:00:00 2001
> -From: Khem Raj <raj.khem at gmail.com>
> -Date: Sun, 9 Aug 2015 23:59:32 -0700
> -Subject: [PATCH 02/13] cmake: generate and install pkgconfig files
> -
> -many packages expect packageconfig support especially for detecting EGL
> -libraries. This patch helps in compiling those packages on RPi
> -
> -Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ----
> - CMakeLists.txt           | 10 +++++++++-
> - pkgconfig/bcm_host.pc.in | 10 ++++++++++
> - pkgconfig/egl.pc.in      | 13 +++++++++++++
> - pkgconfig/glesv2.pc.in   | 12 ++++++++++++
> - pkgconfig/vg.pc.in       | 11 +++++++++++
> - 5 files changed, 55 insertions(+), 1 deletion(-)
> - create mode 100644 pkgconfig/bcm_host.pc.in
> - create mode 100644 pkgconfig/egl.pc.in
> - create mode 100644 pkgconfig/glesv2.pc.in
> - create mode 100644 pkgconfig/vg.pc.in
> -
> -diff --git a/CMakeLists.txt b/CMakeLists.txt
> -index aec0316..3113618 100644
> ---- a/CMakeLists.txt
> -+++ b/CMakeLists.txt
> -@@ -113,6 +113,14 @@ set(vmcs_host_apps_VERSION_MAJOR 1)
> - set(vmcs_host_apps_VERSION_MINOR 0)
> -
> - include_directories("${PROJECT_BINARY_DIR}")
> --
> -+include(FindPkgConfig QUIET)
> -+if(PKG_CONFIG_FOUND)
> -+	# Produce a pkg-config file
> -+	foreach(PCFILE bcm_host.pc  egl.pc  glesv2.pc  vg.pc)
> -+		configure_file("pkgconfig/${PCFILE}.in" "${PCFILE}" @ONLY)
> -+		install(FILES       "${CMAKE_CURRENT_BINARY_DIR}/${PCFILE}"
> -+			DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig")
> -+	endforeach()
> -+endif()
> - # Remove cache entry, if one added by command line
> - unset(KHRONOS_EGL_PLATFORM CACHE)
> -diff --git a/pkgconfig/bcm_host.pc.in b/pkgconfig/bcm_host.pc.in
> -new file mode 100644
> -index 0000000..c7237c5
> ---- /dev/null
> -+++ b/pkgconfig/bcm_host.pc.in
> -@@ -0,0 +1,10 @@
> -+prefix=@CMAKE_INSTALL_PREFIX@
> -+exec_prefix=${prefix}
> -+libdir=${exec_prefix}/lib
> -+includedir=${prefix}/include
> -+
> -+Name: bcm_host
> -+Description: Broadcom VideoCore host API library
> -+Version: 1
> -+Libs: -L${libdir} -lbcm_host -lvcos -lvchiq_arm -pthread
> -+Cflags: -I${includedir} -I${includedir}/interface/vmcs_host/linux -I${includedir}/interface/vcos/pthreads -DUSE_VCHIQ_ARM
> -diff --git a/pkgconfig/egl.pc.in b/pkgconfig/egl.pc.in
> -new file mode 100644
> -index 0000000..27a6236
> ---- /dev/null
> -+++ b/pkgconfig/egl.pc.in
> -@@ -0,0 +1,13 @@
> -+prefix=@CMAKE_INSTALL_PREFIX@
> -+exec_prefix=${prefix}
> -+libdir=${exec_prefix}/lib
> -+includedir=${prefix}/include
> -+
> -+Name: EGL
> -+Description: Fake EGL package for RPi
> -+Version: 10
> -+Requires: bcm_host
> -+Libs: -L${libdir} -lEGL -lGLESv2 -lbcm_host -lvchostif
> -+Cflags: -I${includedir} -I${includedir}/interface/vmcs_host/linux \
> -+        -I${includedir}/interface/vcos/pthreads
> -+
> -diff --git a/pkgconfig/glesv2.pc.in b/pkgconfig/glesv2.pc.in
> -new file mode 100644
> -index 0000000..5900225
> ---- /dev/null
> -+++ b/pkgconfig/glesv2.pc.in
> -@@ -0,0 +1,12 @@
> -+prefix=@CMAKE_INSTALL_PREFIX@
> -+exec_prefix=${prefix}
> -+libdir=${exec_prefix}/lib
> -+includedir=${prefix}/include
> -+
> -+Name: GLESv2
> -+Description: Fake GL ES 2 package for RPi
> -+Version: 10
> -+Requires: bcm_host
> -+Libs: -L${libdir} -lGLESv2
> -+Cflags: -I${includedir}
> -+
> -diff --git a/pkgconfig/vg.pc.in b/pkgconfig/vg.pc.in
> -new file mode 100644
> -index 0000000..8c39c98
> ---- /dev/null
> -+++ b/pkgconfig/vg.pc.in
> -@@ -0,0 +1,11 @@
> -+prefix=@CMAKE_INSTALL_PREFIX@
> -+exec_prefix=${prefix}
> -+libdir=${exec_prefix}/lib
> -+includedir=${prefix}/include
> -+
> -+Name: OpenVG
> -+Description: Fake OpenVG package for RPi
> -+Version: 10
> -+Requires: bcm_host
> -+Libs: -L${libdir} -lOpenVG
> -+Cflags: -I${includedir}
> ---
> -2.7.4
> -
> diff --git a/recipes-graphics/userland/userland/0004-wayland-Add-support-for-the-Wayland-winsys.patch b/recipes-graphics/userland/userland/0002-wayland-Add-support-for-the-Wayland-winsys.patch
> similarity index 99%
> rename from recipes-graphics/userland/userland/0004-wayland-Add-support-for-the-Wayland-winsys.patch
> rename to recipes-graphics/userland/userland/0002-wayland-Add-support-for-the-Wayland-winsys.patch
> index 472afe0..aa09dda 100644
> --- a/recipes-graphics/userland/userland/0004-wayland-Add-support-for-the-Wayland-winsys.patch
> +++ b/recipes-graphics/userland/userland/0002-wayland-Add-support-for-the-Wayland-winsys.patch
> @@ -1,7 +1,7 @@
> -From b8acbcddeb6774bdfc2f7329775a19cd362f47ea Mon Sep 17 00:00:00 2001
> +From 79ce2b4125359593f37c5b9744a37203e24249de Mon Sep 17 00:00:00 2001
>  From: Tomeu Vizoso <tomeu.vizoso at collabora.com>
>  Date: Tue, 1 Oct 2013 13:19:20 +0200
> -Subject: [PATCH 04/13] wayland: Add support for the Wayland winsys
> +Subject: [PATCH 02/13] wayland: Add support for the Wayland winsys
>
>  * Adds EGL_WL_bind_wayland_display extension
>  * Adds wayland-egl library
> @@ -333,7 +333,7 @@ index 4f3ce49..84f6ec0 100644
>   /* OpenGL ES 1.1 and 2.0 functions */
>
>  diff --git a/interface/khronos/common/linux/khrn_client_platform_linux.c b/interface/khronos/common/linux/khrn_client_platform_linux.c
> -index a060f26..13c8c25 100644
> +index 9d43d15..00821d3 100644
>  --- a/interface/khronos/common/linux/khrn_client_platform_linux.c
>  +++ b/interface/khronos/common/linux/khrn_client_platform_linux.c
>  @@ -37,6 +37,11 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> @@ -1595,7 +1595,7 @@ index 37fdae1..fe3619a 100755
>   }
>   #endif
>  diff --git a/interface/vmcs_host/vc_vchi_dispmanx.c b/interface/vmcs_host/vc_vchi_dispmanx.c
> -index 3c91e07..1d24b6e 100755
> +index d188068..3e668f5 100755
>  --- a/interface/vmcs_host/vc_vchi_dispmanx.c
>  +++ b/interface/vmcs_host/vc_vchi_dispmanx.c
>  @@ -1316,3 +1316,45 @@ static void *dispmanx_notify_func( void *arg ) {
> @@ -1876,5 +1876,5 @@ index 0000000..ad90d30
>  +    set(${_sources} ${${_sources}} PARENT_SCOPE)
>  +endfunction()
>  --
> -2.7.4
> +2.9.0
>
> diff --git a/recipes-graphics/userland/userland/0005-wayland-Add-Wayland-example.patch b/recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch
> similarity index 99%
> rename from recipes-graphics/userland/userland/0005-wayland-Add-Wayland-example.patch
> rename to recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch
> index 20ca92f..11befc3 100644
> --- a/recipes-graphics/userland/userland/0005-wayland-Add-Wayland-example.patch
> +++ b/recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch
> @@ -1,7 +1,7 @@
> -From 2d028f45ca223e30fb0947cb1dd7f0aee24b090a Mon Sep 17 00:00:00 2001
> +From b6ee187184456d66095146e3dc06b6baa29c17d7 Mon Sep 17 00:00:00 2001
>  From: Tomeu Vizoso <tomeu.vizoso at collabora.com>
>  Date: Tue, 1 Oct 2013 13:19:20 +0200
> -Subject: [PATCH 05/13] wayland: Add Wayland example
> +Subject: [PATCH 03/13] wayland: Add Wayland example
>
>  ---
>   .../linux/apps/hello_pi/CMakeLists.txt             |   1 +
> @@ -862,5 +862,5 @@ index fa4539e..37120ac 100755
>  -
>  +make -C hello_wayland
>  --
> -2.7.4
> +2.9.0
>
> diff --git a/recipes-graphics/userland/userland/0006-wayland-egl-Add-bcm_host-to-dependencies.patch b/recipes-graphics/userland/userland/0004-wayland-egl-Add-bcm_host-to-dependencies.patch
> similarity index 86%
> rename from recipes-graphics/userland/userland/0006-wayland-egl-Add-bcm_host-to-dependencies.patch
> rename to recipes-graphics/userland/userland/0004-wayland-egl-Add-bcm_host-to-dependencies.patch
> index 0c09325..2a44e26 100644
> --- a/recipes-graphics/userland/userland/0006-wayland-egl-Add-bcm_host-to-dependencies.patch
> +++ b/recipes-graphics/userland/userland/0004-wayland-egl-Add-bcm_host-to-dependencies.patch
> @@ -1,7 +1,7 @@
> -From f292e22f1988a0ce2ea7226dc882235daea6071b Mon Sep 17 00:00:00 2001
> +From e3df3fec01aefac3ec301f6f3d5ec3e91652b9c5 Mon Sep 17 00:00:00 2001
>  From: Khem Raj <raj.khem at gmail.com>
>  Date: Mon, 10 Aug 2015 02:38:27 -0700
> -Subject: [PATCH 06/13] wayland-egl: Add bcm_host to dependencies
> +Subject: [PATCH 04/13] wayland-egl: Add bcm_host to dependencies
>
>  It uses headers like vcos_platform_types.h but does not
>  depend on module which should add the required include paths
> @@ -24,5 +24,5 @@ index 8bafc15..fd259c9 100644
>   Libs: -L${libdir} -lwayland-egl
>   Cflags: -I${includedir}
>  --
> -2.7.4
> +2.9.0
>
> diff --git a/recipes-graphics/userland/userland/0007-interface-remove-faulty-assert-to-make-weston-happy-.patch b/recipes-graphics/userland/userland/0005-interface-remove-faulty-assert-to-make-weston-happy-.patch
> similarity index 86%
> rename from recipes-graphics/userland/userland/0007-interface-remove-faulty-assert-to-make-weston-happy-.patch
> rename to recipes-graphics/userland/userland/0005-interface-remove-faulty-assert-to-make-weston-happy-.patch
> index eb6c408..6f41932 100644
> --- a/recipes-graphics/userland/userland/0007-interface-remove-faulty-assert-to-make-weston-happy-.patch
> +++ b/recipes-graphics/userland/userland/0005-interface-remove-faulty-assert-to-make-weston-happy-.patch
> @@ -1,7 +1,7 @@
> -From 39de2c976a1a98cd6c8ee20154c63d302d9a0c54 Mon Sep 17 00:00:00 2001
> +From 6c9d407c9ec0859380e7bcf35cf915cef4b3687b Mon Sep 17 00:00:00 2001
>  From: "Yann E. MORIN" <yann.morin.1998 at free.fr>
>  Date: Sat, 24 Jan 2015 22:07:19 +0100
> -Subject: [PATCH 07/13] interface: remove faulty assert() to make weston happy
> +Subject: [PATCH 05/13] interface: remove faulty assert() to make weston happy
>   at runtime
>
>  This was removed after a discussion on IRC with the weston guys
> @@ -13,7 +13,7 @@ Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
>   1 file changed, 1 deletion(-)
>
>  diff --git a/interface/vmcs_host/vc_vchi_dispmanx.c b/interface/vmcs_host/vc_vchi_dispmanx.c
> -index 1d24b6e..e2e7ccc 100755
> +index 3e668f5..8e065dc 100755
>  --- a/interface/vmcs_host/vc_vchi_dispmanx.c
>  +++ b/interface/vmcs_host/vc_vchi_dispmanx.c
>  @@ -1304,7 +1304,6 @@ static void *dispmanx_notify_func( void *arg ) {
> @@ -25,5 +25,5 @@ index 1d24b6e..e2e7ccc 100755
>            }
>         } else {
>  --
> -2.7.4
> +2.9.0
>
> diff --git a/recipes-graphics/userland/userland/0008-zero-out-wl-buffers-in-egl_surface_free.patch b/recipes-graphics/userland/userland/0006-zero-out-wl-buffers-in-egl_surface_free.patch
> similarity index 87%
> rename from recipes-graphics/userland/userland/0008-zero-out-wl-buffers-in-egl_surface_free.patch
> rename to recipes-graphics/userland/userland/0006-zero-out-wl-buffers-in-egl_surface_free.patch
> index 66e91be..2d52266 100644
> --- a/recipes-graphics/userland/userland/0008-zero-out-wl-buffers-in-egl_surface_free.patch
> +++ b/recipes-graphics/userland/userland/0006-zero-out-wl-buffers-in-egl_surface_free.patch
> @@ -1,7 +1,7 @@
> -From 944e559da5c34db74321c811694132aeb30439b2 Mon Sep 17 00:00:00 2001
> +From e3ffe9438fe8417586d0045d00eb1368ca3a71b6 Mon Sep 17 00:00:00 2001
>  From: Khem Raj <raj.khem at gmail.com>
>  Date: Sat, 6 Feb 2016 11:10:47 -0800
> -Subject: [PATCH 08/13] zero-out wl buffers in egl_surface_free
> +Subject: [PATCH 06/13] zero-out wl buffers in egl_surface_free
>
>  origins from buildroot
>
> @@ -29,5 +29,5 @@ index 49cf7e5..512c83b 100644
>   #endif
>      }
>  --
> -2.7.4
> +2.9.0
>
> diff --git a/recipes-graphics/userland/userland/0009-initialize-front-back-wayland-buffers.patch b/recipes-graphics/userland/userland/0007-initialize-front-back-wayland-buffers.patch
> similarity index 88%
> rename from recipes-graphics/userland/userland/0009-initialize-front-back-wayland-buffers.patch
> rename to recipes-graphics/userland/userland/0007-initialize-front-back-wayland-buffers.patch
> index fd600cb..f54f77d 100644
> --- a/recipes-graphics/userland/userland/0009-initialize-front-back-wayland-buffers.patch
> +++ b/recipes-graphics/userland/userland/0007-initialize-front-back-wayland-buffers.patch
> @@ -1,7 +1,7 @@
> -From bea88c648c775472cfc1d067e166e270ce610f3a Mon Sep 17 00:00:00 2001
> +From ed31a6a206c9e205bd5316e95788e5d7bb837e38 Mon Sep 17 00:00:00 2001
>  From: Khem Raj <raj.khem at gmail.com>
>  Date: Sat, 6 Feb 2016 11:11:41 -0800
> -Subject: [PATCH 09/13] initialize front back wayland buffers
> +Subject: [PATCH 07/13] initialize front back wayland buffers
>
>  origins from metrological wayland support
>
> @@ -30,5 +30,5 @@ index 512c83b..a429724 100644
>      }
>   #endif
>  --
> -2.7.4
> +2.9.0
>
> diff --git a/recipes-graphics/userland/userland/0010-Remove-RPC_FLUSH.patch b/recipes-graphics/userland/userland/0008-Remove-RPC_FLUSH.patch
> similarity index 87%
> rename from recipes-graphics/userland/userland/0010-Remove-RPC_FLUSH.patch
> rename to recipes-graphics/userland/userland/0008-Remove-RPC_FLUSH.patch
> index 6d3febc..0206a08 100644
> --- a/recipes-graphics/userland/userland/0010-Remove-RPC_FLUSH.patch
> +++ b/recipes-graphics/userland/userland/0008-Remove-RPC_FLUSH.patch
> @@ -1,7 +1,7 @@
> -From f1cbd0eccc9e4677a2fd7714cffd88a5ecb24ed1 Mon Sep 17 00:00:00 2001
> +From 6e173040a825185013ccbbb33113442207f10eeb Mon Sep 17 00:00:00 2001
>  From: Khem Raj <raj.khem at gmail.com>
>  Date: Sat, 6 Feb 2016 11:09:18 -0800
> -Subject: [PATCH 10/13] Remove RPC_FLUSH
> +Subject: [PATCH 08/13] Remove RPC_FLUSH
>
>  Origins from buildroot
>
> @@ -23,5 +23,5 @@ index f9b7287..b04ffef 100644
>         }
>   #endif
>  --
> -2.7.4
> +2.9.0
>
> diff --git a/recipes-graphics/userland/userland/0011-fix-cmake-dependency-race.patch b/recipes-graphics/userland/userland/0009-fix-cmake-dependency-race.patch
> similarity index 95%
> rename from recipes-graphics/userland/userland/0011-fix-cmake-dependency-race.patch
> rename to recipes-graphics/userland/userland/0009-fix-cmake-dependency-race.patch
> index 94f8a7f..87cfce4 100644
> --- a/recipes-graphics/userland/userland/0011-fix-cmake-dependency-race.patch
> +++ b/recipes-graphics/userland/userland/0009-fix-cmake-dependency-race.patch
> @@ -1,7 +1,7 @@
> -From 66d6b4040b5fa9a135a91ca2d152c539cce56159 Mon Sep 17 00:00:00 2001
> +From c4217231fd78daee83b0c0f312c1d392aa6e0f47 Mon Sep 17 00:00:00 2001
>  From: Khem Raj <raj.khem at gmail.com>
>  Date: Sat, 6 Feb 2016 13:12:47 -0800
> -Subject: [PATCH 11/13] fix cmake dependency race
> +Subject: [PATCH 09/13] fix cmake dependency race
>
>  Fixes errors like
>
> @@ -74,5 +74,5 @@ index f0bae30..8c44c58 100644
>   	struct wl_resource *resource;
>   	struct wl_dispmanx *dispmanx;
>  --
> -2.7.4
> +2.9.0
>
> diff --git a/recipes-graphics/userland/userland/0012-Fix-enum-conversion-warnings.patch b/recipes-graphics/userland/userland/0010-Fix-enum-conversion-warnings.patch
> similarity index 97%
> rename from recipes-graphics/userland/userland/0012-Fix-enum-conversion-warnings.patch
> rename to recipes-graphics/userland/userland/0010-Fix-enum-conversion-warnings.patch
> index cbf5f15..d4e8825 100644
> --- a/recipes-graphics/userland/userland/0012-Fix-enum-conversion-warnings.patch
> +++ b/recipes-graphics/userland/userland/0010-Fix-enum-conversion-warnings.patch
> @@ -1,7 +1,7 @@
> -From b2b1a4f7564a7ba50b705f850edffbf6f437a896 Mon Sep 17 00:00:00 2001
> +From 377f6aada3b7569e3d662fc830e01b8c5ba8a15d Mon Sep 17 00:00:00 2001
>  From: Khem Raj <raj.khem at gmail.com>
>  Date: Thu, 18 Feb 2016 09:04:46 +0000
> -Subject: [PATCH 12/13] Fix enum conversion warnings
> +Subject: [PATCH 10/13] Fix enum conversion warnings
>
>  Signed-off-by: Khem Raj <raj.khem at gmail.com>
>  ---
> @@ -95,5 +95,5 @@ index f088296..83e3724 100644
>         omx->pixel_y    = mmal->pixel_y;
>         omx->layer      = mmal->layer;
>  --
> -2.7.4
> +2.9.0
>
> diff --git a/recipes-graphics/userland/userland/0013-Fix-for-framerate-with-nested-composition.patch b/recipes-graphics/userland/userland/0011-Fix-for-framerate-with-nested-composition.patch
> similarity index 94%
> rename from recipes-graphics/userland/userland/0013-Fix-for-framerate-with-nested-composition.patch
> rename to recipes-graphics/userland/userland/0011-Fix-for-framerate-with-nested-composition.patch
> index ff9ccce..5e97571 100644
> --- a/recipes-graphics/userland/userland/0013-Fix-for-framerate-with-nested-composition.patch
> +++ b/recipes-graphics/userland/userland/0011-Fix-for-framerate-with-nested-composition.patch
> @@ -1,7 +1,7 @@
> -From f8779a124fc447b63c1ba1795330bdc2d765dc7a Mon Sep 17 00:00:00 2001
> +From 6e634184ee4b3d2c98c3213a3931845ec3014754 Mon Sep 17 00:00:00 2001
>  From: Khem Raj <raj.khem at gmail.com>
>  Date: Tue, 29 Mar 2016 20:38:30 -0700
> -Subject: [PATCH 13/13] Fix for framerate with nested composition
> +Subject: [PATCH 11/13] Fix for framerate with nested composition
>
>  frame rate appears irregular and lower than expected when using nested composition.
>
> @@ -56,5 +56,5 @@ index 024f3ed..83970ec 100644
>   #ifdef ANDROID
>                  CLIENT_UNLOCK();
>  --
> -2.8.0
> +2.9.0
>
> diff --git a/recipes-graphics/userland/userland/0014-build-shared-library-for-vchostif.patch b/recipes-graphics/userland/userland/0012-build-shared-library-for-vchostif.patch
> similarity index 84%
> rename from recipes-graphics/userland/userland/0014-build-shared-library-for-vchostif.patch
> rename to recipes-graphics/userland/userland/0012-build-shared-library-for-vchostif.patch
> index ca7cb66..44815c5 100644
> --- a/recipes-graphics/userland/userland/0014-build-shared-library-for-vchostif.patch
> +++ b/recipes-graphics/userland/userland/0012-build-shared-library-for-vchostif.patch
> @@ -1,7 +1,7 @@
> -From 4e9aa3fffb458ca4fafd2241c18e9c8008b66ad8 Mon Sep 17 00:00:00 2001
> +From 559209ce15027b3370466ccb56223a7a66d2a40c Mon Sep 17 00:00:00 2001
>  From: Khem Raj <raj.khem at gmail.com>
>  Date: Sat, 2 Apr 2016 10:37:24 -0700
> -Subject: [PATCH] build shared library for vchostif
> +Subject: [PATCH 12/13] build shared library for vchostif
>
>  Fixes #149
>
> @@ -24,5 +24,5 @@ index 22949a8..f8c2f2f 100755
>   #add_library(bufman            vc_vchi_bufman.c            )
>
>  --
> -2.8.0
> +2.9.0
>
> diff --git a/recipes-graphics/userland/userland/0015-wl-dispmanx-buffer-wrapping.patch b/recipes-graphics/userland/userland/0013-implement-buffer-wrapping-interface-for-dispmanx.patch
> similarity index 85%
> rename from recipes-graphics/userland/userland/0015-wl-dispmanx-buffer-wrapping.patch
> rename to recipes-graphics/userland/userland/0013-implement-buffer-wrapping-interface-for-dispmanx.patch
> index 1a0faba..8f36048 100644
> --- a/recipes-graphics/userland/userland/0015-wl-dispmanx-buffer-wrapping.patch
> +++ b/recipes-graphics/userland/userland/0013-implement-buffer-wrapping-interface-for-dispmanx.patch
> @@ -1,7 +1,16 @@
> -implement buffer wrapping interface for dispmanx
> +From 5b55a152651eece345d9ea1e0e40ecd9fc4ca2d5 Mon Sep 17 00:00:00 2001
> +From: Khem Raj <raj.khem at gmail.com>
> +Date: Sat, 2 Apr 2016 10:54:59 -0700
> +Subject: [PATCH 13/13] implement buffer wrapping interface for dispmanx
>
>  Courtesy: Zan Dobersek
>
> +Signed-off-by: Khem Raj <raj.khem at gmail.com>
> +---
> + interface/khronos/ext/egl_wayland.c | 42 +++++++++++++++++++++++++++++++++++++
> + interface/wayland/dispmanx.xml      | 10 +++++++++
> + 2 files changed, 52 insertions(+)
> +
>  diff --git a/interface/khronos/ext/egl_wayland.c b/interface/khronos/ext/egl_wayland.c
>  index 5730743..9ef89cd 100644
>  --- a/interface/khronos/ext/egl_wayland.c
> @@ -78,3 +87,6 @@ index c18626d..11ed1ef 100644
>     </interface>
>
>   </protocol>
> +--
> +2.9.0
> +
> diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb
> index 7acd8b8..6e73ca7 100644
> --- a/recipes-graphics/userland/userland_git.bb
> +++ b/recipes-graphics/userland/userland_git.bb
> @@ -16,24 +16,23 @@ COMPATIBLE_MACHINE = "raspberrypi"
>
>  SRCBRANCH = "master"
>  SRCFORK = "raspberrypi"
> -SRCREV = "17c28b9d1d234893b73adeb95efc4959b617fc85"
> +SRCREV = "0147f98bdd4fdc822d25d8a70cf5adc5adb89096"
>
>  SRC_URI = "\
>      git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \
> -    file://0002-cmake-generate-and-install-pkgconfig-files.patch \
> -    file://0003-Allow-applications-to-set-next-resource-handle.patch \
> -    file://0004-wayland-Add-support-for-the-Wayland-winsys.patch \
> -    file://0005-wayland-Add-Wayland-example.patch \
> -    file://0006-wayland-egl-Add-bcm_host-to-dependencies.patch \
> -    file://0007-interface-remove-faulty-assert-to-make-weston-happy-.patch \
> -    file://0008-zero-out-wl-buffers-in-egl_surface_free.patch \
> -    file://0009-initialize-front-back-wayland-buffers.patch \
> -    file://0010-Remove-RPC_FLUSH.patch \
> -    file://0011-fix-cmake-dependency-race.patch \
> -    file://0012-Fix-enum-conversion-warnings.patch \
> -    file://0013-Fix-for-framerate-with-nested-composition.patch \
> -    file://0014-build-shared-library-for-vchostif.patch \
> -    file://0015-wl-dispmanx-buffer-wrapping.patch \
> +    file://0001-Allow-applications-to-set-next-resource-handle.patch \
> +    file://0002-wayland-Add-support-for-the-Wayland-winsys.patch \
> +    file://0003-wayland-Add-Wayland-example.patch \
> +    file://0004-wayland-egl-Add-bcm_host-to-dependencies.patch \
> +    file://0005-interface-remove-faulty-assert-to-make-weston-happy-.patch \
> +    file://0006-zero-out-wl-buffers-in-egl_surface_free.patch \
> +    file://0007-initialize-front-back-wayland-buffers.patch \
> +    file://0008-Remove-RPC_FLUSH.patch \
> +    file://0009-fix-cmake-dependency-race.patch \
> +    file://0010-Fix-enum-conversion-warnings.patch \
> +    file://0011-Fix-for-framerate-with-nested-composition.patch \
> +    file://0012-build-shared-library-for-vchostif.patch \
> +    file://0013-implement-buffer-wrapping-interface-for-dispmanx.patch \
>  "
>  S = "${WORKDIR}/git"

Merged all 4 patches in master. Thanks.

--
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160708/dc92c0d1/attachment.pgp>


More information about the yocto mailing list