diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-03-26 16:59:36 +0000 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2016-03-28 16:37:29 +0200 |
commit | d28692dc9e47b0b840acf0c9d96f5f08b959582f (patch) | |
tree | c8f31a019bff6f4c1f26255cd11c342cbc274c4d | |
parent | f6473c36a5499b5df1174a9b07dd17ee9212677a (diff) | |
download | meta-raspberrypi-d28692dc9e47b0b840acf0c9d96f5f08b959582f.tar.gz |
userland: Upgrade to latest
Regenerate patches on top of given SRCREV Add return code errors fix to get it
working with clang.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | recipes-graphics/userland/userland/0001-set-VMCS_INSTALL_PREFIX-to-usr.patch (renamed from recipes-graphics/userland/userland/0002-set-VMCS_INSTALL_PREFIX-to-usr.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0002-cmake-generate-and-install-pkgconfig-files.patch (renamed from recipes-graphics/userland/userland/0003-cmake-generate-and-install-pkgconfig-files.patch) | 10 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0003-Allow-applications-to-set-next-resource-handle.patch (renamed from recipes-graphics/userland/userland/0005-Allow-applications-to-set-next-resource-handle.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0004-wayland-Add-support-for-the-Wayland-winsys.patch (renamed from recipes-graphics/userland/userland/0006-wayland-Add-support-for-the-Wayland-winsys.patch) | 8 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0005-wayland-Add-Wayland-example.patch (renamed from recipes-graphics/userland/userland/0007-wayland-Add-Wayland-example.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0006-wayland-egl-Add-bcm_host-to-dependencies.patch (renamed from recipes-graphics/userland/userland/0008-wayland-egl-Add-bcm_host-to-dependencies.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0007-interface-remove-faulty-assert-to-make-weston-happy-.patch (renamed from recipes-graphics/userland/userland/0009-interface-remove-faulty-assert-to-make-weston-happy-.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0008-zero-out-wl-buffers-in-egl_surface_free.patch (renamed from recipes-graphics/userland/userland/0010-zero-out-wl-buffers-in-egl_surface_free.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0009-initialize-front-back-wayland-buffers.patch (renamed from recipes-graphics/userland/userland/0011-initialize-front-back-wayland-buffers.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0010-Remove-RPC_FLUSH.patch (renamed from recipes-graphics/userland/userland/0012-Remove-RPC_FLUSH.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0011-fix-cmake-dependency-race.patch (renamed from recipes-graphics/userland/userland/0013-fix-cmake-dependency-race.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0012-Fix-enum-conversion-warnings.patch (renamed from recipes-graphics/userland/userland/0014-Fix-enum-conversion-warnings.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0013-Fix-for-framerate-with-nested-composition.patch | 27 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0014-Fix-errors-due-to-ignored-return-code.patch | 43 | ||||
-rw-r--r-- | recipes-graphics/userland/userland_git.bb | 28 |
15 files changed, 124 insertions, 52 deletions
diff --git a/recipes-graphics/userland/userland/0002-set-VMCS_INSTALL_PREFIX-to-usr.patch b/recipes-graphics/userland/userland/0001-set-VMCS_INSTALL_PREFIX-to-usr.patch index 857b6c5..5165288 100644 --- a/recipes-graphics/userland/userland/0002-set-VMCS_INSTALL_PREFIX-to-usr.patch +++ b/recipes-graphics/userland/userland/0001-set-VMCS_INSTALL_PREFIX-to-usr.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 8b114166f800df09e10de82b50e4856fe7104bbf Mon Sep 17 00:00:00 2001 | 1 | From b653ef9e770bd9e4976c058405b94b75873d2508 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sun, 9 Aug 2015 23:58:17 -0700 | 3 | Date: Sun, 9 Aug 2015 23:58:17 -0700 |
4 | Subject: [PATCH 02/13] set VMCS_INSTALL_PREFIX to /usr | 4 | Subject: [PATCH 01/13] set VMCS_INSTALL_PREFIX to /usr |
5 | 5 | ||
6 | in OE we dont use /opt/vc but standard prefix | 6 | in OE we dont use /opt/vc but standard prefix |
7 | 7 | ||
@@ -24,5 +24,5 @@ index 0f8641b..e9d576d 100644 | |||
24 | 24 | ||
25 | SET(CMAKE_INSTALL_PREFIX "${VMCS_INSTALL_PREFIX}" CACHE INTERNAL "Prefix | 25 | SET(CMAKE_INSTALL_PREFIX "${VMCS_INSTALL_PREFIX}" CACHE INTERNAL "Prefix |
26 | -- | 26 | -- |
27 | 2.7.1 | 27 | 2.7.4 |
28 | 28 | ||
diff --git a/recipes-graphics/userland/userland/0003-cmake-generate-and-install-pkgconfig-files.patch b/recipes-graphics/userland/userland/0002-cmake-generate-and-install-pkgconfig-files.patch index e229c8e..50ebaa6 100644 --- a/recipes-graphics/userland/userland/0003-cmake-generate-and-install-pkgconfig-files.patch +++ b/recipes-graphics/userland/userland/0002-cmake-generate-and-install-pkgconfig-files.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 91c1eceb27ce3ff8d8943028968cd860683d7905 Mon Sep 17 00:00:00 2001 | 1 | From 9abccc4553b29643eee3c5a7edad641bc83f58f4 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sun, 9 Aug 2015 23:59:32 -0700 | 3 | Date: Sun, 9 Aug 2015 23:59:32 -0700 |
4 | Subject: [PATCH 03/13] cmake: generate and install pkgconfig files | 4 | Subject: [PATCH 02/13] cmake: generate and install pkgconfig files |
5 | 5 | ||
6 | many packages expect packageconfig support especially for detecting EGL | 6 | many packages expect packageconfig support especially for detecting EGL |
7 | libraries. This patch helps in compiling those packages on RPi | 7 | libraries. This patch helps in compiling those packages on RPi |
@@ -20,10 +20,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
20 | create mode 100644 pkgconfig/vg.pc.in | 20 | create mode 100644 pkgconfig/vg.pc.in |
21 | 21 | ||
22 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 22 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
23 | index fbb27f6..5e211b4 100644 | 23 | index aec0316..3113618 100644 |
24 | --- a/CMakeLists.txt | 24 | --- a/CMakeLists.txt |
25 | +++ b/CMakeLists.txt | 25 | +++ b/CMakeLists.txt |
26 | @@ -111,6 +111,14 @@ set(vmcs_host_apps_VERSION_MAJOR 1) | 26 | @@ -113,6 +113,14 @@ set(vmcs_host_apps_VERSION_MAJOR 1) |
27 | set(vmcs_host_apps_VERSION_MINOR 0) | 27 | set(vmcs_host_apps_VERSION_MINOR 0) |
28 | 28 | ||
29 | include_directories("${PROJECT_BINARY_DIR}") | 29 | include_directories("${PROJECT_BINARY_DIR}") |
@@ -110,5 +110,5 @@ index 0000000..8c39c98 | |||
110 | +Libs: -L${libdir} -lOpenVG | 110 | +Libs: -L${libdir} -lOpenVG |
111 | +Cflags: -I${includedir} | 111 | +Cflags: -I${includedir} |
112 | -- | 112 | -- |
113 | 2.7.1 | 113 | 2.7.4 |
114 | 114 | ||
diff --git a/recipes-graphics/userland/userland/0005-Allow-applications-to-set-next-resource-handle.patch b/recipes-graphics/userland/userland/0003-Allow-applications-to-set-next-resource-handle.patch index 95154dc..4a8b16d 100644 --- a/recipes-graphics/userland/userland/0005-Allow-applications-to-set-next-resource-handle.patch +++ b/recipes-graphics/userland/userland/0003-Allow-applications-to-set-next-resource-handle.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 1c2d411949890a42a99a51941ea4e5e0a3d27d3e Mon Sep 17 00:00:00 2001 | 1 | From 1d750c8922cbb4276e4337d2af2776676c0bd224 Mon Sep 17 00:00:00 2001 |
2 | From: Dom Cobley <dc4@broadcom.com> | 2 | From: Dom Cobley <dc4@broadcom.com> |
3 | Date: Tue, 9 Jul 2013 09:26:26 -0400 | 3 | Date: Tue, 9 Jul 2013 09:26:26 -0400 |
4 | Subject: [PATCH 05/13] Allow applications to set next resource handle | 4 | Subject: [PATCH 03/13] Allow applications to set next resource handle |
5 | 5 | ||
6 | This patch adds provisions in userland to | 6 | This patch adds provisions in userland to |
7 | let apps callers set the next rendereing dispmanx resource. | 7 | let apps callers set the next rendereing dispmanx resource. |
@@ -204,5 +204,5 @@ index 8a5734c..51b3580 100644 | |||
204 | 204 | ||
205 | 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)) | 205 | 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)) |
206 | -- | 206 | -- |
207 | 2.7.1 | 207 | 2.7.4 |
208 | 208 | ||
diff --git a/recipes-graphics/userland/userland/0006-wayland-Add-support-for-the-Wayland-winsys.patch b/recipes-graphics/userland/userland/0004-wayland-Add-support-for-the-Wayland-winsys.patch index 6426a5c..472afe0 100644 --- a/recipes-graphics/userland/userland/0006-wayland-Add-support-for-the-Wayland-winsys.patch +++ b/recipes-graphics/userland/userland/0004-wayland-Add-support-for-the-Wayland-winsys.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 16edb74ea67abe95b1c1ff629aa65c969b871403 Mon Sep 17 00:00:00 2001 | 1 | From b8acbcddeb6774bdfc2f7329775a19cd362f47ea Mon Sep 17 00:00:00 2001 |
2 | From: Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2 | From: Tomeu Vizoso <tomeu.vizoso@collabora.com> |
3 | Date: Tue, 1 Oct 2013 13:19:20 +0200 | 3 | Date: Tue, 1 Oct 2013 13:19:20 +0200 |
4 | Subject: [PATCH 06/13] wayland: Add support for the Wayland winsys | 4 | Subject: [PATCH 04/13] wayland: Add support for the Wayland winsys |
5 | 5 | ||
6 | * Adds EGL_WL_bind_wayland_display extension | 6 | * Adds EGL_WL_bind_wayland_display extension |
7 | * Adds wayland-egl library | 7 | * Adds wayland-egl library |
@@ -67,7 +67,7 @@ index 8df9393..d0d1387 100644 | |||
67 | + | 67 | + |
68 | +*~ | 68 | +*~ |
69 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 69 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
70 | index 5e211b4..aa5e14f 100644 | 70 | index 3113618..56b7fb8 100644 |
71 | --- a/CMakeLists.txt | 71 | --- a/CMakeLists.txt |
72 | +++ b/CMakeLists.txt | 72 | +++ b/CMakeLists.txt |
73 | @@ -19,6 +19,17 @@ include(makefiles/cmake/global_settings.cmake) | 73 | @@ -19,6 +19,17 @@ include(makefiles/cmake/global_settings.cmake) |
@@ -1876,5 +1876,5 @@ index 0000000..ad90d30 | |||
1876 | + set(${_sources} ${${_sources}} PARENT_SCOPE) | 1876 | + set(${_sources} ${${_sources}} PARENT_SCOPE) |
1877 | +endfunction() | 1877 | +endfunction() |
1878 | -- | 1878 | -- |
1879 | 2.7.1 | 1879 | 2.7.4 |
1880 | 1880 | ||
diff --git a/recipes-graphics/userland/userland/0007-wayland-Add-Wayland-example.patch b/recipes-graphics/userland/userland/0005-wayland-Add-Wayland-example.patch index 8f4bd0b..20ca92f 100644 --- a/recipes-graphics/userland/userland/0007-wayland-Add-Wayland-example.patch +++ b/recipes-graphics/userland/userland/0005-wayland-Add-Wayland-example.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 48591add15951b0adb1da8b0bfad05c49d26a5e6 Mon Sep 17 00:00:00 2001 | 1 | From 2d028f45ca223e30fb0947cb1dd7f0aee24b090a Mon Sep 17 00:00:00 2001 |
2 | From: Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2 | From: Tomeu Vizoso <tomeu.vizoso@collabora.com> |
3 | Date: Tue, 1 Oct 2013 13:19:20 +0200 | 3 | Date: Tue, 1 Oct 2013 13:19:20 +0200 |
4 | Subject: [PATCH 07/13] wayland: Add Wayland example | 4 | Subject: [PATCH 05/13] wayland: Add Wayland example |
5 | 5 | ||
6 | --- | 6 | --- |
7 | .../linux/apps/hello_pi/CMakeLists.txt | 1 + | 7 | .../linux/apps/hello_pi/CMakeLists.txt | 1 + |
@@ -862,5 +862,5 @@ index fa4539e..37120ac 100755 | |||
862 | - | 862 | - |
863 | +make -C hello_wayland | 863 | +make -C hello_wayland |
864 | -- | 864 | -- |
865 | 2.7.1 | 865 | 2.7.4 |
866 | 866 | ||
diff --git a/recipes-graphics/userland/userland/0008-wayland-egl-Add-bcm_host-to-dependencies.patch b/recipes-graphics/userland/userland/0006-wayland-egl-Add-bcm_host-to-dependencies.patch index f9631df..0c09325 100644 --- a/recipes-graphics/userland/userland/0008-wayland-egl-Add-bcm_host-to-dependencies.patch +++ b/recipes-graphics/userland/userland/0006-wayland-egl-Add-bcm_host-to-dependencies.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 4201f2777cfc816df415286bd137f140d856fc95 Mon Sep 17 00:00:00 2001 | 1 | From f292e22f1988a0ce2ea7226dc882235daea6071b Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Mon, 10 Aug 2015 02:38:27 -0700 | 3 | Date: Mon, 10 Aug 2015 02:38:27 -0700 |
4 | Subject: [PATCH 08/13] wayland-egl: Add bcm_host to dependencies | 4 | Subject: [PATCH 06/13] wayland-egl: Add bcm_host to dependencies |
5 | 5 | ||
6 | It uses headers like vcos_platform_types.h but does not | 6 | It uses headers like vcos_platform_types.h but does not |
7 | depend on module which should add the required include paths | 7 | depend on module which should add the required include paths |
@@ -24,5 +24,5 @@ index 8bafc15..fd259c9 100644 | |||
24 | Libs: -L${libdir} -lwayland-egl | 24 | Libs: -L${libdir} -lwayland-egl |
25 | Cflags: -I${includedir} | 25 | Cflags: -I${includedir} |
26 | -- | 26 | -- |
27 | 2.7.1 | 27 | 2.7.4 |
28 | 28 | ||
diff --git a/recipes-graphics/userland/userland/0009-interface-remove-faulty-assert-to-make-weston-happy-.patch b/recipes-graphics/userland/userland/0007-interface-remove-faulty-assert-to-make-weston-happy-.patch index 58babb9..eb6c408 100644 --- a/recipes-graphics/userland/userland/0009-interface-remove-faulty-assert-to-make-weston-happy-.patch +++ b/recipes-graphics/userland/userland/0007-interface-remove-faulty-assert-to-make-weston-happy-.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 54d2fdfd997a7f1f64575d6a4a03c74b89b2dbe0 Mon Sep 17 00:00:00 2001 | 1 | From 39de2c976a1a98cd6c8ee20154c63d302d9a0c54 Mon Sep 17 00:00:00 2001 |
2 | From: "Yann E. MORIN" <yann.morin.1998@free.fr> | 2 | From: "Yann E. MORIN" <yann.morin.1998@free.fr> |
3 | Date: Sat, 24 Jan 2015 22:07:19 +0100 | 3 | Date: Sat, 24 Jan 2015 22:07:19 +0100 |
4 | Subject: [PATCH 09/13] interface: remove faulty assert() to make weston happy | 4 | Subject: [PATCH 07/13] interface: remove faulty assert() to make weston happy |
5 | at runtime | 5 | at runtime |
6 | 6 | ||
7 | This was removed after a discussion on IRC with the weston guys | 7 | This was removed after a discussion on IRC with the weston guys |
@@ -25,5 +25,5 @@ index 1d24b6e..e2e7ccc 100755 | |||
25 | } | 25 | } |
26 | } else { | 26 | } else { |
27 | -- | 27 | -- |
28 | 2.7.1 | 28 | 2.7.4 |
29 | 29 | ||
diff --git a/recipes-graphics/userland/userland/0010-zero-out-wl-buffers-in-egl_surface_free.patch b/recipes-graphics/userland/userland/0008-zero-out-wl-buffers-in-egl_surface_free.patch index 517b4ee..66e91be 100644 --- a/recipes-graphics/userland/userland/0010-zero-out-wl-buffers-in-egl_surface_free.patch +++ b/recipes-graphics/userland/userland/0008-zero-out-wl-buffers-in-egl_surface_free.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From bf3e7ded0ccb95ec0fed13483525a43175028485 Mon Sep 17 00:00:00 2001 | 1 | From 944e559da5c34db74321c811694132aeb30439b2 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 6 Feb 2016 11:10:47 -0800 | 3 | Date: Sat, 6 Feb 2016 11:10:47 -0800 |
4 | Subject: [PATCH 10/13] zero-out wl buffers in egl_surface_free | 4 | Subject: [PATCH 08/13] zero-out wl buffers in egl_surface_free |
5 | 5 | ||
6 | origins from buildroot | 6 | origins from buildroot |
7 | 7 | ||
@@ -29,5 +29,5 @@ index 49cf7e5..512c83b 100644 | |||
29 | #endif | 29 | #endif |
30 | } | 30 | } |
31 | -- | 31 | -- |
32 | 2.7.1 | 32 | 2.7.4 |
33 | 33 | ||
diff --git a/recipes-graphics/userland/userland/0011-initialize-front-back-wayland-buffers.patch b/recipes-graphics/userland/userland/0009-initialize-front-back-wayland-buffers.patch index 1b39136..fd600cb 100644 --- a/recipes-graphics/userland/userland/0011-initialize-front-back-wayland-buffers.patch +++ b/recipes-graphics/userland/userland/0009-initialize-front-back-wayland-buffers.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From fb4ec94e8c27fba57f04c28f9012ec67af505083 Mon Sep 17 00:00:00 2001 | 1 | From bea88c648c775472cfc1d067e166e270ce610f3a Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 6 Feb 2016 11:11:41 -0800 | 3 | Date: Sat, 6 Feb 2016 11:11:41 -0800 |
4 | Subject: [PATCH 11/13] initialize front back wayland buffers | 4 | Subject: [PATCH 09/13] initialize front back wayland buffers |
5 | 5 | ||
6 | origins from metrological wayland support | 6 | origins from metrological wayland support |
7 | 7 | ||
@@ -30,5 +30,5 @@ index 512c83b..a429724 100644 | |||
30 | } | 30 | } |
31 | #endif | 31 | #endif |
32 | -- | 32 | -- |
33 | 2.7.1 | 33 | 2.7.4 |
34 | 34 | ||
diff --git a/recipes-graphics/userland/userland/0012-Remove-RPC_FLUSH.patch b/recipes-graphics/userland/userland/0010-Remove-RPC_FLUSH.patch index 5c9b49a..6d3febc 100644 --- a/recipes-graphics/userland/userland/0012-Remove-RPC_FLUSH.patch +++ b/recipes-graphics/userland/userland/0010-Remove-RPC_FLUSH.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From fa2beec8f792af577053340da914ef38b51535cb Mon Sep 17 00:00:00 2001 | 1 | From f1cbd0eccc9e4677a2fd7714cffd88a5ecb24ed1 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 6 Feb 2016 11:09:18 -0800 | 3 | Date: Sat, 6 Feb 2016 11:09:18 -0800 |
4 | Subject: [PATCH 12/13] Remove RPC_FLUSH | 4 | Subject: [PATCH 10/13] Remove RPC_FLUSH |
5 | 5 | ||
6 | Origins from buildroot | 6 | Origins from buildroot |
7 | 7 | ||
@@ -23,5 +23,5 @@ index f9b7287..b04ffef 100644 | |||
23 | } | 23 | } |
24 | #endif | 24 | #endif |
25 | -- | 25 | -- |
26 | 2.7.1 | 26 | 2.7.4 |
27 | 27 | ||
diff --git a/recipes-graphics/userland/userland/0013-fix-cmake-dependency-race.patch b/recipes-graphics/userland/userland/0011-fix-cmake-dependency-race.patch index 20c9e6d..94f8a7f 100644 --- a/recipes-graphics/userland/userland/0013-fix-cmake-dependency-race.patch +++ b/recipes-graphics/userland/userland/0011-fix-cmake-dependency-race.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 723478a07b69966ee606ba2435be736a1666eb5c Mon Sep 17 00:00:00 2001 | 1 | From 66d6b4040b5fa9a135a91ca2d152c539cce56159 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 6 Feb 2016 13:12:47 -0800 | 3 | Date: Sat, 6 Feb 2016 13:12:47 -0800 |
4 | Subject: [PATCH 13/13] fix cmake dependency race | 4 | Subject: [PATCH 11/13] fix cmake dependency race |
5 | 5 | ||
6 | Fixes errors like | 6 | Fixes errors like |
7 | 7 | ||
@@ -74,5 +74,5 @@ index f0bae30..8c44c58 100644 | |||
74 | struct wl_resource *resource; | 74 | struct wl_resource *resource; |
75 | struct wl_dispmanx *dispmanx; | 75 | struct wl_dispmanx *dispmanx; |
76 | -- | 76 | -- |
77 | 2.7.1 | 77 | 2.7.4 |
78 | 78 | ||
diff --git a/recipes-graphics/userland/userland/0014-Fix-enum-conversion-warnings.patch b/recipes-graphics/userland/userland/0012-Fix-enum-conversion-warnings.patch index 1a32c29..cbf5f15 100644 --- a/recipes-graphics/userland/userland/0014-Fix-enum-conversion-warnings.patch +++ b/recipes-graphics/userland/userland/0012-Fix-enum-conversion-warnings.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 7574595454ba749029e75176e85959631335f53b Mon Sep 17 00:00:00 2001 | 1 | From b2b1a4f7564a7ba50b705f850edffbf6f437a896 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 18 Feb 2016 09:04:46 +0000 | 3 | Date: Thu, 18 Feb 2016 09:04:46 +0000 |
4 | Subject: [PATCH] Fix enum conversion warnings | 4 | Subject: [PATCH 12/13] Fix enum conversion warnings |
5 | 5 | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | --- | 7 | --- |
@@ -95,5 +95,5 @@ index f088296..83e3724 100644 | |||
95 | omx->pixel_y = mmal->pixel_y; | 95 | omx->pixel_y = mmal->pixel_y; |
96 | omx->layer = mmal->layer; | 96 | omx->layer = mmal->layer; |
97 | -- | 97 | -- |
98 | 1.9.1 | 98 | 2.7.4 |
99 | 99 | ||
diff --git a/recipes-graphics/userland/userland/0013-Fix-for-framerate-with-nested-composition.patch b/recipes-graphics/userland/userland/0013-Fix-for-framerate-with-nested-composition.patch new file mode 100644 index 0000000..6377e31 --- /dev/null +++ b/recipes-graphics/userland/userland/0013-Fix-for-framerate-with-nested-composition.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 7f424ce48f6c14118aea2ab770b3bbf87e1f0393 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 24 Mar 2016 14:30:58 -0700 | ||
4 | Subject: [PATCH 13/13] Fix for framerate with nested composition | ||
5 | |||
6 | frame rate appears irregular and lower than expected when using nested composition. | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | interface/khronos/egl/egl_client.c | 1 + | ||
11 | 1 file changed, 1 insertion(+) | ||
12 | |||
13 | diff --git a/interface/khronos/egl/egl_client.c b/interface/khronos/egl/egl_client.c | ||
14 | index 024f3ed..95bb581 100644 | ||
15 | --- a/interface/khronos/egl/egl_client.c | ||
16 | +++ b/interface/khronos/egl/egl_client.c | ||
17 | @@ -2360,6 +2360,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surf) | ||
18 | wl_surface_damage(wl_egl_window->wl_surface, 0, 0, | ||
19 | surface->width, surface->height); | ||
20 | wl_surface_commit(wl_egl_window->wl_surface); | ||
21 | + wl_display_flush(wl_display); | ||
22 | |||
23 | while(ret != -1 && surface->back_wl_buffer->in_use) | ||
24 | ret = wl_display_dispatch_queue(wl_display, process->wl_queue); | ||
25 | -- | ||
26 | 2.7.4 | ||
27 | |||
diff --git a/recipes-graphics/userland/userland/0014-Fix-errors-due-to-ignored-return-code.patch b/recipes-graphics/userland/userland/0014-Fix-errors-due-to-ignored-return-code.patch new file mode 100644 index 0000000..2d11e9b --- /dev/null +++ b/recipes-graphics/userland/userland/0014-Fix-errors-due-to-ignored-return-code.patch | |||
@@ -0,0 +1,43 @@ | |||
1 | From 8ac57765d8b971aaa5ee5c610d8df25fa2ea36da Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 24 Mar 2016 15:03:50 -0700 | ||
4 | Subject: [PATCH 14/14] Fix errors due to ignored return code | ||
5 | |||
6 | Clang warns/errors about not checking the return | ||
7 | values from chdir() and fread(), here we check | ||
8 | for chdir return code and report back using error() | ||
9 | API, and second fix to fread is to let compiler | ||
10 | ignore the value via assigning it to an unused variable | ||
11 | |||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | --- | ||
14 | host_applications/linux/apps/dtoverlay/dtoverlay_main.c | 6 ++++-- | ||
15 | 1 file changed, 4 insertions(+), 2 deletions(-) | ||
16 | |||
17 | diff --git a/host_applications/linux/apps/dtoverlay/dtoverlay_main.c b/host_applications/linux/apps/dtoverlay/dtoverlay_main.c | ||
18 | index 4b33809..fa8324f 100755 | ||
19 | --- a/host_applications/linux/apps/dtoverlay/dtoverlay_main.c | ||
20 | +++ b/host_applications/linux/apps/dtoverlay/dtoverlay_main.c | ||
21 | @@ -353,7 +353,8 @@ static int dtoverlay_remove(STATE_T *state, const char *overlay) | ||
22 | int rmpos; | ||
23 | int i; | ||
24 | |||
25 | - chdir(work_dir); | ||
26 | + if (chdir(work_dir) != 0) | ||
27 | + return error("chdir to %s failed", work_dir); | ||
28 | |||
29 | overlay_dir = sprintf_dup("%s/%s", dt_overlays_dir, overlay); | ||
30 | if (!dir_exists(overlay_dir)) | ||
31 | @@ -633,7 +634,8 @@ static int overlay_applied(const char *overlay_dir) | ||
32 | FILE *fp = fopen(status_path, "r"); | ||
33 | if (fp) | ||
34 | { | ||
35 | - fread(status, sizeof(status), 1, fp); | ||
36 | + int bytes __attribute__((unused)); | ||
37 | + bytes = fread(status, sizeof(status), 1, fp); | ||
38 | fclose(fp); | ||
39 | } | ||
40 | free_string(status_path); | ||
41 | -- | ||
42 | 2.7.4 | ||
43 | |||
diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb index accc707..0189a16 100644 --- a/recipes-graphics/userland/userland_git.bb +++ b/recipes-graphics/userland/userland_git.bb | |||
@@ -16,22 +16,24 @@ COMPATIBLE_MACHINE = "raspberrypi" | |||
16 | 16 | ||
17 | SRCBRANCH = "master" | 17 | SRCBRANCH = "master" |
18 | SRCFORK = "raspberrypi" | 18 | SRCFORK = "raspberrypi" |
19 | SRCREV = "748b2ba6112435063352d72f48d1d6dcc124bd6f" | 19 | SRCREV = "2f56a2943a9eb8420df52ccf91f5a1c5a70e8713" |
20 | 20 | ||
21 | SRC_URI = "\ | 21 | SRC_URI = "\ |
22 | git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \ | 22 | git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \ |
23 | file://0002-set-VMCS_INSTALL_PREFIX-to-usr.patch \ | 23 | file://0001-set-VMCS_INSTALL_PREFIX-to-usr.patch \ |
24 | file://0003-cmake-generate-and-install-pkgconfig-files.patch \ | 24 | file://0002-cmake-generate-and-install-pkgconfig-files.patch \ |
25 | file://0005-Allow-applications-to-set-next-resource-handle.patch \ | 25 | file://0003-Allow-applications-to-set-next-resource-handle.patch \ |
26 | file://0006-wayland-Add-support-for-the-Wayland-winsys.patch \ | 26 | file://0004-wayland-Add-support-for-the-Wayland-winsys.patch \ |
27 | file://0007-wayland-Add-Wayland-example.patch \ | 27 | file://0005-wayland-Add-Wayland-example.patch \ |
28 | file://0008-wayland-egl-Add-bcm_host-to-dependencies.patch \ | 28 | file://0006-wayland-egl-Add-bcm_host-to-dependencies.patch \ |
29 | file://0009-interface-remove-faulty-assert-to-make-weston-happy-.patch \ | 29 | file://0007-interface-remove-faulty-assert-to-make-weston-happy-.patch \ |
30 | file://0010-zero-out-wl-buffers-in-egl_surface_free.patch \ | 30 | file://0008-zero-out-wl-buffers-in-egl_surface_free.patch \ |
31 | file://0011-initialize-front-back-wayland-buffers.patch \ | 31 | file://0009-initialize-front-back-wayland-buffers.patch \ |
32 | file://0012-Remove-RPC_FLUSH.patch \ | 32 | file://0010-Remove-RPC_FLUSH.patch \ |
33 | file://0013-fix-cmake-dependency-race.patch \ | 33 | file://0011-fix-cmake-dependency-race.patch \ |
34 | file://0014-Fix-enum-conversion-warnings.patch \ | 34 | file://0012-Fix-enum-conversion-warnings.patch \ |
35 | file://0013-Fix-for-framerate-with-nested-composition.patch \ | ||
36 | file://0014-Fix-errors-due-to-ignored-return-code.patch \ | ||
35 | " | 37 | " |
36 | S = "${WORKDIR}/git" | 38 | S = "${WORKDIR}/git" |
37 | 39 | ||