[beignet] 03/05: Enable CL-GL sharing, and document its limitations

Rebecca Palmer rnpalmer-guest at moszumanska.debian.org
Mon Aug 7 19:55:57 UTC 2017


This is an automated email from the git hooks/post-receive script.

rnpalmer-guest pushed a commit to branch master
in repository beignet.

commit dc8851ec543f4ea7c226b58807e7cc41ef5367ba
Author: Rebecca N. Palmer <rebecca_palmer at zoho.com>
Date:   Mon Aug 7 19:40:05 2017 +0100

    Enable CL-GL sharing, and document its limitations
---
 debian/beignet-opencl-icd.README.Debian |  2 ++
 debian/changelog                        |  1 +
 debian/control                          |  4 +++-
 debian/patches/update-docs.patch        | 13 ++++---------
 4 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/debian/beignet-opencl-icd.README.Debian b/debian/beignet-opencl-icd.README.Debian
index c727121..1ac4a1e 100644
--- a/debian/beignet-opencl-icd.README.Debian
+++ b/debian/beignet-opencl-icd.README.Debian
@@ -25,3 +25,5 @@ By default, no single OpenCL kernel is allowed to run for more than
 6 seconds, to prevent accidental hangs: if "dmesg | grep hangcheck"
 finds anything, this limit has been hit.  You can turn it off with
 "echo -n 0 > /sys/module/i915/parameters/enable_hangcheck" (as root).
+
+cl_khr_gl_sharing is only partially implemented.
diff --git a/debian/changelog b/debian/changelog
index c872f26..3731fa2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ beignet (1.3.1-1) UNRELEASED; urgency=medium
     to comply with Standards-Version 4.0.1.
   * Relicense AppStream metadata.
   * Use --fail-missing.
+  * Enable CL-GL sharing, and document its limitations.
 
  -- Rebecca N. Palmer <rebecca_palmer at zoho.com>  Sun, 30 Jul 2017 14:30:54 +0100
 
diff --git a/debian/control b/debian/control
index 54b09a3..84b3774 100644
--- a/debian/control
+++ b/debian/control
@@ -27,7 +27,9 @@ Build-Depends:
  ikiwiki,
  libtinfo-dev,
  libedit-dev,
- zlib1g-dev
+ zlib1g-dev,
+ libgl1-mesa-dev (>= 13),
+ libegl1-mesa-dev (>= 13)
 Standards-Version: 4.0.1
 Homepage: https://www.freedesktop.org/wiki/Software/Beignet/
 Vcs-Git: https://anonscm.debian.org/git/pkg-opencl/beignet.git
diff --git a/debian/patches/update-docs.patch b/debian/patches/update-docs.patch
index 648f6c9..670d15a 100644
--- a/debian/patches/update-docs.patch
+++ b/debian/patches/update-docs.patch
@@ -131,15 +131,10 @@ Author: Rebecca N. Palmer <rebecca_palmer at zoho.com>
    
    `export OCL_IGNORE_SELF_TEST=1`
    
-@@ -221,8 +224,19 @@ Known Issues
-   This loses some precision but gains performance.
- 
+@@ -223,6 +226,16 @@ Known Issues
  * cl\_khr\_gl\_sharing.
--  This extension is partially implemented(the most commonly used part), and we will implement
--  other parts based on requirement.
-+  
-+  This extension is disabled by default, as it is only partially implemented.
-+  Enabling it requires recompiling with cmake -DENABLE\_GL\_SHARING=ON.
+   This extension is partially implemented(the most commonly used part), and we will implement
+   other parts based on requirement.
 +
 +* clCreateBuffer with CL_MEM_ALLOC_HOST_PTR doesn't work.
 +  
@@ -153,7 +148,7 @@ Author: Rebecca N. Palmer <rebecca_palmer at zoho.com>
  
  Project repository
  ------------------
-@@ -269,9 +290,9 @@ The official mail list is as below:
+@@ -269,9 +289,9 @@ The official mail list is as below:
  [http://lists.freedesktop.org/mailman/listinfo/beignet](http://lists.freedesktop.org/mailman/listinfo/beignet)  
  The official bugzilla is at:
  [https://bugs.freedesktop.org/enter_bug.cgi?product=Beignet](https://bugs.freedesktop.org/enter_bug.cgi?product=Beignet)  

-- 
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