[oe-commits] Koen Kooi : pixman git: add patches to fix NEON bugs

git version control git at git.openembedded.org
Fri Jun 5 16:11:22 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: f1d8885f37c0ba682cf458477b8b94dc75fc2e58
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f1d8885f37c0ba682cf458477b8b94dc75fc2e58

Author: Koen Kooi <koen at openembedded.org>
Date:   Thu Jun  4 16:54:02 2009 +0200

pixman git: add patches to fix NEON bugs

---

 recipes/xorg-lib/pixman/0041-Fix-filler-bug.patch  |   25 ++++++++++++++
 .../pixman/0042-Really-fix-filler-bug.patch        |   35 ++++++++++++++++++++
 recipes/xorg-lib/pixman_git.bb                     |    8 +++-
 3 files changed, 66 insertions(+), 2 deletions(-)

diff --git a/recipes/xorg-lib/pixman/0041-Fix-filler-bug.patch b/recipes/xorg-lib/pixman/0041-Fix-filler-bug.patch
new file mode 100644
index 0000000..02bd13a
--- /dev/null
+++ b/recipes/xorg-lib/pixman/0041-Fix-filler-bug.patch
@@ -0,0 +1,25 @@
+From 82ea3295e435b49478cf7943100b22286baf47dc Mon Sep 17 00:00:00 2001
+From: Jonathan Morton <jmorton at sd070.hel.movial.fi>
+Date: Thu, 4 Jun 2009 10:43:41 +0300
+Subject: [PATCH] Fix filler bug.
+
+---
+ pixman/pixman-arm-neon.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/pixman/pixman-arm-neon.c b/pixman/pixman-arm-neon.c
+index 18e9a16..67f0b63 100644
+--- a/pixman/pixman-arm-neon.c
++++ b/pixman/pixman-arm-neon.c
+@@ -1377,7 +1377,7 @@ pixman_fill_neon (uint32_t *bits,
+ 	"beq		2f\n"
+ 	"strh		%[color], [r4]!\n"
+ 	"2:\n"
+-	"tst		r5, #1\n"
++	"tst		%[width], #1\n"
+ 	"beq		2f\n"
+ 	"strb		%[color], [r4]!\n"
+ 	"2:\n"
+-- 
+1.5.6.3
+
diff --git a/recipes/xorg-lib/pixman/0042-Really-fix-filler-bug.patch b/recipes/xorg-lib/pixman/0042-Really-fix-filler-bug.patch
new file mode 100644
index 0000000..e23b9cd
--- /dev/null
+++ b/recipes/xorg-lib/pixman/0042-Really-fix-filler-bug.patch
@@ -0,0 +1,35 @@
+From 5cdd43ac753780ef2cfd6adde822af5dcba6091f Mon Sep 17 00:00:00 2001
+From: Jonathan Morton <jmorton at sd070.hel.movial.fi>
+Date: Thu, 4 Jun 2009 15:11:40 +0300
+Subject: [PATCH] Really fix filler bug.
+
+---
+ pixman/pixman-arm-neon.c |    6 +++---
+ 1 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/pixman/pixman-arm-neon.c b/pixman/pixman-arm-neon.c
+index cfb69f4..0c05f64 100644
+--- a/pixman/pixman-arm-neon.c
++++ b/pixman/pixman-arm-neon.c
+@@ -1369,15 +1369,15 @@ pixman_fill_neon (uint32_t *bits,
+ 	"2:\n"
+ 	"tst		%[width], #4\n"
+ 	"beq		2f\n"
+-	"str		%[color], [r4]!\n"
++	"str		%[color], [r4], #4\n"
+ 	"2:\n"
+ 	"tst		%[width], #2\n"
+ 	"beq		2f\n"
+-	"strh		%[color], [r4]!\n"
++	"strh		%[color], [r4], #2\n"
+ 	"2:\n"
+ 	"tst		%[width], #1\n"
+ 	"beq		2f\n"
+-	"strb		%[color], [r4]!\n"
++	"strb		%[color], [r4], #1\n"
+ 	"2:\n"
+ 
+ 	"subs		%[height], %[height], #1\n"
+-- 
+1.5.6.3
+
diff --git a/recipes/xorg-lib/pixman_git.bb b/recipes/xorg-lib/pixman_git.bb
index 128a3f3..6c05c0c 100644
--- a/recipes/xorg-lib/pixman_git.bb
+++ b/recipes/xorg-lib/pixman_git.bb
@@ -4,13 +4,17 @@ DESCRIPTION = "Low-level pixel manipulation library."
 LICENSE = "X11"
 
 PV = "0.15.8"
+PR = "r1"
 PR_append = "+gitr${SRCREV}"
 
-SRCREV = "a673a898e1e119836c9c68eff71feaec49f97bf1"
+SRCREV = "3c570a815afb282df01f41acad385ff0e3e33899"
 
 DEFAULT_PREFERENCE = "-1"
 
-SRC_URI = "git://anongit.freedesktop.org/pixman;protocol=git"
+SRC_URI = "git://anongit.freedesktop.org/pixman;protocol=git \
+file://0041-Fix-filler-bug.patch;patch=1 \
+file://0042-Really-fix-filler-bug.patch;patch=1 \
+"
 
 S = "${WORKDIR}/git"
 





More information about the Openembedded-commits mailing list