firmware: Update to 20160326
PATCH 1/2 firmware: Update to 20160326
Signed-off-by Khem Raj <[email protected]>
--- recipes-bsp/common/firmware.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/common/firmware.inc +2 -2
@@ -1,5 +1,5 @@ -RPIFW_SRCREV ?= "028b1f6585280bd0a21885973589c4b101355597" -RPIFW_DATE ?= "20160303" +RPIFW_SRCREV ?= "046effa13ebc4cc7601df4f06f4834bd0eebb0f8" +RPIFW_DATE ?= "20160326" RPIFW_SRC_URI ?= "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master" RPIFW_S ?= "${WORKDIR}/git"
Signature · 1 line
2.7.4
PATCH 2/2 userland: Fix tearing effect seen with wayland compositors
Introduce EGL flush in few more places
Signed-off-by Khem Raj <[email protected]>
--- ...Fix-for-framerate-with-nested-composition.patch | 46 ++++++++++++++++++---- 1 file changed, 39 insertions(+), 7 deletions(-)
recipes-graphics/userland/userland/0013-Fix-for-framerate-with-nested-composition.patch +39 -7
@@ -1,20 +1,39 @@ -From 7f424ce48f6c14118aea2ab770b3bbf87e1f0393 Mon Sep 17 00:00:00 2001 +From e5affc4ff145eedf61e2625a8919622c92d0b8ba Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> -Date: Thu, 24 Mar 2016 14:30:58 -0700 -Subject: [PATCH 13/13] Fix for framerate with nested composition +Date: Tue, 29 Mar 2016 20:38:30 -0700 +Subject: [PATCH 13/14] Fix for framerate with nested composition frame rate appears irregular and lower than expected when using nested composition. Signed-off-by: Khem Raj <[email protected]> --- - interface/khronos/egl/egl_client.c | 1 + - 1 file changed, 1 insertion(+) + interface/khronos/egl/egl_client.c | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/interface/khronos/egl/egl_client.c b/interface/khronos/egl/egl_client.c -index 024f3ed..95bb581 100644 +index 024f3ed..d8a007c 100644 --- a/interface/khronos/egl/egl_client.c +++ b/interface/khronos/egl/egl_client.c -@@ -2360,6 +2360,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surf) +@@ -2342,6 +2342,9 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surf) + surface->back_wl_buffer = buffer; + } + ++ glFlush(); ++ glFinish(); ++ + RPC_CALL7(eglIntSwapBuffers_impl, + thread, + EGLINTSWAPBUFFERS_ID_V2, +@@ -2353,6 +2356,8 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surf) + RPC_UINT(khrn_platform_get_window_position(surface->win)), + RPC_INT(surface->back_wl_buffer->resource)); + ++ RPC_FLUSH(thread); ++ + surface->front_wl_buffer->in_use = 1; + wl_surface_attach(wl_egl_window->wl_surface, + surface->front_wl_buffer->wl_buffer, +@@ -2360,10 +2365,11 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surf) wl_surface_damage(wl_egl_window->wl_surface, 0, 0, surface->width, surface->height); wl_surface_commit(wl_egl_window->wl_surface);
@@ -22,6 +41,19 @@ index 024f3ed..95bb581 100644 while(ret != -1 && surface->back_wl_buffer->in_use) ret = wl_display_dispatch_queue(wl_display, process->wl_queue); +- } else ++ } else { + #endif + RPC_CALL6(eglIntSwapBuffers_impl, + thread, +@@ -2376,6 +2382,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surf) + RPC_UINT(khrn_platform_get_window_position(surface->win))); + + RPC_FLUSH(thread); ++ } + + #ifdef ANDROID + CLIENT_UNLOCK(); -- 2.7.4
Signature · 1 line
2.7.4
Andrei Gherzan
AppliedRe: [meta-raspberrypi][PATCH 2/2] userland: Fix tearing effect seen with wayland compositors
Quoted 81 lines · Khem Raj
Introduce EGL flush in few more places
Signed-off-by Khem Raj <[email protected]>--- ...Fix-for-framerate-with-nested-composition.patch | 46 ++++++++++++++++++---- 1 file changed, 39 insertions(+), 7 deletions(-)recipes-graphics/userland/userland/0013-Fix-for-framerate-with-nested-composition.patch +39
-8@@ -1,20 +1,39 @@ -From 7f424ce48f6c14118aea2ab770b3bbf87e1f0393 Mon Sep 17 00:00:00 2001 +From e5affc4ff145eedf61e2625a8919622c92d0b8ba Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> -Date: Thu, 24 Mar 2016 14:30:58 -0700 -Subject: [PATCH 13/13] Fix for framerate with nested composition +Date: Tue, 29 Mar 2016 20:38:30 -0700 +Subject: [PATCH 13/14] Fix for framerate with nested composition frame rate appears irregular and lower than expected when using nested composition. Signed-off-by: Khem Raj <[email protected]> --- - interface/khronos/egl/egl_client.c | 1 + - 1 file changed, 1 insertion(+) + interface/khronos/egl/egl_client.c | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/interface/khronos/egl/egl_client.c b/interface/khronos/egl/egl_client.c -index 024f3ed..95bb581 100644 +index 024f3ed..d8a007c 100644 --- a/interface/khronos/egl/egl_client.c +++ b/interface/khronos/egl/egl_client.c -@@ -2360,6 +2360,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surf) +@@ -2342,6 +2342,9 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surf) + surface->back_wl_buffer = buffer; + } + ++ glFlush(); ++ glFinish(); ++ + RPC_CALL7(eglIntSwapBuffers_impl, + thread, + EGLINTSWAPBUFFERS_ID_V2, +@@ -2353,6 +2356,8 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surf) + RPC_UINT(khrn_platform_get_window_position(surface->win)), + RPC_INT(surface->back_wl_buffer->resource)); + ++ RPC_FLUSH(thread); ++ + surface->front_wl_buffer->in_use = 1; + wl_surface_attach(wl_egl_window->wl_surface, + surface->front_wl_buffer->wl_buffer, +@@ -2360,10 +2365,11 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surf) wl_surface_damage(wl_egl_window->wl_surface, 0, 0, surface->width, surface->height); wl_surface_commit(wl_egl_window->wl_surface);@@ -22,6 +41,19 @@ index 024f3ed..95bb581 100644 while(ret != -1 && surface->back_wl_buffer->in_use) ret = wl_display_dispatch_queue(wl_display, process->wl_queue); +- } else ++ } else { + #endif + RPC_CALL6(eglIntSwapBuffers_impl, + thread, +@@ -2376,6 +2382,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surf) + RPC_UINT(khrn_platform_get_window_position(surface->win))); + + RPC_FLUSH(thread); ++ } + + #ifdef ANDROID + CLIENT_UNLOCK(); -- 2.7.4 --2.7.4
Quoted 5 lines
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Merged to master. Thanks.
--
Andrei Gherzan
Andrei Gherzan
AppliedQuoted 20 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- recipes-bsp/common/firmware.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)recipes-bsp/common/firmware.inc +2
-3@@ -1,5 +1,5 @@ -RPIFW_SRCREV ?= "028b1f6585280bd0a21885973589c4b101355597" -RPIFW_DATE ?= "20160303" +RPIFW_SRCREV ?= "046effa13ebc4cc7601df4f06f4834bd0eebb0f8" +RPIFW_DATE ?= "20160326" RPIFW_SRC_URI ?= "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master" RPIFW_S ?= "${WORKDIR}/git" --2.7.4
Quoted 5 lines
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Merged to master. Thanks.
--
Andrei Gherzan