summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-graphics/xorg-lib/pixman/865e6ce00bb79a6b925ed4c2c436e1533e4472aa.patch104
-rw-r--r--meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb1
2 files changed, 105 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/pixman/865e6ce00bb79a6b925ed4c2c436e1533e4472aa.patch b/meta/recipes-graphics/xorg-lib/pixman/865e6ce00bb79a6b925ed4c2c436e1533e4472aa.patch
new file mode 100644
index 0000000000..927ca08cc2
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/pixman/865e6ce00bb79a6b925ed4c2c436e1533e4472aa.patch
@@ -0,0 +1,104 @@
1From 865e6ce00bb79a6b925ed4c2c436e1533e4472aa Mon Sep 17 00:00:00 2001
2From: Mike Hommey <mh@glandium.org>
3Date: Fri, 12 Jul 2024 11:11:17 -0400
4Subject: [PATCH] pixman: Adjust arm assembly for binutils change
5
6A change in the latest version of binutils broke building pixman for arm.
7
8The binutils change:
9https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=226749d5a6ff0d5c607d6428d6c81e1e7e7a994b
10
11Closes: https://gitlab.freedesktop.org/pixman/pixman/-/issues/96
12---
13 pixman/pixman-arm-simd-asm.S | 44 ++++++++++++++++++------------------
14 1 file changed, 22 insertions(+), 22 deletions(-)
15
16Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17Upstream-Status: Backport [865e6ce00bb79a6b925ed4c2c436e1533e4472aa]
18
19Index: pixman-0.42.2/pixman/pixman-arm-simd-asm.S
20===================================================================
21--- pixman-0.42.2.orig/pixman/pixman-arm-simd-asm.S
22+++ pixman-0.42.2/pixman/pixman-arm-simd-asm.S
23@@ -818,13 +818,13 @@ generate_composite_function \
24 .macro over_white_8888_8888_ca_1pixel_tail
25 mvn TMP0, WK1
26 teq WK1, WK1, asr #32
27- bne 01f
28- bcc 03f
29+ bne 1f
30+ bcc 3f
31 mov WK3, WK1
32- b 02f
33-01: over_white_8888_8888_ca_combine WK1, WK3
34-02: pixst , 4, 3, DST
35-03:
36+ b 2f
37+1: over_white_8888_8888_ca_combine WK1, WK3
38+2: pixst , 4, 3, DST
39+3:
40 .endm
41
42 .macro over_white_8888_8888_ca_2pixels_head
43@@ -835,21 +835,21 @@ generate_composite_function \
44 pixld , 8, 3, DST
45 mvn TMP0, WK1
46 teq WK1, WK1, asr #32
47- bne 01f
48+ bne 1f
49 movcs WK3, WK1
50- bcs 02f
51+ bcs 2f
52 teq WK2, #0
53- beq 05f
54- b 02f
55-01: over_white_8888_8888_ca_combine WK1, WK3
56-02: mvn TMP0, WK2
57+ beq 5f
58+ b 2f
59+1: over_white_8888_8888_ca_combine WK1, WK3
60+2: mvn TMP0, WK2
61 teq WK2, WK2, asr #32
62- bne 03f
63+ bne 3f
64 movcs WK4, WK2
65- b 04f
66-03: over_white_8888_8888_ca_combine WK2, WK4
67-04: pixst , 8, 3, DST
68-05:
69+ b 4f
70+3: over_white_8888_8888_ca_combine WK2, WK4
71+4: pixst , 8, 3, DST
72+5:
73 .endm
74
75 .macro over_white_8888_8888_ca_process_head cond, numbytes, firstreg, unaligned_src, unaligned_mask, preload
76@@ -1065,9 +1065,9 @@ generate_composite_function \
77 .if offset != 0
78 ldrb ORIG_W, [SRC, #offset]
79 .endif
80- beq 01f
81+ beq 1f
82 teq STRIDE_M, #0xFF
83- beq 02f
84+ beq 2f
85 .endif
86 uxtb16 SCRATCH, d /* rb_dest */
87 uxtb16 d, d, ror #8 /* ag_dest */
88@@ -1077,13 +1077,13 @@ generate_composite_function \
89 uxtab16 d, d, d, ror #8
90 mov SCRATCH, SCRATCH, ror #8
91 sel d, SCRATCH, d
92- b 02f
93+ b 2f
94 .if offset == 0
95 48: /* Last mov d,#0 of the set - used as part of shortcut for
96 * source values all 0 */
97 .endif
98-01: mov d, #0
99-02:
100+1: mov d, #0
101+2:
102 .endm
103
104 .macro in_reverse_8888_8888_tail numbytes, reg1, reg2, reg3, reg4
diff --git a/meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb b/meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb
index 3c55c1705a..4be72665f9 100644
--- a/meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb
+++ b/meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb
@@ -10,6 +10,7 @@ DEPENDS = "zlib"
10SRC_URI = "https://www.cairographics.org/releases/${BP}.tar.gz \ 10SRC_URI = "https://www.cairographics.org/releases/${BP}.tar.gz \
11 file://0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch \ 11 file://0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch \
12 file://0001-pixman-combine-float.c-fix-inlining-failed-in-call-t.patch \ 12 file://0001-pixman-combine-float.c-fix-inlining-failed-in-call-t.patch \
13 file://865e6ce00bb79a6b925ed4c2c436e1533e4472aa.patch \
13 " 14 "
14SRC_URI[sha256sum] = "ea1480efada2fd948bc75366f7c349e1c96d3297d09a3fe62626e38e234a625e" 15SRC_URI[sha256sum] = "ea1480efada2fd948bc75366f7c349e1c96d3297d09a3fe62626e38e234a625e"
15 16