summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-11-24 23:04:24 -0800
committerAndrei Gherzan <andrei@gherzan.ro>2020-11-25 17:57:12 +0000
commitfd83102af7b0a2ff2de33a2e71bdfbd87335d79b (patch)
tree21f23605549d93ee321139c4e51ee58a72fdab08 /recipes-graphics
parent6a53db2fb689d372c6acbb429f1a2211eca40aa5 (diff)
downloadmeta-raspberrypi-fd83102af7b0a2ff2de33a2e71bdfbd87335d79b.tar.gz
userland: Upgrade to latest as of 20201027
refresh patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/userland/files/0001-Allow-applications-to-set-next-resource-handle.patch7
-rw-r--r--recipes-graphics/userland/files/0002-wayland-Add-support-for-the-Wayland-winsys.patch25
-rw-r--r--recipes-graphics/userland/files/0003-wayland-Add-Wayland-example.patch7
-rw-r--r--recipes-graphics/userland/files/0004-wayland-egl-Add-bcm_host-to-dependencies.patch7
-rw-r--r--recipes-graphics/userland/files/0005-interface-remove-faulty-assert-to-make-weston-happy-.patch9
-rw-r--r--recipes-graphics/userland/files/0006-zero-out-wl-buffers-in-egl_surface_free.patch7
-rw-r--r--recipes-graphics/userland/files/0007-initialize-front-back-wayland-buffers.patch7
-rw-r--r--recipes-graphics/userland/files/0008-Remove-RPC_FLUSH.patch7
-rw-r--r--recipes-graphics/userland/files/0009-fix-cmake-dependency-race.patch9
-rw-r--r--recipes-graphics/userland/files/0010-Fix-for-framerate-with-nested-composition.patch7
-rw-r--r--recipes-graphics/userland/files/0011-build-shared-library-for-vchostif.patch9
-rw-r--r--recipes-graphics/userland/files/0012-implement-buffer-wrapping-interface-for-dispmanx.patch7
-rw-r--r--recipes-graphics/userland/files/0013-Implement-triple-buffering-for-wayland.patch7
-rw-r--r--recipes-graphics/userland/files/0014-GLES2-gl2ext.h-Define-GL_R8_EXT-and-GL_RG8_EXT.patch7
-rw-r--r--recipes-graphics/userland/files/0015-EGL-glplatform.h-define-EGL_CAST.patch7
-rw-r--r--recipes-graphics/userland/files/0016-Allow-multiple-wayland-compositor-state-data-per-pro.patch8
-rw-r--r--recipes-graphics/userland/files/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch8
-rw-r--r--recipes-graphics/userland/files/0018-Add-EGL_IMG_context_priority-related-defines.patch7
-rw-r--r--recipes-graphics/userland/files/0019-libfdt-Undefine-__wordsize-if-already-defined.patch7
-rw-r--r--recipes-graphics/userland/files/0020-openmaxil-add-pkg-config-file.patch7
-rw-r--r--recipes-graphics/userland/files/0021-cmake-Disable-format-overflow-warning-as-error.patch9
-rw-r--r--recipes-graphics/userland/userland_git.bb4
22 files changed, 55 insertions, 124 deletions
diff --git a/recipes-graphics/userland/files/0001-Allow-applications-to-set-next-resource-handle.patch b/recipes-graphics/userland/files/0001-Allow-applications-to-set-next-resource-handle.patch
index ca39b78..295309c 100644
--- a/recipes-graphics/userland/files/0001-Allow-applications-to-set-next-resource-handle.patch
+++ b/recipes-graphics/userland/files/0001-Allow-applications-to-set-next-resource-handle.patch
@@ -1,7 +1,7 @@
1From d0956d198ceaf611314d61a0835fb5924b8a3577 Mon Sep 17 00:00:00 2001 1From 8a734f44beea9b10548ba696eaea1f5a76148fd5 Mon Sep 17 00:00:00 2001
2From: Dom Cobley <dc4@broadcom.com> 2From: Dom Cobley <dc4@broadcom.com>
3Date: Tue, 9 Jul 2013 09:26:26 -0400 3Date: Tue, 9 Jul 2013 09:26:26 -0400
4Subject: [PATCH 01/21] Allow applications to set next resource handle 4Subject: [PATCH] Allow applications to set next resource handle
5 5
6This patch adds provisions in userland to 6This patch adds provisions in userland to
7let apps callers set the next rendereing dispmanx resource. 7let apps callers set the next rendereing dispmanx resource.
@@ -203,6 +203,3 @@ index 8a5734c..51b3580 100644
203 FN(void, eglIntSelectMipmap_impl, (EGL_SURFACE_ID_T s, int level)) 203 FN(void, eglIntSelectMipmap_impl, (EGL_SURFACE_ID_T s, int level))
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--
2072.27.0
208
diff --git a/recipes-graphics/userland/files/0002-wayland-Add-support-for-the-Wayland-winsys.patch b/recipes-graphics/userland/files/0002-wayland-Add-support-for-the-Wayland-winsys.patch
index d2d9b49..7945bff 100644
--- a/recipes-graphics/userland/files/0002-wayland-Add-support-for-the-Wayland-winsys.patch
+++ b/recipes-graphics/userland/files/0002-wayland-Add-support-for-the-Wayland-winsys.patch
@@ -1,7 +1,7 @@
1From 75eb8ab4bec3e462607214d2e14c9f2eef73435f Mon Sep 17 00:00:00 2001 1From 3c1566e9c3b356cfcd8327fed0e537ed978c8e78 Mon Sep 17 00:00:00 2001
2From: Tomeu Vizoso <tomeu.vizoso@collabora.com> 2From: Tomeu Vizoso <tomeu.vizoso@collabora.com>
3Date: Tue, 1 Oct 2013 13:19:20 +0200 3Date: Tue, 1 Oct 2013 13:19:20 +0200
4Subject: [PATCH 02/21] wayland: Add support for the Wayland winsys 4Subject: [PATCH] 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
@@ -43,13 +43,13 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
43 .../khronos/wayland-egl/wayland-egl-priv.h | 53 ++++ 43 .../khronos/wayland-egl/wayland-egl-priv.h | 53 ++++
44 interface/khronos/wayland-egl/wayland-egl.c | 59 +++++ 44 interface/khronos/wayland-egl/wayland-egl.c | 59 +++++
45 .../khronos/wayland-egl/wayland-egl.pc.in | 10 + 45 .../khronos/wayland-egl/wayland-egl.pc.in | 10 +
46 interface/vmcs_host/CMakeLists.txt | 21 +- 46 interface/vmcs_host/CMakeLists.txt | 13 +-
47 interface/vmcs_host/vc_dispmanx.h | 10 + 47 interface/vmcs_host/vc_dispmanx.h | 10 +
48 interface/vmcs_host/vc_vchi_dispmanx.c | 42 +++ 48 interface/vmcs_host/vc_vchi_dispmanx.c | 42 +++
49 interface/vmcs_host/vc_vchi_dispmanx.h | 15 ++ 49 interface/vmcs_host/vc_vchi_dispmanx.h | 15 ++
50 interface/wayland/dispmanx.xml | 123 +++++++++ 50 interface/wayland/dispmanx.xml | 123 +++++++++
51 makefiles/cmake/Wayland.cmake | 72 +++++ 51 makefiles/cmake/Wayland.cmake | 72 +++++
52 30 files changed, 1257 insertions(+), 99 deletions(-) 52 30 files changed, 1253 insertions(+), 95 deletions(-)
53 create mode 100644 interface/khronos/common/linux/khrn_wayland.c 53 create mode 100644 interface/khronos/common/linux/khrn_wayland.c
54 copy interface/{vmcs_host/vc_vchi_dispmanx.h => khronos/common/linux/khrn_wayland.h} (56%) 54 copy interface/{vmcs_host/vc_vchi_dispmanx.h => khronos/common/linux/khrn_wayland.h} (56%)
55 create mode 100644 interface/khronos/ext/egl_wayland.c 55 create mode 100644 interface/khronos/ext/egl_wayland.c
@@ -1551,7 +1551,7 @@ index 0000000..8bafc15
1551+Libs: -L${libdir} -lwayland-egl 1551+Libs: -L${libdir} -lwayland-egl
1552+Cflags: -I${includedir} 1552+Cflags: -I${includedir}
1553diff --git a/interface/vmcs_host/CMakeLists.txt b/interface/vmcs_host/CMakeLists.txt 1553diff --git a/interface/vmcs_host/CMakeLists.txt b/interface/vmcs_host/CMakeLists.txt
1554index 4a914a7..c202204 100755 1554index cbef80c..552312a 100755
1555--- a/interface/vmcs_host/CMakeLists.txt 1555--- a/interface/vmcs_host/CMakeLists.txt
1556+++ b/interface/vmcs_host/CMakeLists.txt 1556+++ b/interface/vmcs_host/CMakeLists.txt
1557@@ -7,13 +7,24 @@ 1557@@ -7,13 +7,24 @@
@@ -1559,15 +1559,11 @@ index 4a914a7..c202204 100755
1559 add_definitions(-fno-strict-aliasing) 1559 add_definitions(-fno-strict-aliasing)
1560 1560
1561-add_library(vchostif 1561-add_library(vchostif
1562- ${VMCS_TARGET}/vcfilesys.c ${VMCS_TARGET}/vcmisc.c
1563- vc_vchi_gencmd.c vc_vchi_filesys.c vc_vchi_gpuserv.c
1564- vc_vchi_tvservice.c vc_vchi_cecservice.c
1565- vc_vchi_dispmanx.c vc_service_common.c)
1566+set(VCHOSTIF_SOURCE 1562+set(VCHOSTIF_SOURCE
1567+ ${VMCS_TARGET}/vcfilesys.c ${VMCS_TARGET}/vcmisc.c 1563 ${VMCS_TARGET}/vcmisc.c
1568+ vc_vchi_gencmd.c vc_vchi_filesys.c vc_vchi_gpuserv.c 1564 vc_vchi_gencmd.c vc_vchi_gpuserv.c
1569+ vc_vchi_tvservice.c vc_vchi_cecservice.c 1565 vc_vchi_tvservice.c vc_vchi_cecservice.c
1570+ vc_vchi_dispmanx.c vc_service_common.c) 1566 vc_vchi_dispmanx.c vc_service_common.c)
1571 # ${VMCS_TARGET}/vmcs_main.c 1567 # ${VMCS_TARGET}/vmcs_main.c
1572 # vc_vchi_haud.c 1568 # vc_vchi_haud.c
1573+ 1569+
@@ -1893,6 +1889,3 @@ index 0000000..ad90d30
1893+ list(APPEND ${_sources} "${_server_header}") 1889+ list(APPEND ${_sources} "${_server_header}")
1894+ set(${_sources} ${${_sources}} PARENT_SCOPE) 1890+ set(${_sources} ${${_sources}} PARENT_SCOPE)
1895+endfunction() 1891+endfunction()
1896--
18972.27.0
1898
diff --git a/recipes-graphics/userland/files/0003-wayland-Add-Wayland-example.patch b/recipes-graphics/userland/files/0003-wayland-Add-Wayland-example.patch
index 59fc366..e10f9ab 100644
--- a/recipes-graphics/userland/files/0003-wayland-Add-Wayland-example.patch
+++ b/recipes-graphics/userland/files/0003-wayland-Add-Wayland-example.patch
@@ -1,7 +1,7 @@
1From 3b568db9460c0359e8bda8256aa2161e5aafe07c Mon Sep 17 00:00:00 2001 1From 03053b119a625a03e28a86be0f0ab2aa9e2a6a49 Mon Sep 17 00:00:00 2001
2From: Tomeu Vizoso <tomeu.vizoso@collabora.com> 2From: Tomeu Vizoso <tomeu.vizoso@collabora.com>
3Date: Tue, 1 Oct 2013 13:19:20 +0200 3Date: Tue, 1 Oct 2013 13:19:20 +0200
4Subject: [PATCH 03/21] wayland: Add Wayland example 4Subject: [PATCH] wayland: Add Wayland example
5 5
6--- 6---
7 .../linux/apps/hello_pi/CMakeLists.txt | 1 + 7 .../linux/apps/hello_pi/CMakeLists.txt | 1 +
@@ -861,6 +861,3 @@ index 0000000..1a7bfc4
861+ return 0; 861+ return 0;
862+} 862+}
863+ 863+
864--
8652.27.0
866
diff --git a/recipes-graphics/userland/files/0004-wayland-egl-Add-bcm_host-to-dependencies.patch b/recipes-graphics/userland/files/0004-wayland-egl-Add-bcm_host-to-dependencies.patch
index ac4c513..19608be 100644
--- a/recipes-graphics/userland/files/0004-wayland-egl-Add-bcm_host-to-dependencies.patch
+++ b/recipes-graphics/userland/files/0004-wayland-egl-Add-bcm_host-to-dependencies.patch
@@ -1,7 +1,7 @@
1From 3ce83fc1d4974d4db15ff72b4e856a29c60dbb83 Mon Sep 17 00:00:00 2001 1From 73e338f99f89bc85fe384759a385d95e904adb7f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 10 Aug 2015 02:38:27 -0700 3Date: Mon, 10 Aug 2015 02:38:27 -0700
4Subject: [PATCH 04/21] wayland-egl: Add bcm_host to dependencies 4Subject: [PATCH] wayland-egl: Add bcm_host to dependencies
5 5
6It uses headers like vcos_platform_types.h but does not 6It uses headers like vcos_platform_types.h but does not
7depend on module which should add the required include paths 7depend on module which should add the required include paths
@@ -23,6 +23,3 @@ index 8bafc15..fd259c9 100644
23+Requires: bcm_host 23+Requires: bcm_host
24 Libs: -L${libdir} -lwayland-egl 24 Libs: -L${libdir} -lwayland-egl
25 Cflags: -I${includedir} 25 Cflags: -I${includedir}
26--
272.27.0
28
diff --git a/recipes-graphics/userland/files/0005-interface-remove-faulty-assert-to-make-weston-happy-.patch b/recipes-graphics/userland/files/0005-interface-remove-faulty-assert-to-make-weston-happy-.patch
index 33d4a55..2772323 100644
--- a/recipes-graphics/userland/files/0005-interface-remove-faulty-assert-to-make-weston-happy-.patch
+++ b/recipes-graphics/userland/files/0005-interface-remove-faulty-assert-to-make-weston-happy-.patch
@@ -1,8 +1,8 @@
1From cf4d2dba7150aad7f85eb7f5df0b0cfa9389da57 Mon Sep 17 00:00:00 2001 1From 8e79662e7b396325bee3f310a9406c74110cc7f4 Mon Sep 17 00:00:00 2001
2From: "Yann E. MORIN" <yann.morin.1998@free.fr> 2From: "Yann E. MORIN" <yann.morin.1998@free.fr>
3Date: Sat, 24 Jan 2015 22:07:19 +0100 3Date: Sat, 24 Jan 2015 22:07:19 +0100
4Subject: [PATCH 05/21] interface: remove faulty assert() to make weston happy 4Subject: [PATCH] interface: remove faulty assert() to make weston happy at
5 at runtime 5 runtime
6 6
7This was removed after a discussion on IRC with the weston guys 7This was removed after a discussion on IRC with the weston guys
8('daniels' on irc.freenode.net/#wayland). 8('daniels' on irc.freenode.net/#wayland).
@@ -24,6 +24,3 @@ index eab146e..29e0dee 100755
24 dispmanx_client.update_callback(handle, dispmanx_client.update_callback_param); 24 dispmanx_client.update_callback(handle, dispmanx_client.update_callback_param);
25 } 25 }
26 } else { 26 } else {
27--
282.27.0
29
diff --git a/recipes-graphics/userland/files/0006-zero-out-wl-buffers-in-egl_surface_free.patch b/recipes-graphics/userland/files/0006-zero-out-wl-buffers-in-egl_surface_free.patch
index 690d51d..5a1d8cf 100644
--- a/recipes-graphics/userland/files/0006-zero-out-wl-buffers-in-egl_surface_free.patch
+++ b/recipes-graphics/userland/files/0006-zero-out-wl-buffers-in-egl_surface_free.patch
@@ -1,7 +1,7 @@
1From ce90048cb25a0c2c49c585ce3a4cd8c73a8ff55b Mon Sep 17 00:00:00 2001 1From 22652fec1206eb6e5b3c05e2c4933feffce922e8 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 6 Feb 2016 11:10:47 -0800 3Date: Sat, 6 Feb 2016 11:10:47 -0800
4Subject: [PATCH 06/21] zero-out wl buffers in egl_surface_free 4Subject: [PATCH] zero-out wl buffers in egl_surface_free
5 5
6origins from buildroot 6origins from buildroot
7 7
@@ -28,6 +28,3 @@ index 42350bf..1f923d9 100644
28 } 28 }
29 #endif 29 #endif
30 } 30 }
31--
322.27.0
33
diff --git a/recipes-graphics/userland/files/0007-initialize-front-back-wayland-buffers.patch b/recipes-graphics/userland/files/0007-initialize-front-back-wayland-buffers.patch
index d964ed5..bae39e1 100644
--- a/recipes-graphics/userland/files/0007-initialize-front-back-wayland-buffers.patch
+++ b/recipes-graphics/userland/files/0007-initialize-front-back-wayland-buffers.patch
@@ -1,7 +1,7 @@
1From 7f7e5b87104134b6710985c5f1c5936a59cccc98 Mon Sep 17 00:00:00 2001 1From 5c0fb637f8b1286da19b904c7be1692a4aa61244 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 6 Feb 2016 11:11:41 -0800 3Date: Sat, 6 Feb 2016 11:11:41 -0800
4Subject: [PATCH 07/21] initialize front back wayland buffers 4Subject: [PATCH] initialize front back wayland buffers
5 5
6origins from metrological wayland support 6origins from metrological wayland support
7 7
@@ -29,6 +29,3 @@ index 1f923d9..9a9582c 100644
29 resource = DISPMANX_NO_HANDLE; 29 resource = DISPMANX_NO_HANDLE;
30 } 30 }
31 #endif 31 #endif
32--
332.27.0
34
diff --git a/recipes-graphics/userland/files/0008-Remove-RPC_FLUSH.patch b/recipes-graphics/userland/files/0008-Remove-RPC_FLUSH.patch
index d9aba5e..1c15009 100644
--- a/recipes-graphics/userland/files/0008-Remove-RPC_FLUSH.patch
+++ b/recipes-graphics/userland/files/0008-Remove-RPC_FLUSH.patch
@@ -1,7 +1,7 @@
1From 2291cf20017c297e6ed3afd56945cf8768c9901e Mon Sep 17 00:00:00 2001 1From 18839d288b60aa3592ba5a3ac4ac44eb8328a793 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 6 Feb 2016 11:09:18 -0800 3Date: Sat, 6 Feb 2016 11:09:18 -0800
4Subject: [PATCH 08/21] Remove RPC_FLUSH 4Subject: [PATCH] Remove RPC_FLUSH
5 5
6Origins from buildroot 6Origins from buildroot
7 7
@@ -22,6 +22,3 @@ index f9b7287..b04ffef 100644
22 #if EGL_BRCM_global_image 22 #if EGL_BRCM_global_image
23 } 23 }
24 #endif 24 #endif
25--
262.27.0
27
diff --git a/recipes-graphics/userland/files/0009-fix-cmake-dependency-race.patch b/recipes-graphics/userland/files/0009-fix-cmake-dependency-race.patch
index 898408b..7d28453 100644
--- a/recipes-graphics/userland/files/0009-fix-cmake-dependency-race.patch
+++ b/recipes-graphics/userland/files/0009-fix-cmake-dependency-race.patch
@@ -1,7 +1,7 @@
1From 736f489743b4a761afc928cbac197b28b3209bf1 Mon Sep 17 00:00:00 2001 1From f324e2724973aa76d054c3662d5d0903fd405390 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 6 Feb 2016 13:12:47 -0800 3Date: Sat, 6 Feb 2016 13:12:47 -0800
4Subject: [PATCH 09/21] fix cmake dependency race 4Subject: [PATCH] fix cmake dependency race
5 5
6Fixes errors like 6Fixes errors like
7 7
@@ -42,7 +42,7 @@ index 1d81ca3..d6cd415 100644
42 add_library (vcos SHARED ${SOURCES}) 42 add_library (vcos SHARED ${SOURCES})
43 target_link_libraries (vcos pthread dl rt) 43 target_link_libraries (vcos pthread dl rt)
44diff --git a/interface/vmcs_host/CMakeLists.txt b/interface/vmcs_host/CMakeLists.txt 44diff --git a/interface/vmcs_host/CMakeLists.txt b/interface/vmcs_host/CMakeLists.txt
45index c202204..16d3184 100755 45index 552312a..775742d 100755
46--- a/interface/vmcs_host/CMakeLists.txt 46--- a/interface/vmcs_host/CMakeLists.txt
47+++ b/interface/vmcs_host/CMakeLists.txt 47+++ b/interface/vmcs_host/CMakeLists.txt
48@@ -15,14 +15,6 @@ set(VCHOSTIF_SOURCE 48@@ -15,14 +15,6 @@ set(VCHOSTIF_SOURCE
@@ -73,6 +73,3 @@ index f0bae30..8c44c58 100644
73 struct wl_dispmanx_server_buffer { 73 struct wl_dispmanx_server_buffer {
74 struct wl_resource *resource; 74 struct wl_resource *resource;
75 struct wl_dispmanx *dispmanx; 75 struct wl_dispmanx *dispmanx;
76--
772.27.0
78
diff --git a/recipes-graphics/userland/files/0010-Fix-for-framerate-with-nested-composition.patch b/recipes-graphics/userland/files/0010-Fix-for-framerate-with-nested-composition.patch
index 37f6abb..b6a4c58 100644
--- a/recipes-graphics/userland/files/0010-Fix-for-framerate-with-nested-composition.patch
+++ b/recipes-graphics/userland/files/0010-Fix-for-framerate-with-nested-composition.patch
@@ -1,7 +1,7 @@
1From 450341ccd98801be1c3dc648e18211177f81a60d Mon Sep 17 00:00:00 2001 1From 09de2ce12ed8a879cc822cd20c5f2756d030808a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 29 Mar 2016 20:38:30 -0700 3Date: Tue, 29 Mar 2016 20:38:30 -0700
4Subject: [PATCH 10/21] Fix for framerate with nested composition 4Subject: [PATCH] Fix for framerate with nested composition
5 5
6frame rate appears irregular and lower than expected when using nested composition. 6frame rate appears irregular and lower than expected when using nested composition.
7 7
@@ -55,6 +55,3 @@ index 03fe67b..13a110c 100644
55 55
56 #ifdef ANDROID 56 #ifdef ANDROID
57 CLIENT_UNLOCK(); 57 CLIENT_UNLOCK();
58--
592.27.0
60
diff --git a/recipes-graphics/userland/files/0011-build-shared-library-for-vchostif.patch b/recipes-graphics/userland/files/0011-build-shared-library-for-vchostif.patch
index 77f9ccb..0d8ccd1 100644
--- a/recipes-graphics/userland/files/0011-build-shared-library-for-vchostif.patch
+++ b/recipes-graphics/userland/files/0011-build-shared-library-for-vchostif.patch
@@ -1,7 +1,7 @@
1From 13f2a4d1c6b6e79389ac3aa64512d78882a11b2f Mon Sep 17 00:00:00 2001 1From 140df8cbf93fc3295f57bffeb254adeb0b17d3a0 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 2 Apr 2016 10:37:24 -0700 3Date: Sat, 2 Apr 2016 10:37:24 -0700
4Subject: [PATCH 11/21] build shared library for vchostif 4Subject: [PATCH] build shared library for vchostif
5 5
6Fixes #149 6Fixes #149
7 7
@@ -11,7 +11,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 1 file changed, 1 insertion(+), 1 deletion(-) 11 1 file changed, 1 insertion(+), 1 deletion(-)
12 12
13diff --git a/interface/vmcs_host/CMakeLists.txt b/interface/vmcs_host/CMakeLists.txt 13diff --git a/interface/vmcs_host/CMakeLists.txt b/interface/vmcs_host/CMakeLists.txt
14index 16d3184..e54f046 100755 14index 775742d..76813c9 100755
15--- a/interface/vmcs_host/CMakeLists.txt 15--- a/interface/vmcs_host/CMakeLists.txt
16+++ b/interface/vmcs_host/CMakeLists.txt 16+++ b/interface/vmcs_host/CMakeLists.txt
17@@ -15,7 +15,7 @@ set(VCHOSTIF_SOURCE 17@@ -15,7 +15,7 @@ set(VCHOSTIF_SOURCE
@@ -23,6 +23,3 @@ index 16d3184..e54f046 100755
23 23
24 #add_library(bufman vc_vchi_bufman.c ) 24 #add_library(bufman vc_vchi_bufman.c )
25 set(INSTALL_TARGETS vchostif) 25 set(INSTALL_TARGETS vchostif)
26--
272.27.0
28
diff --git a/recipes-graphics/userland/files/0012-implement-buffer-wrapping-interface-for-dispmanx.patch b/recipes-graphics/userland/files/0012-implement-buffer-wrapping-interface-for-dispmanx.patch
index 53403d7..e652cc2 100644
--- a/recipes-graphics/userland/files/0012-implement-buffer-wrapping-interface-for-dispmanx.patch
+++ b/recipes-graphics/userland/files/0012-implement-buffer-wrapping-interface-for-dispmanx.patch
@@ -1,7 +1,7 @@
1From a09feea5ceb0af717c17a3a7df8a638f8e858f52 Mon Sep 17 00:00:00 2001 1From bdb5bbe994b91a7c64ca6103fbf2bbd590e6b8e5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 2 Apr 2016 10:54:59 -0700 3Date: Sat, 2 Apr 2016 10:54:59 -0700
4Subject: [PATCH 12/21] implement buffer wrapping interface for dispmanx 4Subject: [PATCH] implement buffer wrapping interface for dispmanx
5 5
6Courtesy: Zan Dobersek 6Courtesy: Zan Dobersek
7 7
@@ -87,6 +87,3 @@ index c18626d..11ed1ef 100644
87 </interface> 87 </interface>
88 88
89 </protocol> 89 </protocol>
90--
912.27.0
92
diff --git a/recipes-graphics/userland/files/0013-Implement-triple-buffering-for-wayland.patch b/recipes-graphics/userland/files/0013-Implement-triple-buffering-for-wayland.patch
index d5702cb..b60928a 100644
--- a/recipes-graphics/userland/files/0013-Implement-triple-buffering-for-wayland.patch
+++ b/recipes-graphics/userland/files/0013-Implement-triple-buffering-for-wayland.patch
@@ -1,7 +1,7 @@
1From dd8017ebccfa9c439a4e8dd501872e2052016f10 Mon Sep 17 00:00:00 2001 1From ffdcdf7605f4f266b408cf161e7c76dab54d689b Mon Sep 17 00:00:00 2001
2From: Jeff Wannamaker <jeff_wannamaker@cable.comcast.com> 2From: Jeff Wannamaker <jeff_wannamaker@cable.comcast.com>
3Date: Thu, 19 Jan 2017 18:56:07 +0000 3Date: Thu, 19 Jan 2017 18:56:07 +0000
4Subject: [PATCH 13/21] Implement triple buffering for wayland 4Subject: [PATCH] Implement triple buffering for wayland
5 5
6Change from double to triple buffering for wayland. 6Change from double to triple buffering for wayland.
7This enables higher frame rates without tearing artifacts 7This enables higher frame rates without tearing artifacts
@@ -85,6 +85,3 @@ index e328b77..58a3184 100644
85 /* 85 /*
86 back_wl_buffer 86 back_wl_buffer
87 87
88--
892.27.0
90
diff --git a/recipes-graphics/userland/files/0014-GLES2-gl2ext.h-Define-GL_R8_EXT-and-GL_RG8_EXT.patch b/recipes-graphics/userland/files/0014-GLES2-gl2ext.h-Define-GL_R8_EXT-and-GL_RG8_EXT.patch
index 52f0315..7e637a0 100644
--- a/recipes-graphics/userland/files/0014-GLES2-gl2ext.h-Define-GL_R8_EXT-and-GL_RG8_EXT.patch
+++ b/recipes-graphics/userland/files/0014-GLES2-gl2ext.h-Define-GL_R8_EXT-and-GL_RG8_EXT.patch
@@ -1,7 +1,7 @@
1From afe3917b1a236c08b1ed01053e3da9ab283db1ec Mon Sep 17 00:00:00 2001 1From 4624c934d1a783968306e61ded4389c153e3d009 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 10 May 2017 06:39:34 +0000 3Date: Wed, 10 May 2017 06:39:34 +0000
4Subject: [PATCH 14/21] GLES2/gl2ext.h: Define GL_R8_EXT and GL_RG8_EXT 4Subject: [PATCH] GLES2/gl2ext.h: Define GL_R8_EXT and GL_RG8_EXT
5 5
6weston code uses these defines 6weston code uses these defines
7Upstream-Status: Pending 7Upstream-Status: Pending
@@ -30,6 +30,3 @@ index 4eacf7f..b1acc9f 100644
30 /* GL_EXT_texture_type_2_10_10_10_REV */ 30 /* GL_EXT_texture_type_2_10_10_10_REV */
31 #ifndef GL_EXT_texture_type_2_10_10_10_REV 31 #ifndef GL_EXT_texture_type_2_10_10_10_REV
32 #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 32 #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368
33--
342.27.0
35
diff --git a/recipes-graphics/userland/files/0015-EGL-glplatform.h-define-EGL_CAST.patch b/recipes-graphics/userland/files/0015-EGL-glplatform.h-define-EGL_CAST.patch
index 964d0ec..1c2e5bc 100644
--- a/recipes-graphics/userland/files/0015-EGL-glplatform.h-define-EGL_CAST.patch
+++ b/recipes-graphics/userland/files/0015-EGL-glplatform.h-define-EGL_CAST.patch
@@ -1,7 +1,7 @@
1From 47972590947e5da25d77cae0ce060f7b8d022a10 Mon Sep 17 00:00:00 2001 1From 528a439539a77e67bf136d425eac3240ca6f1cd7 Mon Sep 17 00:00:00 2001
2From: Andrea Galbusera <gizero@gmail.com> 2From: Andrea Galbusera <gizero@gmail.com>
3Date: Fri, 14 Jul 2017 09:52:54 +0200 3Date: Fri, 14 Jul 2017 09:52:54 +0200
4Subject: [PATCH 15/21] EGL/glplatform.h: define EGL_CAST 4Subject: [PATCH] EGL/glplatform.h: define EGL_CAST
5 5
6C++ / C typecast macros for special EGL handle values: used by libepoxy code 6C++ / C typecast macros for special EGL handle values: used by libepoxy code
7The definition comes from the updated version of this header in mesa. 7The definition comes from the updated version of this header in mesa.
@@ -27,6 +27,3 @@ index 1f7c930..c39d425 100644
27+#endif 27+#endif
28+ 28+
29 #endif /* __eglplatform_h */ 29 #endif /* __eglplatform_h */
30--
312.27.0
32
diff --git a/recipes-graphics/userland/files/0016-Allow-multiple-wayland-compositor-state-data-per-pro.patch b/recipes-graphics/userland/files/0016-Allow-multiple-wayland-compositor-state-data-per-pro.patch
index 3790f80..fa7984c 100644
--- a/recipes-graphics/userland/files/0016-Allow-multiple-wayland-compositor-state-data-per-pro.patch
+++ b/recipes-graphics/userland/files/0016-Allow-multiple-wayland-compositor-state-data-per-pro.patch
@@ -1,8 +1,7 @@
1From 1eb8bdb4d45e3de9582145c120b0d3ede187c7a9 Mon Sep 17 00:00:00 2001 1From c5969e5e5c50e2c9b32c6f945040a8e5763ba06c Mon Sep 17 00:00:00 2001
2From: Jeff Wannamaker <jeff_wannamaker@cable.comcast.com> 2From: Jeff Wannamaker <jeff_wannamaker@cable.comcast.com>
3Date: Sat, 27 Jan 2018 12:28:31 -0500 3Date: Sat, 27 Jan 2018 12:28:31 -0500
4Subject: [PATCH 16/21] Allow multiple wayland compositor state data per 4Subject: [PATCH] Allow multiple wayland compositor state data per process
5 process
6 5
7When eglBindWaylandDisplayWL is called store the wl_global 6When eglBindWaylandDisplayWL is called store the wl_global
8created in a list associated with the wayland display. 7created in a list associated with the wayland display.
@@ -140,6 +139,3 @@ index 9ef89cd..abd5ab3 100644
140 139
141 CLIENT_UNLOCK(); 140 CLIENT_UNLOCK();
142 141
143--
1442.27.0
145
diff --git a/recipes-graphics/userland/files/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch b/recipes-graphics/userland/files/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch
index c3457cd..97340d7 100644
--- a/recipes-graphics/userland/files/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch
+++ b/recipes-graphics/userland/files/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch
@@ -1,8 +1,7 @@
1From 99a210c93019d37dd7f044102c4314c8cb988ed4 Mon Sep 17 00:00:00 2001 1From 8091dac73f792fb000e7ec97de6be23cd84b7cb7 Mon Sep 17 00:00:00 2001
2From: Hugo Hromic <hhromic@gmail.com> 2From: Hugo Hromic <hhromic@gmail.com>
3Date: Sun, 13 May 2018 10:49:04 +0100 3Date: Sun, 13 May 2018 10:49:04 +0100
4Subject: [PATCH 17/21] khronos: backport typedef for 4Subject: [PATCH] khronos: backport typedef for EGL_EXT_image_dma_buf_import
5 EGL_EXT_image_dma_buf_import
6 5
7The `gstreamer1.0-plugins-base` package version `1.14` uses `EGL_EXT_image_dma_buf_import`, which 6The `gstreamer1.0-plugins-base` package version `1.14` uses `EGL_EXT_image_dma_buf_import`, which
8expects the `EGLuint64KHR` typedef that is present in recent versions of Khronos. 7expects the `EGLuint64KHR` typedef that is present in recent versions of Khronos.
@@ -33,6 +32,3 @@ index d7e5ba7..dcc90ce 100755
33 32
34 #ifndef EGL_WL_bind_wayland_display 33 #ifndef EGL_WL_bind_wayland_display
35 #define EGL_WL_bind_wayland_display 1 34 #define EGL_WL_bind_wayland_display 1
36--
372.27.0
38
diff --git a/recipes-graphics/userland/files/0018-Add-EGL_IMG_context_priority-related-defines.patch b/recipes-graphics/userland/files/0018-Add-EGL_IMG_context_priority-related-defines.patch
index 5317c60..8843489 100644
--- a/recipes-graphics/userland/files/0018-Add-EGL_IMG_context_priority-related-defines.patch
+++ b/recipes-graphics/userland/files/0018-Add-EGL_IMG_context_priority-related-defines.patch
@@ -1,7 +1,7 @@
1From 82cf4bc5623c5220dfa1c096ea192f2509837782 Mon Sep 17 00:00:00 2001 1From 214f1895db14e3a88d5b2b3b6c844af3890e2eba Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 15 Jul 2018 00:48:38 -0700 3Date: Sun, 15 Jul 2018 00:48:38 -0700
4Subject: [PATCH 18/21] Add EGL_IMG_context_priority related defines 4Subject: [PATCH] Add EGL_IMG_context_priority related defines
5 5
6These defines are needed for compiling weston 4.x 6These defines are needed for compiling weston 4.x
7taken from Khronos headers 7taken from Khronos headers
@@ -30,6 +30,3 @@ index dcc90ce..6842bf9 100755
30 #ifndef EGL_KHR_vg_parent_image 30 #ifndef EGL_KHR_vg_parent_image
31 #define EGL_KHR_vg_parent_image 1 31 #define EGL_KHR_vg_parent_image 1
32 #define EGL_VG_PARENT_IMAGE_KHR 0x30BA /* eglCreateImageKHR target */ 32 #define EGL_VG_PARENT_IMAGE_KHR 0x30BA /* eglCreateImageKHR target */
33--
342.27.0
35
diff --git a/recipes-graphics/userland/files/0019-libfdt-Undefine-__wordsize-if-already-defined.patch b/recipes-graphics/userland/files/0019-libfdt-Undefine-__wordsize-if-already-defined.patch
index cd6306b..841341e 100644
--- a/recipes-graphics/userland/files/0019-libfdt-Undefine-__wordsize-if-already-defined.patch
+++ b/recipes-graphics/userland/files/0019-libfdt-Undefine-__wordsize-if-already-defined.patch
@@ -1,7 +1,7 @@
1From 1112539d9fde6428c1230b4fc9ea479623e9f968 Mon Sep 17 00:00:00 2001 1From bcdc525b2e4403f9e878e93cbd0d146ce9e37bb8 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 25 Jul 2019 23:30:27 -0700 3Date: Thu, 25 Jul 2019 23:30:27 -0700
4Subject: [PATCH 19/21] libfdt: Undefine __wordsize if already defined 4Subject: [PATCH] libfdt: Undefine __wordsize if already defined
5 5
6glibc 2.30+ defines __wordsize, which is same so its easier to compile 6glibc 2.30+ defines __wordsize, which is same so its easier to compile
7for multiple versions of glibc even ones which does not have this define 7for multiple versions of glibc even ones which does not have this define
@@ -26,6 +26,3 @@ index f4608be..5e83a27 100644
26 #ifdef __CHECKER__ 26 #ifdef __CHECKER__
27 #define FDT_FORCE __attribute__((force)) 27 #define FDT_FORCE __attribute__((force))
28 #define FDT_BITWISE __attribute__((bitwise)) 28 #define FDT_BITWISE __attribute__((bitwise))
29--
302.27.0
31
diff --git a/recipes-graphics/userland/files/0020-openmaxil-add-pkg-config-file.patch b/recipes-graphics/userland/files/0020-openmaxil-add-pkg-config-file.patch
index e9d9da6..65fc5eb 100644
--- a/recipes-graphics/userland/files/0020-openmaxil-add-pkg-config-file.patch
+++ b/recipes-graphics/userland/files/0020-openmaxil-add-pkg-config-file.patch
@@ -1,7 +1,7 @@
1From 488916a6b366bfa5da2907b5892798eb2306a17d Mon Sep 17 00:00:00 2001 1From 372b3b75945300604c9b7b012ecb25c0548a1495 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@lge.com> 2From: Martin Jansa <martin.jansa@lge.com>
3Date: Wed, 13 Jun 2018 18:22:22 +0000 3Date: Wed, 13 Jun 2018 18:22:22 +0000
4Subject: [PATCH 20/21] openmaxil: add pkg-config file 4Subject: [PATCH] openmaxil: add pkg-config file
5 5
6--- 6---
7 CMakeLists.txt | 2 +- 7 CMakeLists.txt | 2 +-
@@ -38,6 +38,3 @@ index 0000000..8793a61
38+Version: 1 38+Version: 1
39+Libs: -L${libdir} -lopenmaxil -lvcos -lvchiq_arm -pthread 39+Libs: -L${libdir} -lopenmaxil -lvcos -lvchiq_arm -pthread
40+Cflags: -I${includedir} -I${includedir}/IL -I${includedir}/interface/vmcs_host/linux -I${includedir}/interface/vcos/pthreads -DUSE_VCHIQ_ARM 40+Cflags: -I${includedir} -I${includedir}/IL -I${includedir}/interface/vmcs_host/linux -I${includedir}/interface/vcos/pthreads -DUSE_VCHIQ_ARM
41--
422.27.0
43
diff --git a/recipes-graphics/userland/files/0021-cmake-Disable-format-overflow-warning-as-error.patch b/recipes-graphics/userland/files/0021-cmake-Disable-format-overflow-warning-as-error.patch
index c762a9f..43f9f29 100644
--- a/recipes-graphics/userland/files/0021-cmake-Disable-format-overflow-warning-as-error.patch
+++ b/recipes-graphics/userland/files/0021-cmake-Disable-format-overflow-warning-as-error.patch
@@ -1,7 +1,7 @@
1From ee842886f3c0589d6df5a0687973beb18a3be524 Mon Sep 17 00:00:00 2001 1From d08003ab30452b4268121bcf82e03fdf21c89cdd Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 31 Mar 2020 11:51:02 -0700 3Date: Tue, 31 Mar 2020 11:51:02 -0700
4Subject: [PATCH 21/21] cmake: Disable format-overflow warning as error 4Subject: [PATCH] cmake: Disable format-overflow warning as error
5 5
6gcc10 complains about a check which could potentially be null 6gcc10 complains about a check which could potentially be null
7 7
@@ -20,7 +20,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
20 1 file changed, 1 insertion(+), 1 deletion(-) 20 1 file changed, 1 insertion(+), 1 deletion(-)
21 21
22diff --git a/host_applications/linux/libs/bcm_host/CMakeLists.txt b/host_applications/linux/libs/bcm_host/CMakeLists.txt 22diff --git a/host_applications/linux/libs/bcm_host/CMakeLists.txt b/host_applications/linux/libs/bcm_host/CMakeLists.txt
23index a863cb6..f358135 100644 23index 2f4beb9..7a4ab06 100644
24--- a/host_applications/linux/libs/bcm_host/CMakeLists.txt 24--- a/host_applications/linux/libs/bcm_host/CMakeLists.txt
25+++ b/host_applications/linux/libs/bcm_host/CMakeLists.txt 25+++ b/host_applications/linux/libs/bcm_host/CMakeLists.txt
26@@ -3,7 +3,7 @@ if (WIN32) 26@@ -3,7 +3,7 @@ if (WIN32)
@@ -32,6 +32,3 @@ index a863cb6..f358135 100644
32 endif () 32 endif ()
33 33
34 # set this as we want all the source of vchostif to be available in libbcm_host 34 # set this as we want all the source of vchostif to be available in libbcm_host
35--
362.27.0
37
diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb
index 24f0eaf..1d9dc1e 100644
--- a/recipes-graphics/userland/userland_git.bb
+++ b/recipes-graphics/userland/userland_git.bb
@@ -13,11 +13,11 @@ COMPATIBLE_MACHINE = "^rpi$"
13 13
14SRCBRANCH = "master" 14SRCBRANCH = "master"
15SRCFORK = "raspberrypi" 15SRCFORK = "raspberrypi"
16SRCREV = "188d3bfe4a0ac36b119a2cee35a6be8d0c68e09e" 16SRCREV = "9f3f9054a692e53b60fca54221a402414e030335"
17 17
18# Use the date of the above commit as the package version. Update this when 18# Use the date of the above commit as the package version. Update this when
19# SRCREV is changed. 19# SRCREV is changed.
20PV = "20200624" 20PV = "20201027"
21 21
22SRC_URI = "\ 22SRC_URI = "\
23 git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \ 23 git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \