From: Fabio Estevam Date: Fri, 23 Jun 2017 13:28:10 +0000 (-0300) Subject: glmark2: Bump to the latest version X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e4768669a753876a9ae7b6ea8952421db19e7f12;p=buildroot.git glmark2: Bump to the latest version The two patches are no longer needed with the latest upstream version, so bump to the latest one. Tested on imx6. Signed-off-by: Fabio Estevam Signed-off-by: Thomas Petazzoni --- diff --git a/package/glmark2/0001-NativeStateDRM-add-imx-drm-driver-support.patch b/package/glmark2/0001-NativeStateDRM-add-imx-drm-driver-support.patch deleted file mode 100644 index 8eff81e622..0000000000 --- a/package/glmark2/0001-NativeStateDRM-add-imx-drm-driver-support.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 05ec5e4411fe3188f72305050b11513cb153c5ff Mon Sep 17 00:00:00 2001 -From: Gary Bisson -Date: Tue, 14 Feb 2017 09:39:02 +0100 -Subject: [PATCH] NativeStateDRM: add imx-drm driver support - -Signed-off-by: Gary Bisson ---- - src/native-state-drm.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/native-state-drm.cpp b/src/native-state-drm.cpp -index 4df75ec..454a24d 100644 ---- a/src/native-state-drm.cpp -+++ b/src/native-state-drm.cpp -@@ -201,6 +201,7 @@ NativeStateDRM::init() - // driver (udev?). - static const char* drm_modules[] = { - "i915", -+ "imx-drm", - "nouveau", - "radeon", - "vmgfx", --- -2.11.0 - diff --git a/package/glmark2/0002-NativeStateDRM-use-fixed-event-context-version.patch b/package/glmark2/0002-NativeStateDRM-use-fixed-event-context-version.patch deleted file mode 100644 index c66f409dd3..0000000000 --- a/package/glmark2/0002-NativeStateDRM-use-fixed-event-context-version.patch +++ /dev/null @@ -1,28 +0,0 @@ -From: Lucas Stach -Date: Wed, 31 May 2017 13:01:00 +0200 -Subject: [PATCH] NativeStateDRM: use fixed event context version - -Using the latest version is not a good idea, as the context content may -change between versions. - -Fixes a segfault with new kernel and libdrm. - -Signed-off-by: Lucas Stach -Signed-off-by: Fabio Estevam ---- - src/native-state-drm.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/native-state-drm.cpp b/src/native-state-drm.cpp -index 454a24d898ff..b9af996667dc 100644 ---- a/src/native-state-drm.cpp -+++ b/src/native-state-drm.cpp -@@ -106,7 +106,7 @@ NativeStateDRM::flip() - FD_ZERO(&fds); - FD_SET(fd_, &fds); - drmEventContext evCtx; -- evCtx.version = DRM_EVENT_CONTEXT_VERSION; -+ evCtx.version = 2; - evCtx.page_flip_handler = page_flip_handler; - - while (waiting) { diff --git a/package/glmark2/glmark2.hash b/package/glmark2/glmark2.hash index 92c53e5410..aeb8a78568 100644 --- a/package/glmark2/glmark2.hash +++ b/package/glmark2/glmark2.hash @@ -1,2 +1,2 @@ # Locally computed -sha256 ea59bd267a88e2c773423eec43f7cb90b0ca1c369762e836dec575ebdcdcc012 glmark2-7215c0f337dae0b232535549c37fca441747a891.tar.gz +sha256 8800f3cab0575df217adc166b181930e1f881efb6f764f35872993ee78dea5f0 glmark2-9b1070fe9c5cf908f323909d3c8cbed08022abe8.tar.gz diff --git a/package/glmark2/glmark2.mk b/package/glmark2/glmark2.mk index 4edc7137ce..4eeaec79c3 100644 --- a/package/glmark2/glmark2.mk +++ b/package/glmark2/glmark2.mk @@ -4,7 +4,7 @@ # ################################################################################ -GLMARK2_VERSION = 7215c0f337dae0b232535549c37fca441747a891 +GLMARK2_VERSION = 9b1070fe9c5cf908f323909d3c8cbed08022abe8 GLMARK2_SITE = $(call github,glmark2,glmark2,$(GLMARK2_VERSION)) GLMARK2_LICENSE = GPL-3.0+, SGIv1 GLMARK2_LICENSE_FILES = COPYING COPYING.SGI