Queued changes since rocko
v7 cover Queued changes since rocko
Those are the patches we have queued here for master.
Changes in v7:
- fix commit log typo
- upgrade to 2.4.88 release
- new patch
Changes in v6:
- update to 17.2.4
Changes in v5:
- rebase on top of master
- new patch
Changes in v4:
- update to 17.2.2
Changes in v3:
- fix build for wayland
Changes in v2:
- update to 17.2.1
- add a note about checksum change of WHENCE file.
Otavio Salvador (4):
mesa: Upgrade to 17.2.4 release
libdrm: upgrade to 2.4.88
cmake: Upgrade to 3.9.5
linux-firmware: Bump to bf04291 revision
...cmake-native_3.9.3.bb => cmake-native_3.9.5.bb} | 0
meta/recipes-devtools/cmake/cmake.inc | 4 +-
.../cmake/{cmake_3.9.3.bb => cmake_3.9.5.bb} | 0
.../drm/{libdrm_2.4.83.bb => libdrm_2.4.88.bb} | 4 +-
...1-ac-fix-build-after-LLVM-5.0-SVN-r300718.patch | 40 ------------------
...allivm-Fix-build-against-LLVM-SVN-r302589.patch | 49 ----------------------
.../mesa/{mesa-gl_17.1.7.bb => mesa-gl_17.2.4.bb} | 0
meta/recipes-graphics/mesa/mesa.inc | 2 +-
.../mesa/{mesa_17.1.7.bb => mesa_17.2.4.bb} | 7 ++--
.../linux-firmware/linux-firmware_git.bb | 4 +-
10 files changed, 10 insertions(+), 100 deletions(-)
rename meta/recipes-devtools/cmake/{cmake-native_3.9.3.bb => cmake-native_3.9.5.bb} (100%)
rename meta/recipes-devtools/cmake/{cmake_3.9.3.bb => cmake_3.9.5.bb} (100%)
rename meta/recipes-graphics/drm/{libdrm_2.4.83.bb => libdrm_2.4.88.bb} (93%)
delete mode 100644 meta/recipes-graphics/mesa/files/0001-ac-fix-build-after-LLVM-5.0-SVN-r300718.patch
delete mode 100644 meta/recipes-graphics/mesa/files/0002-gallivm-Fix-build-against-LLVM-SVN-r302589.patch
rename meta/recipes-graphics/mesa/{mesa-gl_17.1.7.bb => mesa-gl_17.2.4.bb} (100%)
rename meta/recipes-graphics/mesa/{mesa_17.1.7.bb => mesa_17.2.4.bb} (78%)Signature · 1 line
2.15.0
PATCH v7 1/4 mesa: Upgrade to 17.2.4 release
Upgrade to a new stable release and drop patches applied on upstream.
For a full release notes, please see:
https://mesa3d.org/relnotes/17.2.0.html
https://mesa3d.org/relnotes/17.2.1.html
https://mesa3d.org/relnotes/17.2.2.html
https://mesa3d.org/relnotes/17.2.3.html
https://mesa3d.org/relnotes/17.2.4.html
---
Changes in v7:
- fix commit log typo
Changes in v6:
- update to 17.2.4
Changes in v5:
- rebase on top of master
Changes in v4:
- update to 17.2.2
Changes in v3:
- fix build for wayland
Changes in v2:
- update to 17.2.1
...1-ac-fix-build-after-LLVM-5.0-SVN-r300718.patch | 40 ------------------
...allivm-Fix-build-against-LLVM-SVN-r302589.patch | 49 ----------------------
.../mesa/{mesa-gl_17.1.7.bb => mesa-gl_17.2.4.bb} | 0
meta/recipes-graphics/mesa/mesa.inc | 2 +-
.../mesa/{mesa_17.1.7.bb => mesa_17.2.4.bb} | 7 ++--
5 files changed, 4 insertions(+), 94 deletions(-)
delete mode 100644 meta/recipes-graphics/mesa/files/0001-ac-fix-build-after-LLVM-5.0-SVN-r300718.patch
delete mode 100644 meta/recipes-graphics/mesa/files/0002-gallivm-Fix-build-against-LLVM-SVN-r302589.patch
rename meta/recipes-graphics/mesa/{mesa-gl_17.1.7.bb => mesa-gl_17.2.4.bb} (100%)
rename meta/recipes-graphics/mesa/{mesa_17.1.7.bb => mesa_17.2.4.bb} (78%)meta/recipes-graphics/mesa/files/0001-ac-fix-build-after-LLVM-5.0-SVN-r300718.patch deleted +0 -40
@@ -1,40 +0,0 @@ -From 9861437e58fdd0de01193a102608d34e5952953f Mon Sep 17 00:00:00 2001 -From: Christoph Haag <[email protected]> -Date: Thu, 20 Apr 2017 10:34:18 +0200 -Subject: [PATCH 1/2] ac: fix build after LLVM 5.0 SVN r300718 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -v2: previously getWithDereferenceableBytes() exists, but addAttr() doesn't take that type - -Signed-off-by: Christoph Haag <[email protected]> -Reviewed-by: Nicolai Hähnle <[email protected]> -Tested-and-reviewed-by: Mike Lothian <[email protected]> ---- -Upstream-Status: Backport - - src/amd/common/ac_llvm_helper.cpp | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/amd/common/ac_llvm_helper.cpp b/src/amd/common/ac_llvm_helper.cpp -index d9ea4b1..11fa809 100644 ---- a/src/amd/common/ac_llvm_helper.cpp -+++ b/src/amd/common/ac_llvm_helper.cpp -@@ -44,9 +44,13 @@ typedef AttributeSet AttributeList; - void ac_add_attr_dereferenceable(LLVMValueRef val, uint64_t bytes) - { - llvm::Argument *A = llvm::unwrap<llvm::Argument>(val); -+#if HAVE_LLVM < 0x0500 - llvm::AttrBuilder B; - B.addDereferenceableAttr(bytes); - A->addAttr(llvm::AttributeList::get(A->getContext(), A->getArgNo() + 1, B)); -+#else -+ A->addAttr(llvm::Attribute::getWithDereferenceableBytes(A->getContext(), bytes)); -+#endif - } - - bool ac_is_sgpr_param(LLVMValueRef arg) --- -2.13.3 -
meta/recipes-graphics/mesa/files/0002-gallivm-Fix-build-against-LLVM-SVN-r302589.patch deleted +0 -49
49 lines not on this page · raw message
meta/recipes-graphics/mesa/mesa-gl_17.2.4.bb renamed from meta/recipes-graphics/mesa/mesa-gl_17.1.7.bb +0 -0
meta/recipes-graphics/mesa/mesa.inc +1 -1
@@ -45,7 +45,7 @@ X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage li # "x11" requires "opengl" PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}" PACKAGECONFIG[xvmc] = "--enable-xvmc,--disable-xvmc,libxvmc" -PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm" +PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm wayland-protocols" DRIDRIVERS = "swrast" DRIDRIVERS_append_x86 = ",radeon,r200,nouveau,i965,i915"
meta/recipes-graphics/mesa/mesa_17.2.4.bb renamed from meta/recipes-graphics/mesa/mesa_17.1.7.bb +3 -4
@@ -7,14 +7,13 @@ SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ file://0002-hardware-gloat.patch \ file://vulkan-mkdir.patch \ file://llvm-config-version.patch \ - file://0001-ac-fix-build-after-LLVM-5.0-SVN-r300718.patch \ - file://0002-gallivm-Fix-build-against-LLVM-SVN-r302589.patch \ file://0001-winsys-svga-drm-Include-sys-types.h.patch \ file://0001-configure.ac-Always-check-for-expat.patch \ file://0001-Makefile.vulkan.am-explictly-add-lib-expat-to-intel-.patch \ " -SRC_URI[md5sum] = "e40bb428a263bd28cbf6478dae45b207" -SRC_URI[sha256sum] = "69f472a874b1122404fa0bd13e2d6bf87eb3b9ad9c21d2f39872a96d83d9e5f5" + +SRC_URI[md5sum] = "cf0b7a297eedd0549cda5ba071d7561f" +SRC_URI[sha256sum] = "5ba408fecd6e1132e5490eec1a2f04466214e4c65c8b89b331be844768c2e550" #because we cannot rely on the fact that all apps will use pkgconfig, #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
Signature · 1 line
2.15.0
Re: [PATCH v7 1/4] mesa: Upgrade to 17.2.4 release
Quoted 11 lines · Otavio Salvador
Upgrade to a new stable release and drop patches applied on upstream.
For a full release notes, please see:
https://mesa3d.org/relnotes/17.2.0.html
https://mesa3d.org/relnotes/17.2.1.html
https://mesa3d.org/relnotes/17.2.2.html
https://mesa3d.org/relnotes/17.2.3.html
https://mesa3d.org/relnotes/17.2.4.htmlSigned-off-by Fabio Berton <[email protected]>Signed-off-by Otavio Salvador <[email protected]>
thanks! I have tested on Dragonboard (freedreno) and the update looks good to me. I have tested both the mesa and libdrm upgrade simultaneously, and it's tested with X11 ad kmscube.
Quoted 182 lines
---
Changes in v7:
- fix commit log typoChanges in v6:
- update to 17.2.4Changes in v5:
- rebase on top of masterChanges in v4:
- update to 17.2.2Changes in v3:
- fix build for waylandChanges in v2:
- update to 17.2.1...1-ac-fix-build-after-LLVM-5.0-SVN-r300718.patch | 40 ------------------ ...allivm-Fix-build-against-LLVM-SVN-r302589.patch | 49 ---------------------- .../mesa/{mesa-gl_17.1.7.bb => mesa-gl_17.2.4.bb} | 0 meta/recipes-graphics/mesa/mesa.inc | 2 +- .../mesa/{mesa_17.1.7.bb => mesa_17.2.4.bb} | 7 ++-- 5 files changed, 4 insertions(+), 94 deletions(-) delete mode 100644 meta/recipes-graphics/mesa/files/0001-ac-fix-build-after-LLVM-5.0-SVN-r300718.patch delete mode 100644 meta/recipes-graphics/mesa/files/0002-gallivm-Fix-build-against-LLVM-SVN-r302589.patch rename meta/recipes-graphics/mesa/{mesa-gl_17.1.7.bb => mesa-gl_17.2.4.bb} (100%) rename meta/recipes-graphics/mesa/{mesa_17.1.7.bb => mesa_17.2.4.bb} (78%)meta/recipes-graphics/mesa/files/0001-ac-fix-build-after-LLVM-5.0-SVN-r300718.patch deleted +0
-40@@ -1,40 +0,0 @@ -From 9861437e58fdd0de01193a102608d34e5952953f Mon Sep 17 00:00:00 2001 -From: Christoph Haag <[email protected]> -Date: Thu, 20 Apr 2017 10:34:18 +0200 -Subject: [PATCH 1/2] ac: fix build after LLVM 5.0 SVN r300718 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -v2: previously getWithDereferenceableBytes() exists, but addAttr() doesn't take that type - -Signed-off-by: Christoph Haag <[email protected]> -Reviewed-by: Nicolai Hähnle <[email protected]> -Tested-and-reviewed-by: Mike Lothian <[email protected]> ---- -Upstream-Status: Backport - - src/amd/common/ac_llvm_helper.cpp | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/amd/common/ac_llvm_helper.cpp b/src/amd/common/ac_llvm_helper.cpp -index d9ea4b1..11fa809 100644 ---- a/src/amd/common/ac_llvm_helper.cpp -+++ b/src/amd/common/ac_llvm_helper.cpp -@@ -44,9 +44,13 @@ typedef AttributeSet AttributeList; - void ac_add_attr_dereferenceable(LLVMValueRef val, uint64_t bytes) - { - llvm::Argument *A = llvm::unwrap<llvm::Argument>(val); -+#if HAVE_LLVM < 0x0500 - llvm::AttrBuilder B; - B.addDereferenceableAttr(bytes); - A->addAttr(llvm::AttributeList::get(A->getContext(), A->getArgNo() + 1, B)); -+#else -+ A->addAttr(llvm::Attribute::getWithDereferenceableBytes(A->getContext(), bytes)); -+#endif - } - - bool ac_is_sgpr_param(LLVMValueRef arg) --- -2.13.3 -meta/recipes-graphics/mesa/files/0002-gallivm-Fix-build-against-LLVM-SVN-r302589.patch deleted +0
-49@@ -1,49 +0,0 @@ -From a02a0dfda2712d30ad62b8f0421ec7b8244ba2cb Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Michel=20D=C3=A4nzer?= <[email protected]> -Date: Wed, 10 May 2017 17:26:07 +0900 -Subject: [PATCH 2/2] gallivm: Fix build against LLVM SVN >= r302589 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -deregisterEHFrames doesn't take any parameters anymore. - -Reviewed-by: Vedran Miletić <[email protected]> -Reviewed-by: Marek Olšák <[email protected]> ---- -Upstream-Status: Backport - - src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 12 +++++++++--- - 1 file changed, 9 insertions(+), 3 deletions(-) - -diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp -index 2a388cb..0e4a531 100644 ---- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp -+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp -@@ -342,14 +342,20 @@ class DelegatingJITMemoryManager : public BaseMemoryManager { - virtual void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr, size_t Size) { - mgr()->registerEHFrames(Addr, LoadAddr, Size); - } -- virtual void deregisterEHFrames(uint8_t *Addr, uint64_t LoadAddr, size_t Size) { -- mgr()->deregisterEHFrames(Addr, LoadAddr, Size); -- } - #else - virtual void registerEHFrames(llvm::StringRef SectionData) { - mgr()->registerEHFrames(SectionData); - } - #endif -+#if HAVE_LLVM >= 0x0500 -+ virtual void deregisterEHFrames() { -+ mgr()->deregisterEHFrames(); -+ } -+#elif HAVE_LLVM >= 0x0304 -+ virtual void deregisterEHFrames(uint8_t *Addr, uint64_t LoadAddr, size_t Size) { -+ mgr()->deregisterEHFrames(Addr, LoadAddr, Size); -+ } -+#endif - virtual void *getPointerToNamedFunction(const std::string &Name, - bool AbortOnFailure=true) { - return mgr()->getPointerToNamedFunction(Name, AbortOnFailure); --- -2.13.3 -meta/recipes-graphics/mesa/mesa-gl_17.2.4.bb renamed from meta/recipes-graphics/mesa/mesa-gl_17.1.7.bb +0
-0meta/recipes-graphics/mesa/mesa.inc +1
-1@@ -45,7 +45,7 @@ X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage li # "x11" requires "opengl" PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}" PACKAGECONFIG[xvmc] = "--enable-xvmc,--disable-xvmc,libxvmc" -PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm" +PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm wayland-protocols" DRIDRIVERS = "swrast" DRIDRIVERS_append_x86 = ",radeon,r200,nouveau,i965,i915"meta/recipes-graphics/mesa/mesa_17.2.4.bb renamed from meta/recipes-graphics/mesa/mesa_17.1.7.bb +3
-5@@ -7,14 +7,13 @@ SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ file://0002-hardware-gloat.patch \ file://vulkan-mkdir.patch \ file://llvm-config-version.patch \ - file://0001-ac-fix-build-after-LLVM-5.0-SVN-r300718.patch \ - file://0002-gallivm-Fix-build-against-LLVM-SVN-r302589.patch \ file://0001-winsys-svga-drm-Include-sys-types.h.patch \ file://0001-configure.ac-Always-check-for-expat.patch \ file://0001-Makefile.vulkan.am-explictly-add-lib-expat-to-intel-.patch \ " -SRC_URI[md5sum] = "e40bb428a263bd28cbf6478dae45b207" -SRC_URI[sha256sum] = "69f472a874b1122404fa0bd13e2d6bf87eb3b9ad9c21d2f39872a96d83d9e5f5" + +SRC_URI[md5sum] = "cf0b7a297eedd0549cda5ba071d7561f" +SRC_URI[sha256sum] = "5ba408fecd6e1132e5490eec1a2f04466214e4c65c8b89b331be844768c2e550" #because we cannot rely on the fact that all apps will use pkgconfig, #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER --2.15.0
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
PATCH v7 2/4 libdrm: upgrade to 2.4.88
In reply to Otavio Salvador---
Changes in v7:
- upgrade to 2.4.88 release
Changes in v6: None
Changes in v5:
- new patch
Changes in v4: None
Changes in v3: None
Changes in v2: None
meta/recipes-graphics/drm/{libdrm_2.4.83.bb => libdrm_2.4.88.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/drm/{libdrm_2.4.83.bb => libdrm_2.4.88.bb} (93%)meta/recipes-graphics/drm/libdrm_2.4.88.bb renamed from meta/recipes-graphics/drm/libdrm_2.4.83.bb +2 -2
@@ -16,8 +16,8 @@ SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.bz2 \ file://0001-configure.ac-Allow-explicit-enabling-of-cunit-tests.patch \ " -SRC_URI[md5sum] = "23800953ed7564988872e1e8c61fde31" -SRC_URI[sha256sum] = "03a52669da60ead62548a35bc430aafb6c2d8dd21ec9dba3a90f96eff5fe36d6" +SRC_URI[md5sum] = "fe4d5c77f1468ee73d0bbb30d76945d7" +SRC_URI[sha256sum] = "b5e55dbac2124e742e639f5b8553e8b7395863bf73dab4f77e99fe2fc25572b5" inherit autotools pkgconfig manpages
Signature · 1 line
2.15.0
PATCH v7 3/4 cmake: Upgrade to 3.9.5
In reply to Otavio Salvador---
Changes in v7:
- new patch
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
.../cmake/{cmake-native_3.9.3.bb => cmake-native_3.9.5.bb} | 0
meta/recipes-devtools/cmake/cmake.inc | 4 ++--
meta/recipes-devtools/cmake/{cmake_3.9.3.bb => cmake_3.9.5.bb} | 0
3 files changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-devtools/cmake/{cmake-native_3.9.3.bb => cmake-native_3.9.5.bb} (100%)
rename meta/recipes-devtools/cmake/{cmake_3.9.3.bb => cmake_3.9.5.bb} (100%)meta/recipes-devtools/cmake/cmake-native_3.9.5.bb renamed from meta/recipes-devtools/cmake/cmake-native_3.9.3.bb +0 -0
meta/recipes-devtools/cmake/cmake.inc +2 -2
@@ -17,8 +17,8 @@ SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \ file://0001-FindCUDA-Use-find_program-if-find_host_program-is-no.patch \ " -SRC_URI[md5sum] = "cb0f19828461904c72ed6a1e55459d03" -SRC_URI[sha256sum] = "8eaf75e1e932159aae98ab5e7491499545554be62a08cbcbc7c75c84b999f28a" +SRC_URI[md5sum] = "0922130d0e0c142a88e58c6e4fef4d7d" +SRC_URI[sha256sum] = "6220c1683b4e6bb8f38688fa3ffb17a7cf39f36317c2ddfdc3f12f09d086c166" UPSTREAM_CHECK_REGEX = "cmake-(?P<pver>\d+(\.\d+)+)\.tar"
meta/recipes-devtools/cmake/cmake_3.9.5.bb renamed from meta/recipes-devtools/cmake/cmake_3.9.3.bb +0 -0
Signature · 1 line
2.15.0
PATCH v7 4/4 linux-firmware: Bump to bf04291 revision
In reply to Otavio SalvadorThis includes following changes:
bf04291 WHENCE: Add new qed firmware
d8fc990 WHENCE: Add new radeon firmware
7245319 WHENCE: Fix syntax error for iwlwifi-8265-31.ucode entry
18d71a8 Revert "ath10k: QCA988X hw2.0: update firmware to 10.2.4.70.63-2" 4ebfab3 ath10k: QCA6174 hw3.0: update board-2.bin
96a7402 ath10k: QCA6174 hw3.0: update firmware-6.bin to WLAN.RM.4.4.1-00051-QCARMSWP-1 59bf7e2 cxgb4: update firmware to revision 1.16.63.0
The MD5 checksum of WHENCE license file was due the changes above as the firmware versions are listed there. It had no license term changes.
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
- add a note about checksum change of WHENCE file.
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +2 -2
@@ -116,7 +116,7 @@ LIC_FILES_CHKSUM = "\ file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \ file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \ file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \ - file://WHENCE;md5=08f6d4371353cac5f6fc271d5407c63e \ + file://WHENCE;md5=038edbc9e744171d8b6235e0224028ba \ " # These are not common licenses, set NO_GENERIC_LICENSE for them
@@ -178,7 +178,7 @@ NO_GENERIC_LICENSE[Firmware-xc5000] = "LICENCE.xc5000" NO_GENERIC_LICENSE[Firmware-xc5000c] = "LICENCE.xc5000c" NO_GENERIC_LICENSE[WHENCE] = "WHENCE" -SRCREV = "a61ac5cf8374edbfe692d12f805a1b194f7fead2" +SRCREV = "bf04291309d3169c0ad3b8db52564235bbd08e30" PE = "1" PV = "0.0+git${SRCPV}"
Signature · 1 line
2.15.0