mesa: Changes to 'debian-experimental'
configure.ac | 14 ++++++++++++++
debian/changelog | 23 +++++++++++++++++++++--
debian/control | 17 +++++++++--------
debian/copyright | 4 ++--
debian/rules | 14 +++++---------
debian/source/local-options | 2 +-
src/gallium/state_trackers/clover/Makefile.am | 3 +++
7 files changed, 55 insertions(+), 22 deletions(-)
New commits:
commit 4250246c0b75911f26e199c1a406d6e4e3309431
Author: Andreas Boll <andreas.boll.dev@gmail.com>
Date: Mon Mar 6 15:15:12 2017 +0100
Upload to experimental.
diff --git a/debian/changelog b/debian/changelog
index 64329ca..bd49212 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-mesa (17.0.1-1) UNRELEASED; urgency=medium
+mesa (17.0.1-1) experimental; urgency=medium
[ Timo Aaltonen ]
* New upstream release.
@@ -13,7 +13,7 @@ mesa (17.0.1-1) UNRELEASED; urgency=medium
- Enables radeonsi, llvmpipe and radv drivers.
- Enables OpenCL support.
- -- Timo Aaltonen <tjaalton@debian.org> Mon, 06 Mar 2017 13:59:38 +0200
+ -- Andreas Boll <andreas.boll.dev@gmail.com> Mon, 06 Mar 2017 15:15:00 +0100
mesa (17.0.0-1) experimental; urgency=medium
commit d656b242cc9b3de474ed7ab32a78f691da9cf4f0
Author: Andreas Boll <andreas.boll.dev@gmail.com>
Date: Mon Mar 6 14:37:28 2017 +0100
Require LLVM on more architectures (armel mips mips64el mipsel powerpc ppc64)
- Enables radeonsi, llvmpipe and radv drivers.
- Enables OpenCL support.
diff --git a/debian/changelog b/debian/changelog
index eadb96a..64329ca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,10 @@ mesa (17.0.1-1) UNRELEASED; urgency=medium
* Cherry-pick 7d1195c (clover: Work around build failure with
AltiVec.) from upstream master branch.
* Enable OpenCL on ppc64el (Closes: #810913).
+ * Require LLVM on more architectures (armel mips mips64el mipsel
+ powerpc ppc64):
+ - Enables radeonsi, llvmpipe and radv drivers.
+ - Enables OpenCL support.
-- Timo Aaltonen <tjaalton@debian.org> Mon, 06 Mar 2017 13:59:38 +0200
diff --git a/debian/control b/debian/control
index 5bcc0ae..26a3ba1 100644
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,7 @@ Build-Depends:
libxext-dev,
libva-dev (>= 1.6.0) [linux-any kfreebsd-any],
libvdpau-dev (>= 1.1.1) [linux-any kfreebsd-any],
- libvulkan-dev [amd64 i386 arm64 armhf ppc64el x32],
+ libvulkan-dev [amd64 arm64 armel armhf i386 mips mips64el mipsel powerpc ppc64 ppc64el x32],
autoconf,
automake,
libtool,
@@ -41,11 +41,11 @@ Build-Depends:
python-mako,
flex,
bison,
- llvm-4.0-dev (>= 1:4.0~) [amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf ppc64el],
- libelf-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf ppc64el],
+ llvm-4.0-dev (>= 1:4.0~) [amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mips mips64el mipsel powerpc ppc64 ppc64el],
+ libelf-dev [amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mips mips64el mipsel powerpc ppc64 ppc64el],
libwayland-dev (>= 1.11.0) [linux-any],
- libclang-4.0-dev (>= 1:4.0~) [amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf ppc64el],
- libclc-dev (>= 0.2.0+git20170213) [amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf ppc64el],
+ libclang-4.0-dev (>= 1:4.0~) [amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mips mips64el mipsel powerpc ppc64 ppc64el],
+ libclc-dev (>= 0.2.0+git20170213) [amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mips mips64el mipsel powerpc ppc64 ppc64el],
Vcs-Git: https://anonscm.debian.org/git/pkg-xorg/lib/mesa.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-xorg/lib/mesa.git
Homepage: https://mesa3d.org/
@@ -410,7 +410,7 @@ Description: Mesa VDPAU video acceleration drivers
Package: mesa-vulkan-drivers
Section: libs
-Architecture: amd64 i386 arm64 armhf ppc64el x32
+Architecture: amd64 arm64 armel armhf i386 mips mips64el mipsel powerpc ppc64 ppc64el x32
Pre-Depends: ${misc:Pre-Depends}
Depends:
libvulkan1,
@@ -423,7 +423,7 @@ Description: Mesa Vulkan graphics drivers
Package: mesa-opencl-icd
Section: libs
-Architecture: amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf ppc64el
+Architecture: amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mips mips64el mipsel powerpc ppc64 ppc64el
Pre-Depends: ${misc:Pre-Depends}
Depends:
libclc-r600 (>= 0.2.0+git20170213),
diff --git a/debian/rules b/debian/rules
index f6bc829..515e9c7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -83,7 +83,7 @@ else
# LLVM is required for building r300g, radeonsi and llvmpipe drivers.
# It's also required for building OpenCL support.
- ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf ppc64el))
+ ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mips mips64el mipsel powerpc ppc64 ppc64el))
GALLIUM_DRIVERS += radeonsi
confflags_GALLIUM += --enable-gallium-llvm
confflags_GALLIUM += --enable-opencl --enable-opencl-icd
@@ -96,7 +96,7 @@ else
# radv needs LLVM and the Vulkan loader, so only build on the subset of
# arches where we have LLVM enabled and where the Vulkan loader is built.
- ifneq (,$(filter $(DEB_HOST_ARCH), amd64 i386 arm64 armhf ppc64el))
+ ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 mips mips64el mipsel powerpc ppc64 ppc64el))
VULKAN_DRIVERS += radeon
endif
commit a080267260357728d0f9ce8116d651936df72c84
Author: Andreas Boll <andreas.boll.dev@gmail.com>
Date: Mon Mar 6 13:57:35 2017 +0100
rules: Cleanup OpenCL enabling.
Fold into LLVM block.
diff --git a/debian/rules b/debian/rules
index dd85f01..f6bc829 100755
--- a/debian/rules
+++ b/debian/rules
@@ -80,16 +80,13 @@ else
DRI_DRIVERS += r200 radeon
GALLIUM_DRIVERS += r600 r300
endif
- ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf ppc64el))
- # opencl needs LLVM and Clang, so only build it on the subset
- # of arches where we have LLVM enabled.
- confflags_GALLIUM += --enable-opencl --enable-opencl-icd
- endif
- # LLVM is required for r300g, radeonsi and llvmpipe:
+ # LLVM is required for building r300g, radeonsi and llvmpipe drivers.
+ # It's also required for building OpenCL support.
ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf ppc64el))
GALLIUM_DRIVERS += radeonsi
confflags_GALLIUM += --enable-gallium-llvm
+ confflags_GALLIUM += --enable-opencl --enable-opencl-icd
confflags_GALLIUM += ac_cv_path_LLVM_CONFIG=llvm-config-4.0
GALLIUM_DRIVERS += swrast
else
commit 41059d1039ce2ee42cf4fb951bab3b79524613e8
Author: Andreas Boll <andreas.boll.dev@gmail.com>
Date: Mon Mar 6 13:56:41 2017 +0100
Enable OpenCL on ppc64el (Closes: #810913).
diff --git a/debian/changelog b/debian/changelog
index c48cf7b..eadb96a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ mesa (17.0.1-1) UNRELEASED; urgency=medium
* Declare Multi-Arch: same for mesa-vulkan-drivers (Closes: #853897).
* Cherry-pick 7d1195c (clover: Work around build failure with
AltiVec.) from upstream master branch.
+ * Enable OpenCL on ppc64el (Closes: #810913).
-- Timo Aaltonen <tjaalton@debian.org> Mon, 06 Mar 2017 13:59:38 +0200
diff --git a/debian/control b/debian/control
index 425923f..5bcc0ae 100644
--- a/debian/control
+++ b/debian/control
@@ -44,8 +44,8 @@ Build-Depends:
llvm-4.0-dev (>= 1:4.0~) [amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf ppc64el],
libelf-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf ppc64el],
libwayland-dev (>= 1.11.0) [linux-any],
- libclang-4.0-dev (>= 1:4.0~) [amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf],
- libclc-dev (>= 0.2.0+git20170213) [amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf],
+ libclang-4.0-dev (>= 1:4.0~) [amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf ppc64el],
+ libclc-dev (>= 0.2.0+git20170213) [amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf ppc64el],
Vcs-Git: https://anonscm.debian.org/git/pkg-xorg/lib/mesa.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-xorg/lib/mesa.git
Homepage: https://mesa3d.org/
@@ -423,7 +423,7 @@ Description: Mesa Vulkan graphics drivers
Package: mesa-opencl-icd
Section: libs
-Architecture: amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf
+Architecture: amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf ppc64el
Pre-Depends: ${misc:Pre-Depends}
Depends:
libclc-r600 (>= 0.2.0+git20170213),
diff --git a/debian/rules b/debian/rules
index 551ca37..dd85f01 100755
--- a/debian/rules
+++ b/debian/rules
@@ -80,10 +80,9 @@ else
DRI_DRIVERS += r200 radeon
GALLIUM_DRIVERS += r600 r300
endif
- ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf))
+ ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf ppc64el))
# opencl needs LLVM and Clang, so only build it on the subset
# of arches where we have LLVM enabled.
- # opencl on ppc64el is currently disabled (see #810913).
confflags_GALLIUM += --enable-opencl --enable-opencl-icd
endif
commit 59d303b0f569d34888081c6b3afb9e5dca5bdb33
Author: Andreas Boll <andreas.boll.dev@gmail.com>
Date: Mon Mar 6 13:32:05 2017 +0100
Document the cherry-pick in debian/changelog
diff --git a/debian/changelog b/debian/changelog
index 25129ea..c48cf7b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ mesa (17.0.1-1) UNRELEASED; urgency=medium
[ Andreas Boll ]
* Declare Multi-Arch: same for mesa-vulkan-drivers (Closes: #853897).
+ * Cherry-pick 7d1195c (clover: Work around build failure with
+ AltiVec.) from upstream master branch.
-- Timo Aaltonen <tjaalton@debian.org> Mon, 06 Mar 2017 13:59:38 +0200
commit b34bd836ea5ac0729b1c0b7bbb5ec71875c41fb2
Author: Matt Turner <mattst88@gmail.com>
Date: Thu Mar 2 04:43:21 2017 +0000
clover: Work around build failure with AltiVec.
Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=587210
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68504
Acked-by: Francisco Jerez <currojerez@riseup.net>
(cherry picked from commit 7d1195c1e4d071fe796bf5f210c468ea1cc86225)
diff --git a/configure.ac b/configure.ac
index bdcf14d..bd1ac23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2030,6 +2030,20 @@ if test "x$enable_opencl" = xyes; then
AC_MSG_ERROR([Clover requires libelf])
fi
+ if test "x${ac_cv_cxx_compiler_gnu}" = xyes; then
+ altivec_enabled=no
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([
+ #if !defined(__VEC__) || !defined(__ALTIVEC__)
+ #error "AltiVec not enabled"
+ #endif
+ ])], altivec_enabled=yes)
+
+ if test "$altivec_enabled" = yes; then
+ CLOVER_STD_OVERRIDE="-std=gnu++11"
+ fi
+ AC_SUBST([CLOVER_STD_OVERRIDE])
+ fi
+
llvm_require_version $LLVM_REQUIRED_OPENCL "opencl"
llvm_add_default_components "opencl"
diff --git a/src/gallium/state_trackers/clover/Makefile.am b/src/gallium/state_trackers/clover/Makefile.am
index 8abcfec..edf1e26 100644
--- a/src/gallium/state_trackers/clover/Makefile.am
+++ b/src/gallium/state_trackers/clover/Makefile.am
@@ -33,6 +33,7 @@ noinst_LTLIBRARIES = libclover.la libcltgsi.la libclllvm.la
libcltgsi_la_CXXFLAGS = \
-std=c++11 \
+ $(CLOVER_STD_OVERRIDE) \
$(VISIBILITY_CXXFLAGS)
libcltgsi_la_SOURCES = $(TGSI_SOURCES)
@@ -41,6 +42,7 @@ libclllvm_la_CXXFLAGS = \
-std=c++11 \
$(VISIBILITY_CXXFLAGS) \
$(LLVM_CXXFLAGS) \
+ $(CLOVER_STD_OVERRIDE) \
$(DEFINES) \
$(LIBELF_CFLAGS) \
-DLIBCLC_INCLUDEDIR=\"$(LIBCLC_INCLUDEDIR)/\" \
@@ -51,6 +53,7 @@ libclllvm_la_SOURCES = $(LLVM_SOURCES)
libclover_la_CXXFLAGS = \
-std=c++11 \
+ $(CLOVER_STD_OVERRIDE) \
$(VISIBILITY_CXXFLAGS)
libclover_la_LIBADD = \
commit 100fe1731f8dbf52e313e82de9350fc807e89f8c
Author: Andreas Boll <andreas.boll.dev@gmail.com>
Date: Mon Mar 6 13:29:06 2017 +0100
Declare Multi-Arch: same for mesa-vulkan-drivers (Closes: #853897).
diff --git a/debian/changelog b/debian/changelog
index b1986a3..25129ea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,11 @@
mesa (17.0.1-1) UNRELEASED; urgency=medium
+ [ Timo Aaltonen ]
* New upstream release.
+ [ Andreas Boll ]
+ * Declare Multi-Arch: same for mesa-vulkan-drivers (Closes: #853897).
+
-- Timo Aaltonen <tjaalton@debian.org> Mon, 06 Mar 2017 13:59:38 +0200
mesa (17.0.0-1) experimental; urgency=medium
diff --git a/debian/control b/debian/control
index 97b5427..425923f 100644
--- a/debian/control
+++ b/debian/control
@@ -416,6 +416,7 @@ Depends:
libvulkan1,
${shlibs:Depends},
${misc:Depends}
+Multi-Arch: same
Description: Mesa Vulkan graphics drivers
Vulkan is a low-overhead 3D graphics and compute API. This package
includes Vulkan drivers provided by the Mesa project.
commit 413ab6747a9f5fb672c028b2eef22bc9faa8abd4
Author: Andreas Boll <andreas.boll.dev@gmail.com>
Date: Tue Feb 21 13:14:02 2017 +0100
Upload to unstable.
diff --git a/debian/changelog b/debian/changelog
index f5b5e9f..27d06a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,10 @@
-mesa (13.0.5-1) UNRELEASED; urgency=medium
+mesa (13.0.5-1) unstable; urgency=medium
* New upstream release.
* Switch mesa3d.org URLs to https.
* Update extend-diff-ignore.
- -- Andreas Boll <andreas.boll.dev@gmail.com> Tue, 21 Feb 2017 11:53:15 +0100
+ -- Andreas Boll <andreas.boll.dev@gmail.com> Tue, 21 Feb 2017 13:13:50 +0100
mesa (13.0.4-1) unstable; urgency=medium
commit 4b14b8a48ca94d52c2ebdb0f387086c17a026f9f
Author: Andreas Boll <andreas.boll.dev@gmail.com>
Date: Tue Feb 21 12:24:31 2017 +0100
Update extend-diff-ignore.
diff --git a/debian/changelog b/debian/changelog
index f4e092c..f5b5e9f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ mesa (13.0.5-1) UNRELEASED; urgency=medium
* New upstream release.
* Switch mesa3d.org URLs to https.
+ * Update extend-diff-ignore.
-- Andreas Boll <andreas.boll.dev@gmail.com> Tue, 21 Feb 2017 11:53:15 +0100
diff --git a/debian/source/local-options b/debian/source/local-options
index 5dc5566..b8819db 100644
--- a/debian/source/local-options
+++ b/debian/source/local-options
@@ -10,7 +10,7 @@ extend-diff-ignore = Android.*mk|CleanSpec\.mk
extend-diff-ignore = \.clang-format|\.dir-locals\.el|\.editorconfig|\.mailmap|\.travis\.yml|appveyor\.yml
# misc. files and scripts used by Mesa developers but not required for the build
-extend-diff-ignore = src/compiler/nir/README|src/gallium/drivers/vc4/kernel/README|REVIEWERS|scripts/get_reviewer\.pl|bin/\.cherry-ignore|bin/bugzilla_mesa\.sh|bin/get-extra-pick-list\.sh|bin/get-pick-list\.sh|bin/get-typod-pick-list\.sh|bin/perf-annotate-jit|bin/shortlog_mesa\.sh|src/intel/blorp/TODO|src/mapi/glapi/gen/next_available_offset\.sh|src/mesa/drivers/dri/gen-symbol-redefs\.py|src/mesa/drivers/dri/r200/Doxyfile
+extend-diff-ignore = src/compiler/nir/README|src/gallium/drivers/vc4/kernel/README|REVIEWERS|scripts/get_reviewer\.pl|bin/\.cherry-ignore|bin/bugzilla_mesa\.sh|bin/get-extra-pick-list\.sh|bin/get-fixes-pick-list\.sh|bin/get-pick-list\.sh|bin/get-typod-pick-list\.sh|bin/perf-annotate-jit|bin/shortlog_mesa\.sh|src/intel/blorp/TODO|src/mapi/glapi/gen/next_available_offset\.sh|src/mesa/drivers/dri/gen-symbol-redefs\.py|src/mesa/drivers/dri/r200/Doxyfile
# radeonsi GLSL lit tests (for developers only)
extend-diff-ignore = src/gallium/drivers/radeonsi/glsl_tests/
commit 5cecb1961c454a30dcf9cd7b890190becc029cfa
Author: Andreas Boll <andreas.boll.dev@gmail.com>
Date: Tue Feb 21 11:57:36 2017 +0100
Switch mesa3d.org URLs to https.
diff --git a/debian/changelog b/debian/changelog
index 5269fe7..f4e092c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
mesa (13.0.5-1) UNRELEASED; urgency=medium
* New upstream release.
+ * Switch mesa3d.org URLs to https.
-- Andreas Boll <andreas.boll.dev@gmail.com> Tue, 21 Feb 2017 11:53:15 +0100
diff --git a/debian/control b/debian/control
index 9c2f750..780ebc3 100644
--- a/debian/control
+++ b/debian/control
@@ -49,7 +49,7 @@ Build-Depends:
libclc-dev (>= 0.2.0+git20160907) [amd64 i386 kfreebsd-amd64 kfreebsd-i386 arm64 armhf],
Vcs-Git: https://anonscm.debian.org/git/pkg-xorg/lib/mesa.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-xorg/lib/mesa.git
-Homepage: http://mesa3d.org/
+Homepage: https://mesa3d.org/
Package: libxatracker2
Section: libs
diff --git a/debian/copyright b/debian/copyright
index 8b2c18b..f48f482 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -4,11 +4,11 @@ Magallon <mmagallo@debian.org> on Sat, 25 Dec 2004 14:50:02 -0600. It was
again debianized by Thierry Reding <thierry@gilfi.de> on Sat, 14 Oct 2006
02:01:12 +0200.
-It was downloaded from http://www.mesa3d.org/download.html
+It was downloaded from https://www.mesa3d.org/download.html
For more information see:
- http://www.mesa3d.org/
+ https://www.mesa3d.org/
-------------------------------------------------------------------------------
The Mesa distribution consists of several components. Different copyrights and
commit f3c2832403d1ec3453ea6a0c76abbff5f35b0fd6
Author: Andreas Boll <andreas.boll.dev@gmail.com>
Date: Tue Feb 21 11:54:18 2017 +0100
Bump changelog
diff --git a/debian/changelog b/debian/changelog
index b1788b9..5269fe7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mesa (13.0.5-1) UNRELEASED; urgency=medium
+
+ * New upstream release.
+
+ -- Andreas Boll <andreas.boll.dev@gmail.com> Tue, 21 Feb 2017 11:53:15 +0100
+
mesa (13.0.4-1) unstable; urgency=medium
* New upstream release.
commit 71f3ff57fa67ef72630821f4fa13a17e264d7ccb
Author: Emil Velikov <emil.velikov@collabora.com>
Date: Mon Feb 20 11:43:27 2017 +0000
docs: add release notes for 13.0.5
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
diff --git a/docs/relnotes/13.0.5.html b/docs/relnotes/13.0.5.html
new file mode 100644
index 0000000..9debaf7
--- /dev/null
+++ b/docs/relnotes/13.0.5.html
@@ -0,0 +1,209 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>Mesa Release Notes</title>
+ <link rel="stylesheet" type="text/css" href="../mesa.css">
+</head>
+<body>
+
+<div class="header">
+ <h1>The Mesa 3D Graphics Library</h1>
+</div>
+
+<iframe src="../contents.html"></iframe>
+<div class="content">
+
+<h1>Mesa 13.0.5 Release Notes / February 20, 2017</h1>
+
+<p>
+Mesa 13.0.5 is a bug fix release which fixes bugs found since the 13.0.4 release.
+</p>
+<p>
+Mesa 13.0.5 implements the OpenGL 4.4 API, but the version reported by
+glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) /
+glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used.
+Some drivers don't support all the features required in OpenGL 4.4. OpenGL
+4.4 is <strong>only</strong> available if requested at context creation
+because compatibility contexts are not supported.
+</p>
+
+
+<h2>SHA256 checksums</h2>
+<pre>
+TBD
+</pre>
+
+
+<h2>New features</h2>
+<p>None</p>
+
+
+<h2>Bug fixes</h2>
+
+<ul>
+
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=98329">Bug 98329</a> - [dEQP, EGL, SKL, BDW, BSW] dEQP-EGL.functional.image.render_multiple_contexts.gles2_renderbuffer_depth16_depth_buffer</li>
+
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=98421">Bug 98421</a> - src/loader/loader.c:111:40: error: unknown type name ‘drmDevicePtr’</li>
+
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=98526">Bug 98526</a> - glsl/tests/general-ir-test regression</li>
+
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=99532">Bug 99532</a> - Compute shader doesn't give right result under some circumstances</li>
+
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=99631">Bug 99631</a> - segfault with OSVRTrackerView and openscenegraph git master</li>
+
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=99633">Bug 99633</a> - rasterizer/core/clip.h:279:49: error: ‘const struct API_STATE’ has no member named ‘linkageCount’</li>
+
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=99692">Bug 99692</a> - [radv] Mostly broken on Hawaii PRO/CIK ASICs</li>
+
+</ul>
+
+<h2>Changes</h2>
+
+<p>Bartosz Tomczyk (2):</p>
+<ul>
+ <li>r600: Fix stack overflow</li>
+ <li>r600/sb: Fix memory leak</li>
+</ul>
+
+<p>Bruce Cherniak (1):</p>
+<ul>
+ <li>swr: [rasterizer core] Remove dead code Clipper::ClipScalar()</li>
+</ul>
+
+<p>Chad Versace (1):</p>
+<ul>
+ <li>i965/mt: Disable HiZ when sharing depth buffer externally (v2)</li>
+</ul>
+
+<p>Dave Airlie (3):</p>
+<ul>
+ <li>radv: change base aligmment for allocated memory.</li>
+ <li>radv: fix cik macroModeIndex.</li>
+ <li>radv: adopt some init config workarounds from radeonsi.</li>
+</ul>
+
+<p>Derek Foreman (1):</p>
+<ul>
+ <li>egl/dri2: add image_loader_extension back into loader extensions for wayland</li>
+</ul>
+
+<p>Emil Velikov (26):</p>
+<ul>
+ <li>docs: add sha256 checksums for 13.0.4</li>
+ <li>configure.ac: list radeon in --with-vulkan-drivers help string</li>
+ <li>i965: automake: correctly set MKDIR_GEN</li>
+ <li>freedreno: automake: correctly set MKDIR_GEN</li>
+ <li>i965: automake: include builddir prior to srcdir</li>
+ <li>i915: automake: include builddir prior to srcdir</li>
+ <li>egl: automake: include builddir prior to srcdir</li>
+ <li>clover: automake: include builddir prior to srcdir</li>
+ <li>st/dri: automake: include builddir prior to srcdir</li>
+ <li>d3dadapter9: automake: include builddir prior to srcdir</li>
+ <li>glx: automake: include builddir prior to srcdir</li>
+ <li>glx/apple: automake: include builddir prior to srcdir</li>
+ <li>glx/windows: automake: include builddir prior to srcdir</li>
+ <li>loader: automake: include builddir prior to srcdir</li>
+ <li>mapi: automake: include builddir prior to srcdir</li>
+ <li>radeon, r200: automake: include builddir prior to srcdir</li>
+ <li>dri/swrast: automake: include builddir prior to srcdir</li>
+ <li>dri/osmesa: automake: include builddir prior to srcdir</li>
+ <li>mesa/tests: automake: include builddir prior to srcdir</li>
+ <li>bin/get-extra-pick-list: use git merge-base to get the branchpoint</li>
+ <li>bin/get-extra-pick-list: rework to use already_picked list</li>
+ <li>bin/get-typod-pick-list.sh: limit `git grep ...' to only as needed</li>
+ <li>bin/get-pick-list.sh: limit `git grep ...' only as needed</li>
+ <li>bin/get-pick-list.sh: remove ancient way of nominating patches</li>
+ <li>bin/get-fixes-pick-list.sh: add new script</li>
+ <li>Update version to 13.0.5</li>
+</ul>
+
+<p>Eric Anholt (1):</p>
+<ul>
+ <li>vc4: Avoid emitting small immediates for UBO indirect load address guards.</li>
+</ul>
+
+<p>Hans de Goede (1):</p>
+<ul>
+ <li>glx/glvnd: Fix GLXdispatchIndex sorting</li>
+</ul>
+
+<p>Ian Romanick (11):</p>
+<ul>
+ <li>linker: Slight code rearrange to prevent duplication in the next commit</li>
+ <li>linker: Accurately track gl_uniform_block::stageref</li>
+ <li>glsl: Split process_block_array into two functions</li>
+ <li>glsl: Fix wonkey indentation left from previous commit</li>
+ <li>glsl: Track the linearized array index for each UBO instance array element</li>
+ <li>glsl: Use simpler visitor to determine which UBO and SSBO blocks are used</li>
+ <li>glsl: Add tracking for elements of an array-of-arrays that have been accessed</li>
+ <li>glsl: Add structures to track accessed elements of a single array</li>
+ <li>glsl: Mark a set of array elements as accessed using a list of array_deref_range</li>
+ <li>glsl: Walk a list of ir_dereference_array to mark array elements as accessed</li>
+ <li>linker: Accurately mark a uniform block instance array element as used in a stage</li>
+</ul>
+
+<p>Ilia Mirkin (3):</p>
+<ul>
+ <li>vbo: process buffer binding state changes on draw when recording</li>
+ <li>st/mesa: MAX_VARYING is the max supported number of patch varyings, not min</li>
+ <li>nvc0: disable linked tsc mode in compute launch descriptor</li>
+</ul>
+
+<p>Jason Ekstrand (11):</p>
+<ul>
+ <li>nir/search: Use the correct bit size for integer comparisons</li>
+ <li>i965/blorp: Use the correct ISL format for combined depth/stencil</li>
+ <li>intel/blorp: Handle clearing of A4B4G4R4 on all platforms</li>
+ <li>isl/formats: Only advertise sampling for A4B4G4R4 on Broadwell</li>
+ <li>anv: Flush render cache before STATE_BASE_ADDRESS on gen7</li>
+ <li>anv: Improve flushing around STATE_BASE_ADDRESS</li>
+ <li>vulkan/wsi/wayland: Handle VK_INCOMPLETE for GetFormats</li>
+ <li>vulkan/wsi/wayland: Handle VK_INCOMPLETE for GetPresentModes</li>
+ <li>vulkan/wsi: Lower the maximum image sizes</li>
+ <li>i965/sampler_state: Pass texObj into update_sampler_state</li>
+ <li>i965/sampler_state: Set the "Base Mip Level" field on Sandy Bridge</li>
+</ul>
+
+<p>Kenneth Graunke (1):</p>
+<ul>
+ <li>i965: Unbind deleted shaders from brw_context, fixing malloc heisenbug.</li>
+</ul>
+
+<p>Lionel Landwerlin (5):</p>
+<ul>
+ <li>anv: don't require render target isl bit for depth/stencil surfaces</li>
+ <li>anv: set command buffer to NULL when allocations fail</li>
+ <li>anv: fix descriptor pool internal size allocation</li>
+ <li>spirv: handle OpUndef as part of the variable parsing pass</li>
+ <li>spirv: handle undefined components for OpVectorShuffle</li>
+</ul>
+
+<p>Marc-André Lureau (1):</p>
+<ul>
+ <li>tgsi-dump: dump label if instruction has one</li>
+</ul>
+
+<p>Marek Olšák (2):</p>
+<ul>
+ <li>radeonsi: always set the TCL1_ACTION_ENA when invalidating L2</li>
+ <li>gallium/radeon: fix performance of buffer readbacks</li>
+</ul>
+
+<p>Topi Pohjolainen (2):</p>
+<ul>
+ <li>i965: Make depth clear flushing more explicit</li>
+ <li>i965/gen6: Issue direct depth stall and flush after depth clear</li>
+</ul>
+
+<p>Vinson Lee (2):</p>
+<ul>
+ <li>scons: Require libdrm >= 2.4.66 for DRM.</li>
+ <li>util: Fix Clang trivial destructor check.</li>
+</ul>
+
+
+</div>
+</body>
+</html>
commit 8d622e91d407da24357aa237179b2c409c77d75b
Author: Emil Velikov <emil.velikov@collabora.com>
Date: Mon Feb 20 10:01:46 2017 +0000
Update version to 13.0.5
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
diff --git a/VERSION b/VERSION
index 1b8bd35..f64807a 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-13.0.4
+13.0.5
commit 1d561d8147a0c3142a2c0bc1dc19d091aaa74152
Author: Ilia Mirkin <imirkin@alum.mit.edu>
Date: Mon Feb 13 11:14:51 2017 -0500
nvc0: disable linked tsc mode in compute launch descriptor
Empirically, this makes things work. Presumably this was originally
copied from the blob, which does make use of linked tsc mode.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99532
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit 956556b3c30ce3d38d0af795f9383df3bc2cf8a2)
diff --git a/src/gallium/drivers/nouveau/nvc0/nve4_compute.c b/src/gallium/drivers/nouveau/nvc0/nve4_compute.c
index d661c00..15b4750 100644
--- a/src/gallium/drivers/nouveau/nvc0/nve4_compute.c
+++ b/src/gallium/drivers/nouveau/nvc0/nve4_compute.c
@@ -816,6 +816,7 @@ nve4_compute_dump_launch_desc(const struct nve4_cp_launch_desc *desc)
debug_printf("barrier count: %u\n", desc->bar_alloc);
debug_printf("$r count: %u\n", desc->gpr_alloc);
debug_printf("cache split: %s\n", nve4_cache_split_name(desc->cache_split));
+ debug_printf("linked tsc: %d\n", desc->linked_tsc);
for (i = 0; i < 8; ++i) {
uint64_t address;
diff --git a/src/gallium/drivers/nouveau/nvc0/nve4_compute.h b/src/gallium/drivers/nouveau/nvc0/nve4_compute.h
index b98c65d..5fe58b9 100644
--- a/src/gallium/drivers/nouveau/nvc0/nve4_compute.h
+++ b/src/gallium/drivers/nouveau/nvc0/nve4_compute.h
@@ -8,7 +8,10 @@ struct nve4_cp_launch_desc
{
u32 unk0[8];
u32 entry;
- u32 unk9[3];
+ u32 unk9[2];
+ u32 unk11_0 : 30;
+ u32 linked_tsc : 1;
+ u32 unk11_31 : 1;
u32 griddim_x : 31;
u32 unk12 : 1;
u16 griddim_y;
@@ -48,7 +51,7 @@ nve4_cp_launch_desc_init_default(struct nve4_cp_launch_desc *desc)
memset(desc, 0, sizeof(*desc));
desc->unk0[7] = 0xbc000000;
- desc->unk9[2] = 0x44014000;
+ desc->unk11_0 = 0x04014000;
desc->unk47_20 = 0x300;
}
commit 9f669540479768c28557ace2f5aef2025ba70b0a
Author: Bartosz Tomczyk <bartosz.tomczyk86@gmail.com>
Date: Sun Jan 29 19:10:25 2017 +0100
r600/sb: Fix memory leak
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
(cherry picked from commit 94262e5f5db1f5c7865ced251c440bc5f3f4a89d)
Fixes: e933246013ee ("r600/sb: Fix loop optimization related hangs on eg")
Nominated-by: Andreas Boll <andreas.boll.dev@gmail.com>
diff --git a/src/gallium/drivers/r600/sb/sb_valtable.cpp b/src/gallium/drivers/r600/sb/sb_valtable.cpp
index a8b7b49..d31a1b7 100644
--- a/src/gallium/drivers/r600/sb/sb_valtable.cpp
+++ b/src/gallium/drivers/r600/sb/sb_valtable.cpp
@@ -241,6 +241,7 @@ void value::remove_use(const node *n) {
{
// TODO assert((*it)->kind == kind) ?
// TODO assert((*it)->arg == arg) ?
+ delete *it;
uses.erase(it);
}
}
@@ -290,7 +291,12 @@ bool value::is_prealloc() {
}
void value::delete_uses() {
- uses.erase(uses.begin(), uses.end());
+ for (uselist::iterator it = uses.begin(); it != uses.end(); ++it)
+ {
+ delete *it;
+ }
+
+ uses.clear();
}
void ra_constraint::update_values() {
commit bebf672fc76cc306e95b98444066ea8299754704
Author: Derek Foreman <derekf@osg.samsung.com>
Date: Tue Jan 10 15:21:47 2017 -0600
egl/dri2: add image_loader_extension back into loader extensions for wayland
before commit f871946594129500a67c05a6d9fe99db54b4bb64
image_loader_extension was always present in dri2_dpy->extensions,
after that commit it is only present for render nodes.
Its removal broke partial render based on buffer age on (at least)
raspberry pi.
Fixes: f8719465941 "egl/dri2: rework dri2_egl_display::extensions storage"
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
(cherry picked from commit 534ea2b5ba0282a350dc02d21bfbc8ffa1f8635d)
diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c
index 5b72b4a..27baec3 100644
--- a/src/egl/drivers/dri2/platform_wayland.c
+++ b/src/egl/drivers/dri2/platform_wayland.c
@@ -1081,6 +1081,7 @@ static struct dri2_egl_display_vtbl dri2_wl_display_vtbl = {
static const __DRIextension *dri2_loader_extensions[] = {
&dri2_loader_extension.base,
+ &image_loader_extension.base,
&image_lookup_extension.base,
&use_invalidate.base,
NULL,
commit 1b0715f05f2885a84aafb0c6241f052e15c402fa
Author: Vinson Lee <vlee@freedesktop.org>
Date: Sun Nov 13 22:53:54 2016 -0800
util: Fix Clang trivial destructor check.
Check for Clang before GCC.
Clang defines __GNUC__ == 4 and __GNUC_MINOR__ == 2 and matches the GCC
check but not the GCC version for trivial destructor.
Fixes: 98ab905af0e0 ("mesa: Define introspection macro to determine
whether a type is trivially destructible.")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98526
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
(cherry picked from commit ed6694d5114e81cf1c413aec8265ddc8a5c52599)
diff --git a/src/util/macros.h b/src/util/macros.h
index 27d1b62..efb896f 100644
--- a/src/util/macros.h
+++ b/src/util/macros.h
@@ -167,12 +167,12 @@ do { \
* performs no action and all member variables and base classes are
* trivially destructible themselves.
*/
-# if defined(__GNUC__)
-# if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)))
+# if (defined(__clang__) && defined(__has_feature))
+# if __has_feature(has_trivial_destructor)
# define HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T)
# endif
-# elif (defined(__clang__) && defined(__has_feature))
-# if __has_feature(has_trivial_destructor)
+# elif defined(__GNUC__)
+# if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)))
# define HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T)
# endif
# endif
commit 06b96072c7ffed51854b6ca18bf74da61c2a6d43
Author: Vinson Lee <vlee@freedesktop.org>
Date: Mon Oct 24 16:33:01 2016 -0700
scons: Require libdrm >= 2.4.66 for DRM.
configure.ac already requires 2.4.66.
Fix SCons build. drmDevicePtr is not available until libdrm 2.4.65.
Compiling src/loader/loader.c ...
src/loader/loader.c:111:40: error: unknown type name ‘drmDevicePtr’
static char *drm_construct_id_path_tag(drmDevicePtr device)
^
Fixes: 4a183f4d06f8 ("scons: loader: use libdrm when available")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98421
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Vedran Miletić <vedran@miletic.net>
(cherry picked from commit f2770fb3d5e7a4a456f8f14726f72a1e37496419)
diff --git a/scons/gallium.py b/scons/gallium.py
index 9f7555c..dc7fdce 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -651,7 +651,7 @@ def generate(env):
env.PkgCheckModules('X11', ['x11', 'xext', 'xdamage', 'xfixes', 'glproto >= 1.4.13'])
env.PkgCheckModules('XCB', ['x11-xcb', 'xcb-glx >= 1.8.1', 'xcb-dri2 >= 1.8'])
env.PkgCheckModules('XF86VIDMODE', ['xxf86vm'])
- env.PkgCheckModules('DRM', ['libdrm >= 2.4.38'])
+ env.PkgCheckModules('DRM', ['libdrm >= 2.4.66'])
if env['x11']:
env.Append(CPPPATH = env['X11_CPPPATH'])
commit 2248d245090032fc8123d9e2be2da150ac295f76
Author: Emil Velikov <emil.velikov@collabora.com>
Date: Sat Feb 11 16:47:56 2017 +0000
bin/get-fixes-pick-list.sh: add new script
The script parses the "Fixes" tags and nominates respective commit if
applicable.
Cc: "13.0 17.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
(cherry picked from commit 389478c4e904f5d2c82485e56bdcb0195f1850d0)
diff --git a/bin/get-fixes-pick-list.sh b/bin/get-fixes-pick-list.sh
new file mode 100755
index 0000000..4ce9c92
--- /dev/null
+++ b/bin/get-fixes-pick-list.sh
@@ -0,0 +1,61 @@
+#!/bin/bash
+
+# Script for generating a list of candidates [referenced by a Fixes tag] for
+# cherry-picking to a stable branch
+#
+# Usage examples:
+#
+# $ bin/get-fixes-pick-list.sh
+# $ bin/get-fixes-pick-list.sh > picklist
+# $ bin/get-fixes-pick-list.sh | tee picklist
+
+# Use the last branchpoint as our limit for the search
+latest_branchpoint=`git merge-base origin/master HEAD`
+
+# List all the commits between day 1 and the branch point...
+git log --reverse --pretty=%H $latest_branchpoint > already_landed
+
+# ... and the ones cherry-picked.
+git log --reverse --grep="cherry picked from commit" $latest_branchpoint..HEAD |\
+ grep "cherry picked from commit" |\
+ sed -e 's/^[[:space:]]*(cherry picked from commit[[:space:]]*//' -e 's/)//' > already_picked
+
+# Grep for commits with Fixes tag
+git log --reverse --pretty=%H -i --grep="fixes:" $latest_branchpoint..origin/master |\
+while read sha
+do
+ # For each one try to extract the tag
+ fixes_count=`git show $sha | grep -i "fixes:" | wc -l`
+ if [ "x$fixes_count" != x1 ] ; then
+ echo WARNING: Commit $sha has nore than one Fixes tag
+ fi
+ fixes=`git show $sha | grep -i "fixes:" | head -n 1`
+ # The following sed/cut combination is borrowed from GregKH
+ id=`echo ${fixes} | sed -e 's/^[ \t]*//' | cut -f 2 -d ':' | sed -e 's/^[ \t]*//' | cut -f 1 -d ' '`
+
+ # Bail out if we cannot find suitable id.
+ # Any specific validation the $id is valid and not some junk, is
+ # implied with the follow up code
+ if [ "x$id" = x ] ; then
+ continue
+ fi
+
+ # Check if the offending commit is in branch.
+
+ # Be that cherry-picked ...
+ # ... or landed before the branchpoint.
+ if grep -q ^$id already_picked ||
+ grep -q ^$id already_landed ; then
+
+ # Finally nominate the fix if it hasn't landed yet.
+ if grep -q ^$sha already_picked ; then
+ continue
+ fi
+
+ echo Commit $sha fixes $id
+ fi
+
+done
+
+rm -f already_picked
+rm -f already_landed
commit 32cf2344c12a97c9d2531209c1b9ce1a641e6cf0
Author: Emil Velikov <emil.velikov@collabora.com>
Date: Mon Feb 13 01:37:55 2017 +0000
bin/get-pick-list.sh: remove ancient way of nominating patches
The old way of nominating patches [NOTE: .*[Cc]andidate] was
deprecated and has been unused for approx. 3 years.
Reply to: