[beignet] 07/09: Better document that linux >= 4.2 fixes the "no __local on Haswell" bug
Rebecca Palmer
rnpalmer-guest at moszumanska.debian.org
Thu Nov 12 22:23:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
rnpalmer-guest pushed a commit to branch master
in repository beignet.
commit 6355add25e7563ff12ed02d2685ace9013b69009
Author: Rebecca N. Palmer <rebecca_palmer at zoho.com>
Date: Wed Nov 11 22:46:08 2015 +0000
Better document that linux >= 4.2 fixes the
"no __local on Haswell" bug
---
debian/changelog | 2 ++
debian/patches/update-docs.patch | 17 ++++++++++++++++-
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 4daba71..1b700d5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ beignet (1.1.1-2) UNRELEASED; urgency=medium
* Fix two printf bugs.
* Declare Built-Using for statically linked libclang.
* Fix shutdown order bug ("i915 kernel driver may not be sane").
+ * Better document that linux >= 4.2 fixes the
+ "no __local on Haswell" bug.
-- Rebecca N. Palmer <rebecca_palmer at zoho.com> Mon, 09 Nov 2015 21:47:04 +0000
diff --git a/debian/patches/update-docs.patch b/debian/patches/update-docs.patch
index 453be89..7f4e14e 100644
--- a/debian/patches/update-docs.patch
+++ b/debian/patches/update-docs.patch
@@ -14,7 +14,7 @@ index e9e2c16..3227340 100644
ret = SELF_TEST_SLM_FAIL;
printf("Beignet: self-test failed: (3, 7, 5) + (5, 7, 3) returned (%i, %i, %i)\n"
- "See README.md or http://www.freedesktop.org/wiki/Software/Beignet/\n",
-+ "See /usr/share/doc/beignet-opencl-icd/Beignet.mdwn.gz or http://www.freedesktop.org/wiki/Software/Beignet/\n",
++ "This can usually be fixed by upgrading Linux to >= 4.2,\nsee /usr/share/doc/beignet-opencl-icd/Beignet.mdwn.gz or http://www.freedesktop.org/wiki/Software/Beignet/\n",
test_data[0], test_data[1], test_data[2]);
}
@@ -49,6 +49,21 @@ index 9a2b516..72cf25e 100644
git master.
* "Beignet: self-test failed" and 15-30 unit tests fail on 4th Generation (Haswell) hardware.
+@@ -183,10 +183,11 @@ Known Issues
+ Linux <= 4.0, and requires the i915.enable_ppgtt=2 [boot parameter](https://wiki.ubuntu.com/Kernel/KernelBootParameters)
+ on Linux 4.1.
+
+- This will be fixed in Linux 4.2; older versions can be fixed with
+- [this patch](https://01.org/zh/beignet/downloads/linux-kernel-patch-hsw-support).
++ This is fixed from Linux 4.2, which is the default in sid/stretch, and available from -backports in jessie:
++
++ `sudo apt-get install -t jessie-backports linux-image-amd64`
+
+- If you do not need \_\_local, you can override the self-test with
++ (or -i386). If you do not need \_\_local, you can override the self-test with
+
+ `export OCL_IGNORE_SELF_TEST=1`
+
diff --git a/docs/Beignet/Backend.mdwn b/docs/Beignet/Backend.mdwn
index 583e5d2..e0de7bf 100644
--- a/docs/Beignet/Backend.mdwn
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/beignet.git
More information about the Pkg-opencl-commits
mailing list