summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-graphics/mesa/mesa/0001-gallium-add-missing-header-for-powf.patch8
-rw-r--r--recipes-graphics/mesa/mesa/0001-gallium-gallivm-remove-unused-header-include-for-newer-LLVM.patch8
-rw-r--r--recipes-graphics/mesa/mesa/0001-gallivm-add-InstSimplify-pass.patch10
-rw-r--r--recipes-graphics/mesa/mesa/0001-gallivm-fix-build-on-llvm-12-due-to-LLVMAddConstantPropagationPass-removal.patch16
4 files changed, 19 insertions, 23 deletions
diff --git a/recipes-graphics/mesa/mesa/0001-gallium-add-missing-header-for-powf.patch b/recipes-graphics/mesa/mesa/0001-gallium-add-missing-header-for-powf.patch
index 851ec39..8e7c15c 100644
--- a/recipes-graphics/mesa/mesa/0001-gallium-add-missing-header-for-powf.patch
+++ b/recipes-graphics/mesa/mesa/0001-gallium-add-missing-header-for-powf.patch
@@ -1,7 +1,7 @@
1From ff8daa013621019f1606dc0c188b16f1ce34fea7 Mon Sep 17 00:00:00 2001 1From 5000318f053f0d7ccb003cfca7a0372f947159d5 Mon Sep 17 00:00:00 2001
2From: Vinson Lee <vlee@freedesktop.org> 2From: Vinson Lee <vlee@freedesktop.org>
3Date: Mon, 6 Apr 2020 18:21:54 -0700 3Date: Mon, 6 Apr 2020 18:21:54 -0700
4Subject: gallivm: Add missing header for powf. 4Subject: [PATCH] gallivm: Add missing header for powf.
5MIME-Version: 1.0 5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8 6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit 7Content-Transfer-Encoding: 8bit
@@ -22,12 +22,13 @@ src/gallium/auxiliary/gallivm/lp_bld_format_srgb.c:78:1: note: include ‘<math.
22Signed-off-by: Vinson Lee <vlee@freedesktop.org> 22Signed-off-by: Vinson Lee <vlee@freedesktop.org>
23Reviewed-by: Roland Scheidegger <sroland@vmware.com> 23Reviewed-by: Roland Scheidegger <sroland@vmware.com>
24Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4473> 24Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4473>
25
25--- 26---
26 src/gallium/auxiliary/gallivm/lp_bld_format_srgb.c | 1 + 27 src/gallium/auxiliary/gallivm/lp_bld_format_srgb.c | 1 +
27 1 file changed, 1 insertion(+) 28 1 file changed, 1 insertion(+)
28 29
29diff --git a/src/gallium/auxiliary/gallivm/lp_bld_format_srgb.c b/src/gallium/auxiliary/gallivm/lp_bld_format_srgb.c 30diff --git a/src/gallium/auxiliary/gallivm/lp_bld_format_srgb.c b/src/gallium/auxiliary/gallivm/lp_bld_format_srgb.c
30index d5cf698b060..5cd6ebe7149 100644 31index d5cf698..5cd6ebe 100644
31--- a/src/gallium/auxiliary/gallivm/lp_bld_format_srgb.c 32--- a/src/gallium/auxiliary/gallivm/lp_bld_format_srgb.c
32+++ b/src/gallium/auxiliary/gallivm/lp_bld_format_srgb.c 33+++ b/src/gallium/auxiliary/gallivm/lp_bld_format_srgb.c
33@@ -68,6 +68,7 @@ 34@@ -68,6 +68,7 @@
@@ -38,4 +39,3 @@ index d5cf698b060..5cd6ebe7149 100644
38 39
39 #include "lp_bld_type.h" 40 #include "lp_bld_type.h"
40 #include "lp_bld_const.h" 41 #include "lp_bld_const.h"
41--
diff --git a/recipes-graphics/mesa/mesa/0001-gallium-gallivm-remove-unused-header-include-for-newer-LLVM.patch b/recipes-graphics/mesa/mesa/0001-gallium-gallivm-remove-unused-header-include-for-newer-LLVM.patch
index 2347182..4ed45d2 100644
--- a/recipes-graphics/mesa/mesa/0001-gallium-gallivm-remove-unused-header-include-for-newer-LLVM.patch
+++ b/recipes-graphics/mesa/mesa/0001-gallium-gallivm-remove-unused-header-include-for-newer-LLVM.patch
@@ -1,4 +1,4 @@
1From 52aa730d07618513d6c055618069b2f4680974cc Mon Sep 17 00:00:00 2001 1From 29aa95dd535bfc361686107027901b5b72b32909 Mon Sep 17 00:00:00 2001
2From: Jan Zielinski <jan.zielinski@intel.com> 2From: Jan Zielinski <jan.zielinski@intel.com>
3Date: Mon, 27 Apr 2020 13:34:59 +0200 3Date: Mon, 27 Apr 2020 13:34:59 +0200
4Subject: [PATCH] gallium/gallivm: remove unused header include for newer LLVM 4Subject: [PATCH] gallium/gallivm: remove unused header include for newer LLVM
@@ -10,12 +10,13 @@ so I disable it only for the latest LLVM
10 10
11Reviewed-by: Roland Scheidegger <sroland@vmware.com> 11Reviewed-by: Roland Scheidegger <sroland@vmware.com>
12Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4748> 12Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4748>
13
13--- 14---
14 src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 ++ 15 src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 ++
15 1 file changed, 2 insertions(+) 16 1 file changed, 2 insertions(+)
16 17
17diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp 18diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
18index 40cc96824f3e..df7196190c5e 100644 19index 40cc968..df71961 100644
19--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp 20--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
20+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp 21+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
21@@ -65,7 +65,9 @@ 22@@ -65,7 +65,9 @@
@@ -28,6 +29,3 @@ index 40cc96824f3e..df7196190c5e 100644
28 #include <llvm/IR/IRBuilder.h> 29 #include <llvm/IR/IRBuilder.h>
29 #include <llvm/IR/Module.h> 30 #include <llvm/IR/Module.h>
30 #include <llvm/Support/CBindingWrapping.h> 31 #include <llvm/Support/CBindingWrapping.h>
31--
32GitLab
33
diff --git a/recipes-graphics/mesa/mesa/0001-gallivm-add-InstSimplify-pass.patch b/recipes-graphics/mesa/mesa/0001-gallivm-add-InstSimplify-pass.patch
index 8846bf3..2ede41d 100644
--- a/recipes-graphics/mesa/mesa/0001-gallivm-add-InstSimplify-pass.patch
+++ b/recipes-graphics/mesa/mesa/0001-gallivm-add-InstSimplify-pass.patch
@@ -1,4 +1,4 @@
1From 1d018bc7fde744b5fc71108887a51e5bfaff8776 Mon Sep 17 00:00:00 2001 1From 17a438c9975a3c12e53b03bb6489f854affaf99c Mon Sep 17 00:00:00 2001
2From: Roland Scheidegger <sroland@vmware.com> 2From: Roland Scheidegger <sroland@vmware.com>
3Date: Wed, 2 Sep 2020 04:04:50 +0200 3Date: Wed, 2 Sep 2020 04:04:50 +0200
4Subject: [PATCH] gallivm: add InstSimplify pass 4Subject: [PATCH] gallivm: add InstSimplify pass
@@ -7,15 +7,16 @@ This is the recommended replacement for the removed ConstantPropagation
7pass, and llvm now added c binding for it. 7pass, and llvm now added c binding for it.
8 8
9Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6585> 9Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6585>
10
10--- 11---
11 src/gallium/auxiliary/gallivm/lp_bld_init.c | 2 ++ 12 src/gallium/auxiliary/gallivm/lp_bld_init.c | 2 ++
12 1 file changed, 2 insertions(+) 13 1 file changed, 2 insertions(+)
13 14
14diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.c b/src/gallium/auxiliary/gallivm/lp_bld_init.c 15diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.c b/src/gallium/auxiliary/gallivm/lp_bld_init.c
15index 1eb4892a4a6c..fe3ef4a48df5 100644 16index 31ebd8c..6aa2314 100644
16--- a/src/gallium/auxiliary/gallivm/lp_bld_init.c 17--- a/src/gallium/auxiliary/gallivm/lp_bld_init.c
17+++ b/src/gallium/auxiliary/gallivm/lp_bld_init.c 18+++ b/src/gallium/auxiliary/gallivm/lp_bld_init.c
18@@ -171,6 +171,8 @@ create_pass_manager(struct gallivm_state *gallivm) 19@@ -170,6 +170,8 @@ create_pass_manager(struct gallivm_state *gallivm)
19 LLVMAddPromoteMemoryToRegisterPass(gallivm->passmgr); 20 LLVMAddPromoteMemoryToRegisterPass(gallivm->passmgr);
20 #if LLVM_VERSION_MAJOR <= 11 21 #if LLVM_VERSION_MAJOR <= 11
21 LLVMAddConstantPropagationPass(gallivm->passmgr); 22 LLVMAddConstantPropagationPass(gallivm->passmgr);
@@ -24,6 +25,3 @@ index 1eb4892a4a6c..fe3ef4a48df5 100644
24 #endif 25 #endif
25 LLVMAddInstructionCombiningPass(gallivm->passmgr); 26 LLVMAddInstructionCombiningPass(gallivm->passmgr);
26 LLVMAddGVNPass(gallivm->passmgr); 27 LLVMAddGVNPass(gallivm->passmgr);
27--
28GitLab
29
diff --git a/recipes-graphics/mesa/mesa/0001-gallivm-fix-build-on-llvm-12-due-to-LLVMAddConstantPropagationPass-removal.patch b/recipes-graphics/mesa/mesa/0001-gallivm-fix-build-on-llvm-12-due-to-LLVMAddConstantPropagationPass-removal.patch
index 0c7004c..518b4e4 100644
--- a/recipes-graphics/mesa/mesa/0001-gallivm-fix-build-on-llvm-12-due-to-LLVMAddConstantPropagationPass-removal.patch
+++ b/recipes-graphics/mesa/mesa/0001-gallivm-fix-build-on-llvm-12-due-to-LLVMAddConstantPropagationPass-removal.patch
@@ -1,22 +1,25 @@
1From 52cac068621a5998f486f8e44f9c2d9d045d1c31 Mon Sep 17 00:00:00 2001 1From db4a83e137128582fcc2ec3ae726bdde995a7ad3 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= <marek.olsak@amd.com> 2From: OpenEmbedded <oe.patch@oe>
3Date: Mon, 31 Aug 2020 21:59:39 -0400 3Date: Mon, 31 Aug 2020 21:59:39 -0400
4Subject: [PATCH] gallivm: fix build on LLVM 12 due to 4Subject: [PATCH] gallivm: fix build on LLVM 12 due to
5
6From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= <marek.olsak@amd.com>
5 LLVMAddConstantPropagationPass removal 7 LLVMAddConstantPropagationPass removal
6 8
7Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3465 9Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3465
8Cc: 20.1 20.2 <mesa-stable@lists.freedesktop.org> 10Cc: 20.1 20.2 <mesa-stable@lists.freedesktop.org>
9Reviewed-by: Dave Airlie <airlied@redhat.com> 11Reviewed-by: Dave Airlie <airlied@redhat.com>
10Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6531> 12Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6531>
13
11--- 14---
12 src/gallium/auxiliary/gallivm/lp_bld_init.c | 2 ++ 15 src/gallium/auxiliary/gallivm/lp_bld_init.c | 2 ++
13 1 file changed, 2 insertions(+) 16 1 file changed, 2 insertions(+)
14 17
15diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.c b/src/gallium/auxiliary/gallivm/lp_bld_init.c 18diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.c b/src/gallium/auxiliary/gallivm/lp_bld_init.c
16index 6ebc9ebf25a3..1eb4892a4a6c 100644 19index efc0096..31ebd8c 100644
17--- a/src/gallium/auxiliary/gallivm/lp_bld_init.c 20--- a/src/gallium/auxiliary/gallivm/lp_bld_init.c
18+++ b/src/gallium/auxiliary/gallivm/lp_bld_init.c 21+++ b/src/gallium/auxiliary/gallivm/lp_bld_init.c
19@@ -169,7 +169,9 @@ create_pass_manager(struct gallivm_state *gallivm) 22@@ -168,7 +168,9 @@ create_pass_manager(struct gallivm_state *gallivm)
20 */ 23 */
21 LLVMAddReassociatePass(gallivm->passmgr); 24 LLVMAddReassociatePass(gallivm->passmgr);
22 LLVMAddPromoteMemoryToRegisterPass(gallivm->passmgr); 25 LLVMAddPromoteMemoryToRegisterPass(gallivm->passmgr);
@@ -25,7 +28,4 @@ index 6ebc9ebf25a3..1eb4892a4a6c 100644
25+#endif 28+#endif
26 LLVMAddInstructionCombiningPass(gallivm->passmgr); 29 LLVMAddInstructionCombiningPass(gallivm->passmgr);
27 LLVMAddGVNPass(gallivm->passmgr); 30 LLVMAddGVNPass(gallivm->passmgr);
28 } 31 #if GALLIVM_HAVE_CORO
29--
30GitLab
31