Bug#840813: mark xorg-docs-core Multi-Arch: foreign

2017-10-03 Thread Manuel A. Fernandez Montecelo

Hi Julien,

2017-10-01 22:50 Julien Cristau:

On Fri, Sep 29, 2017 at 00:21:59 +0200, Manuel A. Fernandez Montecelo wrote:


I uploaded to delayed/15, but if you want me to cancel or if it's OK to
change it to happen sooner, please let me know.


FWIW I don't think any of these changes are worth an upload.  They're
probably not worth removing your upload either, except if they're not in
git they'll be lost the next time somebody touches this.  So please
either cancel the NMU or provide a git tree we can pull from.


Thanks for taking a look and providing feedback.

I agree that the changes are not very important in general from the
point of view of the package.

However, they are somehwat important for cross-building and rebootstrap,
and to bring up new architectures, and since the last update was a
couple of years ago, maybe we'll go for a few months/years without
updates...


Anyway, I attach the individual patches that can be applied, if you want
me to provide the git tree I'll try to look tomorrow with more calm.


Cheers.
--
Manuel A. Fernandez Montecelo 

>From 10c5fac7492a25bdd3aba50d60235848793d1829 Mon Sep 17 00:00:00 2001
From: Helmut Grohne 
Date: Fri, 29 Sep 2017 00:02:40 +0200
Subject: [PATCH 1/3] Mark all packages Multi-Arch: foreign. (Closes: #840813)

---
 debian/changelog | 6 +-
 debian/control   | 2 ++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b2259cf..9c05a1b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,11 @@
-xorg-docs (1:1.7.1-2) UNRELEASED; urgency=medium
+xorg-docs (1:1.7.1-1.1) UNRELEASED; urgency=medium
 
+  [ Julien Cristau ]
   * Switch xorg.freedesktop.org URLs in packaging to https.
 
+  [ Helmut Grohne ]
+  * Mark all packages Multi-Arch: foreign. (Closes: #840813)
+
  -- Julien Cristau   Sun, 21 Aug 2016 19:36:18 +0200
 
 xorg-docs (1:1.7.1-1) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index fda9339..cbf99f3 100644
--- a/debian/control
+++ b/debian/control
@@ -24,6 +24,7 @@ Architecture: all
 Depends: ${misc:Depends}
 Suggests: xorg-docs
 Replaces: xorg-docs ( << 1:1.4-5 )
+Multi-Arch: foreign
 Description: Core documentation for the X.org X Window System
  This package contains core documentation for the X.org X Window
  System. This currently includes only a set of manpages which are
@@ -34,6 +35,7 @@ Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Conflicts: xprt-xprintorg (<= 1:0.1.0.alpha1-10)
 Replaces: xspecs (<= 1:1.2+git20061105-2), xprt-xprintorg (<= 1:0.1.0.alpha1-10)
+Multi-Arch: foreign
 Description: Miscellaneous documentation for the X.org X Window System
  This package contains various documents on the X.org X Window System
  including the release notes for the current version and instructions on
-- 
2.14.2

>From 250144605906f534b621b0951b62fd71971ea4b9 Mon Sep 17 00:00:00 2001
From: "Manuel A. Fernandez Montecelo" 
Date: Fri, 29 Sep 2017 00:04:39 +0200
Subject: [PATCH 2/3] Remove d/xorg-docs.links (Closes: #858469)

/usr/share/X11/doc was broken for years (the file was last modified
in 2010) without anybody complaining, so rather than fixing the
destination it's probably better to just remove this legacy bit
---
 debian/changelog   | 8 
 debian/xorg-docs.links | 1 -
 2 files changed, 8 insertions(+), 1 deletion(-)
 delete mode 100644 debian/xorg-docs.links

diff --git a/debian/changelog b/debian/changelog
index 9c05a1b..56c4de5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,13 @@
 xorg-docs (1:1.7.1-1.1) UNRELEASED; urgency=medium
 
+  * Non-maintainer upload.
+
+  [ Manuel A. Fernandez Montecelo ]
+  * Remove d/xorg-docs.links (Closes: #858469)
+- /usr/share/X11/doc was broken for years (the file was last modified
+  in 2010) without anybody complaining, so rather than fixing the
+  destination it's probably better to just remove this legacy bit
+
   [ Julien Cristau ]
   * Switch xorg.freedesktop.org URLs in packaging to https.
 
diff --git a/debian/xorg-docs.links b/debian/xorg-docs.links
deleted file mode 100644
index fe2c93c..000
--- a/debian/xorg-docs.links
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/doc/xorg-docs/docs usr/share/X11/doc
-- 
2.14.2

>From d1d5cfd3eb4ee3ac2596b3728e99347f6354fd3b Mon Sep 17 00:00:00 2001
From: "Manuel A. Fernandez Montecelo" 
Date: Fri, 29 Sep 2017 00:05:38 +0200
Subject: [PATCH 3/3] Release to unstable

---
 debian/changelog | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 56c4de5..cb2f04a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-xorg-docs (1:1.7.1-1.1) UNRELEASED; urgency=medium
+xorg-docs (1:1.7.1-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
 
@@ -14,7 +14,7 @@ xorg-docs (1:1.7.1-1.1) UNRELEASED; urgency=medium
   [ Helmut Grohne ]
   * Mark all packages Multi-Arch: foreign. (Closes: #840813)
 
- -- Julien Cristau   Sun, 21 Aug 2016 19:36:18 +0

Bug#877628: xterm -hold slow after end of command

2017-10-03 Thread Arnaud Giersch
Package: xterm
Version: 327-2
Severity: normal
Tags: patch

Dear Maintainer,

When running with option "-hold", xterm is printing lines slowly if
the command terminates immediately.

For example:
$ xterm -hold -e "ls -l /usr/bin"
runs slowly, while
$ xterm -hold -e "ls -l /usr/bin ; read"
runs at normal speed.

The culprit seems to be the following lines, around line 559 in misc.c.
Without them xterm runs normally.

/*
 * With NetBSD, closing a shell results in closing the X input event
 * stream, which interferes with the "-hold" option.  Wait a short time in
 * this case, to avoid max'ing the CPU.
 */
if (hold_screen && caught_intr && !found) {
Sleep(10);
}

Regards,
Arnaud Giersch

-- System Information:
Debian Release: 9.1
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'stable-debug'), (500, 'proposed-updates'), (500, 'stable'), (50, 'unstable'), 
(40, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xterm depends on:
ii  libc6   2.24-11+deb9u1
ii  libfontconfig1  2.11.0-6.7+b1
ii  libice6 2:1.0.9-2
ii  libtinfo5   6.0+20161126-1+deb9u1
ii  libutempter01.1.6-3
ii  libx11-62:1.6.4-3
ii  libxaw7 2:1.0.13-1+b2
ii  libxft2 2.3.2-1+b2
ii  libxinerama12:1.1.3-1+b3
ii  libxmu6 2:1.1.2-2
ii  libxpm4 1:3.5.12-1
ii  libxt6  1:1.1.5-1
ii  xbitmaps1.1.1-2

Versions of packages xterm recommends:
ii  x11-utils  7.7+3+b1

Versions of packages xterm suggests:
pn  xfonts-cyrillic  

-- debconf-show failed



Bug#868453: xorg log flooded by dbus messages

2017-10-03 Thread Ivan Shmakov
> Ivan Shmakov  writes:
> Trek  writes:

 >> Version: 2:1.16.4-1+deb8u1+b1

 >> with the latest update, the dbus dependency is gone and the error
 >> message is no more printed to the log

 > I’m observing the same issue on Stretch (2:1.19.2-1+deb9u1.)

[…]

Any progress on this one?

(I guess it’s the same bug as [1], reported over a year ago.)

[1] https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1562610
Bug #1562610 “/var/log/Xorg.0.log gets flooded with “(EE) dbus-…” 

Curiously, while the Debian changelog indicates that
libdbus-1-dev became a build dependency back in 2:1.3.99.0-1
(2007), I don’t recall ever observing this specific issue.

Sure, it’s only 191 octets every 10 seconds, but in a month,
that easily becomes over 40 MiB:

-rw-r--r-- 1 root root 44581359 Oct  3 13:33 /var/log/Xorg.1.0.log 
14757  4672 tty11Ssl+ 355988 32540 Wed Sep  6 10:20:46 2017 /usr/lib/xorg…

As a workaround, I was able to use the simplistic Perl server
MIMEd that accepts connections on the socket, receives a single
“message,” and closes the connection.  As it seems, it’s enough
for the library to consider it a “success” and stop complaining.

-- 
FSF associate member #7257  http://am-1.org/~ivan/7D17 4A59 6A21 3D97 6DDB
#!/usr/bin/perl
### nodbus.perl  -*- Perl -*-
## Listen on the D-Bus socket; accept, discard, and close.

### Ivan Shmakov, 2017

## To the extent possible under law, the author(s) have dedicated
## all copyright and related and neighboring rights to this software
## to the public domain worldwide.  This software is distributed
## without any warranty.

## You should have received a copy of the CC0 Public Domain Dedication
## along with this software.  If not, see
## .

### Code:

use common::sense;
use English qw (-no_match_vars);

require Socket;

my $socket_filename
= ($ARGV[0] // "/run/dbus/system_bus_socket");
socket (SERVER, &Socket::AF_UNIX, &Socket::SOCK_STREAM, &Socket::PF_UNSPEC)
and bind (SERVER, Socket::sockaddr_un ($socket_filename))
or die ("Server: ", $!);

listen (SERVER, 5)
or die ("listen: ", $!);

$SIG{"CHLD"}
= "IGNORE";

while (accept (CLIENT, SERVER)) {
my $pid
	= fork ();
die ("fork: ", $!)
	unless (defined ($pid));
if ($pid == 0) {
	binmode (CLIENT);

	my $s;
	recv (CLIENT, $s, 65536, 0)
	or die ("recv: ", $!);

	exit (0);
}

close (CLIENT);
}

### nodbus.perl ends here


mesa: Changes to 'upstream-unstable'

2017-10-03 Thread Timo Aaltonen
 .travis.yml  |   15 
 Makefile.am  |1 
 VERSION  |2 
 bin/.cherry-ignore   |   12 
 configure.ac |   13 
 docs/relnotes/17.2.1.html|3 
 docs/relnotes/17.2.2.html|  202 

 scons/llvm.py|   21 
 src/amd/addrlib/core/addrobject.cpp  |8 
 src/amd/common/ac_llvm_build.c   |   53 ++
 src/amd/common/ac_llvm_build.h   |   14 
 src/amd/common/ac_nir_to_llvm.c  |   11 
 src/amd/common/ac_surface.c  |   11 
 src/amd/vulkan/radv_cmd_buffer.c |5 
 src/amd/vulkan/radv_pipeline.c   |1 
 src/amd/vulkan/radv_query.c  |4 
 src/compiler/glsl/linker.cpp |   23 
 src/egl/drivers/dri2/egl_dri2.c  |   12 
 src/egl/drivers/dri2/egl_dri2_fallbacks.h|9 
 src/egl/drivers/dri2/platform_x11.c  |1 
 src/gallium/drivers/etnaviv/etnaviv_clear_blit.c |2 
 src/gallium/drivers/radeonsi/si_shader.c |   20 
 src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c|  136 +
 src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c  |2 
 src/gallium/drivers/radeonsi/si_state.c  |2 
 src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py |8 
 src/gallium/drivers/vc4/vc4_bufmgr.c |   10 
 src/gallium/drivers/vc4/vc4_context.h|7 
 src/gallium/drivers/vc4/vc4_draw.c   |   65 +-
 src/gallium/drivers/vc4/vc4_job.c|9 
 src/gallium/drivers/vc4/vc4_program.c|   21 
 src/gallium/drivers/vc4/vc4_resource.c   |   15 
 src/gallium/drivers/vc4/vc4_resource.h   |   14 
 src/gallium/drivers/vc4/vc4_state.c  |   34 -
 src/gallium/drivers/vc4/vc4_uniforms.c   |2 
 src/gallium/state_trackers/va/postproc.c |   14 
 src/intel/compiler/brw_vec4_nir.cpp  |   12 
 src/intel/compiler/brw_vec4_surface_builder.cpp  |   13 
 src/intel/vulkan/anv_descriptor_set.c|2 
 src/intel/vulkan/gen8_cmd_buffer.c   |4 
 src/mesa/drivers/dri/i965/brw_blorp.c|6 
 src/mesa/drivers/dri/nouveau/nouveau_gldefs.h|   19 
 src/mesa/drivers/dri/nouveau/nv20_state_tex.c|   16 
 src/mesa/main/context.c  |2 
 src/mesa/state_tracker/st_glsl_to_tgsi.cpp   |   16 
 src/util/Makefile.am |4 
 src/util/u_atomic.c  |   14 
 src/vulkan/wsi/wsi_common_wayland.c  |  249 
+-
 48 files changed, 864 insertions(+), 275 deletions(-)

New commits:
commit bc12538a8e79113b733381ffdc0f6c89d59d0a50
Author: Juan A. Suarez Romero 
Date:   Mon Oct 2 17:26:10 2017 +0200

docs: add release notes for 17.2.2

Signed-off-by: Juan A. Suarez Romero 

diff --git a/docs/relnotes/17.2.2.html b/docs/relnotes/17.2.2.html
new file mode 100644
index 000..90f972a
--- /dev/null
+++ b/docs/relnotes/17.2.2.html
@@ -0,0 +1,202 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+  
+  Mesa Release Notes
+  
+
+
+
+
+  The Mesa 3D Graphics Library
+
+
+
+
+
+Mesa 17.2.2 Release Notes / October 2, 2017
+
+
+Mesa 17.2.2 is a bug fix release which fixes bugs found since the 17.2.1 
release.
+
+
+Mesa 17.2.2 implements the OpenGL 4.5 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.5.  OpenGL
+4.5 is only available if requested at context creation
+because compatibility contexts are not supported.
+
+
+
+SHA256 checksums
+
+TBD
+
+
+
+New features
+None
+
+
+Bug fixes
+
+
+
+https://bugs.freedesktop.org/show_bug.cgi?id=102573";>Bug 
102573 - fails to build on armel
+
+https://bugs.freedesktop.org/show_bug.cgi?id=102844";>Bug 
102844 - memory leak with glDeleteProgram for shader program type 
GL_COMPUTE

mesa: Changes to 'debian-unstable'

2017-10-03 Thread Timo Aaltonen
 .travis.yml  |   15 
 Makefile.am  |1 
 VERSION  |2 
 bin/.cherry-ignore   |   12 
 debian/changelog |6 
 docs/relnotes/17.2.1.html|3 
 docs/relnotes/17.2.2.html|  202 

 scons/llvm.py|   21 
 src/amd/addrlib/core/addrobject.cpp  |8 
 src/amd/common/ac_llvm_build.c   |   53 ++
 src/amd/common/ac_llvm_build.h   |   14 
 src/amd/common/ac_nir_to_llvm.c  |   11 
 src/amd/common/ac_surface.c  |   11 
 src/amd/vulkan/radv_cmd_buffer.c |5 
 src/amd/vulkan/radv_pipeline.c   |1 
 src/amd/vulkan/radv_query.c  |4 
 src/compiler/glsl/linker.cpp |   23 
 src/egl/drivers/dri2/egl_dri2.c  |   12 
 src/egl/drivers/dri2/egl_dri2_fallbacks.h|9 
 src/egl/drivers/dri2/platform_x11.c  |1 
 src/gallium/drivers/etnaviv/etnaviv_clear_blit.c |2 
 src/gallium/drivers/radeonsi/si_shader.c |   20 
 src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c|  136 +
 src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c  |2 
 src/gallium/drivers/radeonsi/si_state.c  |2 
 src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py |8 
 src/gallium/drivers/vc4/vc4_bufmgr.c |   10 
 src/gallium/drivers/vc4/vc4_context.h|7 
 src/gallium/drivers/vc4/vc4_draw.c   |   65 +-
 src/gallium/drivers/vc4/vc4_job.c|9 
 src/gallium/drivers/vc4/vc4_program.c|   21 
 src/gallium/drivers/vc4/vc4_resource.c   |   15 
 src/gallium/drivers/vc4/vc4_resource.h   |   14 
 src/gallium/drivers/vc4/vc4_state.c  |   34 -
 src/gallium/drivers/vc4/vc4_uniforms.c   |2 
 src/gallium/state_trackers/va/postproc.c |   14 
 src/intel/compiler/brw_vec4_nir.cpp  |   12 
 src/intel/compiler/brw_vec4_surface_builder.cpp  |   13 
 src/intel/vulkan/anv_descriptor_set.c|2 
 src/intel/vulkan/gen8_cmd_buffer.c   |4 
 src/mesa/drivers/dri/i965/brw_blorp.c|6 
 src/mesa/drivers/dri/nouveau/nouveau_gldefs.h|   19 
 src/mesa/drivers/dri/nouveau/nv20_state_tex.c|   16 
 src/mesa/main/context.c  |2 
 src/mesa/state_tracker/st_glsl_to_tgsi.cpp   |   16 
 src/util/Makefile.am |1 
 src/util/u_atomic.c  |   14 
 src/vulkan/wsi/wsi_common_wayland.c  |  249 
+-
 48 files changed, 855 insertions(+), 274 deletions(-)

New commits:
commit 626c647233326f891d6f53d1e762f37f3b173a33
Author: Timo Aaltonen 
Date:   Tue Oct 3 14:21:07 2017 +0300

release to unstable

diff --git a/debian/changelog b/debian/changelog
index f9428c8..1334132 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,8 @@
-mesa (17.2.2-1) UNRELEASED; urgency=medium
+mesa (17.2.2-1) unstable; urgency=medium
 
   * New upstream bugfix release.
 
- -- Timo Aaltonen   Tue, 03 Oct 2017 09:49:19 +0300
+ -- Timo Aaltonen   Tue, 03 Oct 2017 14:20:47 +0300
 
 mesa (17.2.1-2) unstable; urgency=medium
 

commit 4ea780eb114c9c846245959a33cebc529004a137
Author: Timo Aaltonen 
Date:   Tue Oct 3 09:50:01 2017 +0300

update changelog

diff --git a/debian/changelog b/debian/changelog
index 2b2e85e..f9428c8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mesa (17.2.2-1) UNRELEASED; urgency=medium
+
+  * New upstream bugfix release.
+
+ -- Timo Aaltonen   Tue, 03 Oct 2017 09:49:19 +0300
+
 mesa (17.2.1-2) unstable; urgency=medium
 
   * Cherry-pick 2ef7f23820a (configure: check if -latomic is needed for

commit bc12538a8e79113b733381ffdc0f6c89d59d0a50
Author: Juan A. Suarez Romero 
Date:   Mon Oct 2 17:26:10 2017 +0200

docs: add release notes for 17.2.2

Signed-off-by: Juan A. Suarez Romero 

diff --git a/docs/relnotes/17.2.2.html b/docs/relnotes/17.2.2.

mesa: Changes to 'refs/tags/mesa-17.2.2-1'

2017-10-03 Thread Timo Aaltonen
Tag 'mesa-17.2.2-1' created by Timo Aaltonen  at 
2017-10-03 12:49 +

Tagging upload of mesa 17.2.2-1 to unstable.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAABCAAGBQJZ04c9AAoJEMtwMWWoiYTcB6cQAIawOZAGRC7f5IyPs0TKU1Jh
l+TtKHBc8jpYNKBiW3RFT4h3t58RVhY/KR1YA9J/jSWIc7LlwCMXVjc3v1VJ2zQ+
xEcZrjH/TqAE+lDzAYvOmJk6dlbIY4DSg1NqZmiTKCN28DvNbP42bd2bFmelJC39
cuFVKUEX0toftqbnLLrIahAOgYxAk1nXALlDUA/OGwpcTrQdO5RKBr7abofAQfFY
R8FN5cF8A7xu1//n+w5zt+jyu6LwBFUaTJXe/k+HMnQRbUeLhEja82btHXjkoG8P
W6TkO8TeMyjB3ju5bthnVeCYlPVTi9oe5jKXCRMnDwK/j78pKC3nvHHSyWnhs9tG
/gqmCirV9Ys8E/9c5ITAVXorSfL1No7alCHnp8Hgh46iYEK8IVToekyV5qiIAd1m
DDgloLVRCpXIs3zG/Cs/rdbKbScnMdqQddzsUNu1wxsXYiUphwr3KjIwN1riVJ10
0an9tDP42tGLqef+BGLvDcb00T8oSMC38qVo8eSOi7SUwh+bJnTFUaE+HQbrEhhS
1zPwZtJiLwvh/mPswHTiUbK4MtxnkfKMuKTuo0hiWeYcM0tQxi4BEjShv7D6h27Z
wEmC+nvUWUHheYgXQtvRvBCcGM/Sri4AGtqFrBI+OTa2/fkr0sP0mh6/i+3LVUQ2
oCkUwOn91P3vpnL2C1UM
=EBFs
-END PGP SIGNATURE-

Changes since mesa-17.2.1-2:
Alexandru-Liviu Prodea (1):
  Scons: Add LLVM 5.0 support

Bas Nieuwenhuizen (1):
  radv: Check for GFX9 for 1D arrays in image_size intrinsic.

Boris Brezillon (1):
  broadcom/vc4: Fix infinite retry in vc4_bo_alloc()

Dave Airlie (3):
  radv/nir: call opt_remove_phis after trivial continues.
  ac/surface: handle S8 on gfx9
  st/glsl->tgsi: fix u64 to bool comparisons.

David Airlie (1):
  radv: add gfx9 scissor workaround

Emil Velikov (2):
  docs: add sha256 checksums for 17.2.1
  automake: enable libunwind in `make distcheck'

Eric Anholt (4):
  broadcom/vc4: Fix use-after-free for flushing when writing to a texture.
  broadcom/vc4: Fix use-after-free trying to mix a quad and tile clear.
  broadcom/vc4: Fix use-after-free when deleting a program.
  broadcom/vc4: Keep pipe_sampler_view->texture matching the original 
texture.

Gert Wollny (2):
  travis: force llvm-3.3 for "make Gallium ST Other"
  travis: Add libunwind-dev to gallium/make builds

Grazvydas Ignotas (1):
  configure: check if -latomic is needed for __atomic_*

Ian Romanick (1):
  nv20: Fix GL_CLAMP

Jason Ekstrand (6):
  i965/blorp: Set r8stencil_needs_update when writing stencil
  vulkan/wsi/wayland: Stop printing out the DRM device
  vulkan/wsi/wayland: Refactor wsi_wl_display code
  vulkan/wsi/wayland: Stop caching Wayland displays
  vulkan/wsi/wayland: Copy wl_proxy objects from oldSwapchain if available
  vulkan/wsi/wayland: Return better error messages

Juan A. Suarez Romero (5):
  cherry-ignore: add "radeonsi/gfx9: proper workaround for LS/HS VGPR 
initialization bug"
  cherry-ignore: add "radv: Check for GFX9 for 1D arrays in image_size 
intrinsic."
  cherry-ignore: add "radv: copy the number of viewports/scissors at 
pipeline bind time"
  Update version to 17.2.2
  docs: add release notes for 17.2.2

Józef Kucia (1):
  anv: Fix descriptors copying

Kenneth Graunke (2):
  i965/vec4: Actually handle atomic op intrinsics.
  i965/vec4: Fix swizzles on atomic sources.

Leo Liu (1):
  st/va/postproc: use video original size for postprocessing

Lucas Stach (1):
  etnaviv: fix 16bpp clears

Matt Turner (2):
  util: Link libmesautil into u_atomic_test
  util/u_atomic: Add implementation of __sync_val_compare_and_swap_8

Nicolai Hähnle (9):
  radeonsi: workaround for gather4 on integer cube maps
  amd/common: round cube array slice in ac_prepare_cube_coords
  amd/common: add workaround for cube map array layer clamping
  glsl/linker: fix output variable overlap check
  radeonsi: fix array textures layer coordinate
  radeonsi: set MIP_POINT_PRECLAMP to 0
  amd/addrlib: fix missing va_end() after va_copy()
  amd/common: move ac_build_phi from radeonsi
  radeonsi: fix a regression in integer cube map handling

Samuel Iglesias Gonsálvez (1):
  anv: fix viewport transformation for z component

Samuel Pitoiset (1):
  radv: fix saved compute state when doing statistics/occlusion queries

Tapani Pälli (1):
  mesa: free current ComputeProgram state in _mesa_free_context_data

Tim Rowley (1):
  swr/rast: remove llvm fence/atomics from generated files

Timo Aaltonen (3):
  Merge branch 'upstream-unstable' into debian-unstable
  update changelog
  release to unstable

Tomasz Figa (1):
  egl/dri2: Implement swapInterval fallback in a conformant way

---
 .travis.yml  |   15 
 Makefile.am  |1 
 VERSION  |2 
 bin/.cherry-ignore   |   12 
 debian/changelog |6 
 docs/relnotes/17.2.1.html|3 
 docs/relnotes/17.2.2.html|  202 

 scons/llvm.py   

mesa_17.2.2-1_source.changes ACCEPTED into unstable

2017-10-03 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Tue, 03 Oct 2017 14:20:47 +0300
Source: mesa
Binary: libxatracker2 libxatracker-dev libgbm1 libgbm-dev libegl-mesa0 
libegl1-mesa libegl1-mesa-dev libwayland-egl1-mesa libgles2-mesa 
libgles2-mesa-dev libglapi-mesa libglx-mesa0 libgl1-mesa-glx libgl1-mesa-dri 
libgl1-mesa-dev mesa-common-dev libosmesa6 libosmesa6-dev mesa-va-drivers 
mesa-vdpau-drivers mesa-vulkan-drivers mesa-opencl-icd
Architecture: source
Version: 17.2.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force 
Changed-By: Timo Aaltonen 
Description:
 libegl-mesa0 - free implementation of the EGL API -- Mesa vendor library
 libegl1-mesa - transitional dummy package
 libegl1-mesa-dev - free implementation of the EGL API -- development files
 libgbm-dev - generic buffer management API -- development files
 libgbm1- generic buffer management API -- runtime
 libgl1-mesa-dev - free implementation of the OpenGL API -- GLX development 
files
 libgl1-mesa-dri - free implementation of the OpenGL API -- DRI modules
 libgl1-mesa-glx - transitional dummy package
 libglapi-mesa - free implementation of the GL API -- shared library
 libgles2-mesa - transitional dummy package
 libgles2-mesa-dev - free implementation of the OpenGL|ES 2.x API -- 
development files
 libglx-mesa0 - free implementation of the OpenGL API -- GLX vendor library
 libosmesa6 - Mesa Off-screen rendering extension
 libosmesa6-dev - Mesa Off-screen rendering extension -- development files
 libwayland-egl1-mesa - implementation of the Wayland EGL platform -- runtime
 libxatracker-dev - X acceleration library -- development files
 libxatracker2 - X acceleration library -- runtime
 mesa-common-dev - Developer documentation for Mesa
 mesa-opencl-icd - free implementation of the OpenCL API -- ICD runtime
 mesa-va-drivers - Mesa VA-API video acceleration drivers
 mesa-vdpau-drivers - Mesa VDPAU video acceleration drivers
 mesa-vulkan-drivers - Mesa Vulkan graphics drivers
Changes:
 mesa (17.2.2-1) unstable; urgency=medium
 .
   * New upstream bugfix release.
Checksums-Sha1:
 790d5d374a8d510a07a559330e3b857633c6c03e 4869 mesa_17.2.2-1.dsc
 39d30bc3981df0b1159b6970580bca0eae18a3c4 17738038 mesa_17.2.2.orig.tar.gz
 19f9669f7161fbbff441bb51d4b19b4973dfbe11 117449 mesa_17.2.2-1.diff.gz
Checksums-Sha256:
 358c4c5109c4e884e4aa3c74187c8af45f813712d219c957cd4584e77d52d4b5 4869 
mesa_17.2.2-1.dsc
 8242256f3243ed3f35184ed7bf0a9070439ccdf477a3bd9cfd2437c0b2f9bc7f 17738038 
mesa_17.2.2.orig.tar.gz
 28b71db4eb938cb5b8145eb3d61d1f7b1e61ae2d8c1ccfdf8d696b0737aee187 117449 
mesa_17.2.2-1.diff.gz
Files:
 f6c5f8079fabed18508ebc9055848d09 4869 graphics optional mesa_17.2.2-1.dsc
 3baeca70767fc96b6924af3fc90fb856 17738038 graphics optional 
mesa_17.2.2.orig.tar.gz
 a4d5aacfbd988c27f0e9bed11a7a07d4 117449 graphics optional mesa_17.2.2-1.diff.gz

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBCAAGBQJZ03KrAAoJEMtwMWWoiYTcoEwP/REWI6t15NxrdakSUk1pbpJP
rtJZIjLFWpcM30aiTcpPfjLKfJoji98lkkZqCFdGN6jcTfcuzQnF6U0Ov8y63ssD
Wof4mYlj/3Mu3rV8bvQRVIJ47BeZRfDGfeJShIkQ5yv4eOEO1Dj2HmePv5DpN10r
SkZXhvxSfQOcMUlYMt38jxtgZn4nmIpxk8Pcdf8jeYAoumqtjr6tC2TFKCdgwN3W
b8/28ItG8GCHFpLrwsRZYmj73lysEYCd7PEcjLlgjlV+DgJmycRSUWivon+DUY6z
LMfuhmzKXmFvtsf8vZeHFyXkoZaD8TPZhGo3odauEB1Pwyb1CcIys+DKv0nV7C62
QacdN9Lx6WdX6d8jFgeDKkXFOvQk80HgvlqqvG5X0hpRdg1A5T8F2eJaZpPLih9d
Ws0SkwgC9CnGgSeelpc4cqbEjwBI+RXQe/yIbkDg1sYm9es2zl0gm+7rja5s10S2
OC3r3KmbOjydrffNhAlIz2ybfJVppp/YuhYAmk8BmyAn0FO35CqLhWygi9i0vHvg
jF+BpnStpUW3AhLGCU2aDHoNvAHDDyRABoma96JouI5H41RffnRa1kakvjlyrg4F
5XtdLHMvBz8Afqn1+6UsBXdxsKJIcl30QUKKD/qaTXnxvKc4EkZOGb5Coa5yg1Zv
LtVckwoIyUsZW7oBBQjI
=uzlX
-END PGP SIGNATURE-


Thank you for your contribution to Debian.



Processing of mesa_17.2.2-1_source.changes

2017-10-03 Thread Debian FTP Masters
mesa_17.2.2-1_source.changes uploaded successfully to localhost
along with the files:
  mesa_17.2.2-1.dsc
  mesa_17.2.2.orig.tar.gz
  mesa_17.2.2-1.diff.gz

Greetings,

Your Debian queue daemon (running on host usper.debian.org)



libdrm_2.4.83-1_source.changes ACCEPTED into unstable

2017-10-03 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Tue, 03 Oct 2017 11:15:26 +0300
Source: libdrm
Binary: libdrm-dev libdrm2 libdrm-common libdrm2-udeb libdrm-intel1 
libdrm-nouveau2 libdrm-radeon1 libdrm-omap1 libdrm-freedreno1 libdrm-exynos1 
libdrm-tegra0 libdrm-amdgpu1 libdrm-etnaviv1
Architecture: source
Version: 2.4.83-1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force 
Changed-By: Timo Aaltonen 
Description:
 libdrm-amdgpu1 - Userspace interface to amdgpu-specific kernel DRM services -- 
run
 libdrm-common - Userspace interface to kernel DRM services -- common files
 libdrm-dev - Userspace interface to kernel DRM services -- development files
 libdrm-etnaviv1 - Userspace interface to etnaviv-specific kernel DRM services 
-- ru
 libdrm-exynos1 - Userspace interface to exynos-specific kernel DRM services -- 
run
 libdrm-freedreno1 - Userspace interface to msm/kgsl kernel DRM services -- 
runtime
 libdrm-intel1 - Userspace interface to intel-specific kernel DRM services -- 
runt
 libdrm-nouveau2 - Userspace interface to nouveau-specific kernel DRM services 
-- ru
 libdrm-omap1 - Userspace interface to omap-specific kernel DRM services -- 
runti
 libdrm-radeon1 - Userspace interface to radeon-specific kernel DRM services -- 
run
 libdrm-tegra0 - Userspace interface to tegra-specific kernel DRM services -- 
runt
 libdrm2- Userspace interface to kernel DRM services -- runtime
 libdrm2-udeb - Userspace interface to kernel DRM services -- runtime (udeb)
Changes:
 libdrm (2.4.83-1) unstable; urgency=medium
 .
   * New upstream release.
Checksums-Sha1:
 c003498189a908830bea5cc3aaaccd80f1993828 2989 libdrm_2.4.83-1.dsc
 b80228d235805e46f0d8e62ab1f7231ebd2fd67e 1056627 libdrm_2.4.83.orig.tar.gz
 6658a3944751642ee75463716ffdb9f358b742b9 51402 libdrm_2.4.83-1.diff.gz
Checksums-Sha256:
 42b2d68f65b65871e6ae57969bc7b30e8a69caca170027b6df6073d504851df9 2989 
libdrm_2.4.83-1.dsc
 2ff5f626a14ec5bd680f7769cac9a8eb1e40c36cf5ca554d2c4e5d91bab3d81d 1056627 
libdrm_2.4.83.orig.tar.gz
 915a0164cb5f671223cc8be94b87c64bcc680f9b2631ce5a8b750091287522ed 51402 
libdrm_2.4.83-1.diff.gz
Files:
 554040babd15b5bba1bf595a54113bb2 2989 libs optional libdrm_2.4.83-1.dsc
 d6debc2bde08a0bfff61fe848d760f6d 1056627 libs optional 
libdrm_2.4.83.orig.tar.gz
 007395032f5b34548bded0fb05890f89 51402 libs optional libdrm_2.4.83-1.diff.gz

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBCAAGBQJZ00cvAAoJEMtwMWWoiYTconIP+wWGSKvsKPN3ZGARYJWAkLdn
3nGCqnRPGJSaJ4kvUUBmv6WVxFHFscd/3pLLiNlg6MGiI2Yp3YLXrya+9FlfZ2Cl
7mYe4WQq5swdxSWyvYdU9REzIupeMqugPwZy4a2W1rEeuAsFJSSRGt8YmaZasagr
rQgL0erx1wI3/wWiZonGb30XhNxB/RG7NT9/mRKdtmm8sqrKGHENUAFi0krT9V6Y
LQ0DCtgViULupVGC0wHOKBUXKj00MW6JIaB9Y7cJXHMnqh4fy58DDJCegKaKjCmi
kJ7Wx0/7KXcSKzAn8vhPl1ZFvVB3HnOdVKmkBkRXYURZprIqYv2FyA0fHNMIhqeV
NLe7PyJPrgcW2z/NiKGrH9iykULqR9s8MYqDtnpgFUmYTlvH444zdy+HXAv9grr+
6rAJvL4du76lMLG+UjUGuRuH8c72Zxy9hhTiGFEvOfaeA/QoqLo8VnDijC/iuv0h
4G6uQrvBYd+SzEu/AMhYxz/n6YPW/2JDwu48mLkU7dK7GPBpME+84LeGTN4/6qlc
+GFoME5HKzgZZVqfmEd58m0yBKwChKTX55ElWobIqgzzwLOCkqQyiuysnYHYp8hi
bcAhJQ8+K4rMcGA/+LlPccU0VlbDuqSEXC37TN2sdkHDaAaiNOh+m0f+H1eKRvmk
z8p6+cYgIQzlYZTJCY0w
=xiJW
-END PGP SIGNATURE-


Thank you for your contribution to Debian.



Processing of libdrm_2.4.83-1_source.changes

2017-10-03 Thread Debian FTP Masters
libdrm_2.4.83-1_source.changes uploaded successfully to localhost
along with the files:
  libdrm_2.4.83-1.dsc
  libdrm_2.4.83.orig.tar.gz
  libdrm_2.4.83-1.diff.gz

Greetings,

Your Debian queue daemon (running on host usper.debian.org)



libdrm: Changes to 'debian-unstable'

2017-10-03 Thread Timo Aaltonen
 amdgpu/Android.mk  |6 
 amdgpu/amdgpu_bo.c |   58 ++--
 amdgpu/amdgpu_internal.h   |   24 -
 configure.ac   |2 
 data/Android.mk|9 
 data/amdgpu.ids|1 
 debian/changelog   |6 
 etnaviv/etnaviv_bo.c   |2 
 freedreno/freedreno_bo.c   |1 
 freedreno/freedreno_pipe.c |   10 
 freedreno/msm/msm_ringbuffer.c |8 
 include/drm/drm_fourcc.h   |   31 ++
 include/drm/drm_mode.h |   50 +++
 radeon/radeon_surface.c|1 
 tests/amdgpu/Makefile.am   |1 
 tests/amdgpu/amdgpu_test.c |6 
 tests/amdgpu/amdgpu_test.h |   15 +
 tests/amdgpu/basic_tests.c |  270 ++---
 tests/amdgpu/cs_tests.c|   44 ++-
 tests/amdgpu/frame.h   |2 
 tests/amdgpu/uvd_enc_tests.c   |  500 ++
 tests/amdgpu/uve_ib.h  |  527 +
 tests/amdgpu/vce_tests.c   |   44 ++-
 tests/drmsl.c  |   28 +-
 xf86drm.c  |6 
 25 files changed, 1464 insertions(+), 188 deletions(-)

New commits:
commit f099b599fc13620a6774b1fc358bc5f2adb953e4
Author: Timo Aaltonen 
Date:   Tue Oct 3 11:15:37 2017 +0300

release to sid

diff --git a/debian/changelog b/debian/changelog
index cc110bc..5e18d58 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libdrm (2.4.83-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Timo Aaltonen   Tue, 03 Oct 2017 11:15:26 +0300
+
 libdrm (2.4.82-1) unstable; urgency=medium
 
   * New upstream release.

commit f19dbb79fe54994ecd505ac67ad15d19f591933a
Author: Daniel Stone 
Date:   Thu Aug 24 12:31:30 2017 +0100

configure.ac: Bump version to 2.4.83

diff --git a/configure.ac b/configure.ac
index 5a7b1f8..f847a66 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@
 
 AC_PREREQ([2.63])
 AC_INIT([libdrm],
-[2.4.82],
+[2.4.83],
 [https://bugs.freedesktop.org/enter_bug.cgi?product=DRI],
 [libdrm])
 

commit 99d3f8253cff617af4662c48ba737bf6e10e146e
Author: Philipp Zabel 
Date:   Mon Aug 21 14:41:11 2017 +0200

etnaviv: fix etna_bo_from_name

Look up BOs from the name table using the name parameter instead of
req.handle (which at this point is always zero).

Signed-off-by: Philipp Zabel 
Reviewed-by: Eric Engestrom 
Reviewed-by: Christian Gmeiner 
Reviewed-by: Wladimir J. van der Laan 
Reviewed-by: Daniel Stone 

diff --git a/etnaviv/etnaviv_bo.c b/etnaviv/etnaviv_bo.c
index 4ad0434..4fe877f 100644
--- a/etnaviv/etnaviv_bo.c
+++ b/etnaviv/etnaviv_bo.c
@@ -173,7 +173,7 @@ struct etna_bo *etna_bo_from_name(struct etna_device *dev, 
uint32_t name)
pthread_mutex_lock(&table_lock);
 
/* check name table first, to see if bo is already open: */
-   bo = lookup_bo(dev->name_table, req.handle);
+   bo = lookup_bo(dev->name_table, name);
if (bo)
goto out_unlock;
 

commit a0531e76f68e5f69cdc149d7cbff4ba299352dfe
Author: Chih-Wei Huang 
Date:   Thu Jul 27 16:20:52 2017 +0800

android: amdgpu: fix build break

Define two macros to avoid building errors.

Fixes: 7e6bf88cac (amdgpu: move asic id table to a separate file)

Signed-off-by: Chih-Wei Huang 

diff --git a/amdgpu/Android.mk b/amdgpu/Android.mk
index bf0611b..88d3765 100644
--- a/amdgpu/Android.mk
+++ b/amdgpu/Android.mk
@@ -10,5 +10,11 @@ LOCAL_SHARED_LIBRARIES := libdrm
 
 LOCAL_SRC_FILES := $(LIBDRM_AMDGPU_FILES)
 
+LOCAL_CFLAGS := \
+   -DAMDGPU_ASIC_ID_TABLE=\"/system/etc/hwdata/amdgpu.ids\" \
+   -DAMDGPU_ASIC_ID_TABLE_NUM_ENTRIES=$(shell egrep -ci 
'^[0-9a-f]{4},.*[0-9a-f]+,' $(LIBDRM_TOP)/data/amdgpu.ids)
+
+LOCAL_REQUIRED_MODULES := amdgpu.ids
+
 include $(LIBDRM_COMMON_MK)
 include $(BUILD_SHARED_LIBRARY)

commit e5ce5c6807a85187dd9cede54e9144f3bcc3ee47
Author: Chih-Wei Huang 
Date:   Thu Jul 27 16:20:51 2017 +0800

android: add rules to build amdgpu.ids

Signed-off-by: Chih-Wei Huang 

diff --git a/data/Android.mk b/data/Android.mk
new file mode 100644
index 000..3c1fd7c
--- /dev/null
+++ b/data/Android.mk
@@ -0,0 +1,9 @@
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := amdgpu.ids
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := ETC
+LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/hwdata
+LOCAL_SRC_FILES := $(LOCAL_MODULE)
+include $(BUILD_PREBUILT)

commit 20138ea997e4e2eadd43846c114a7891688d653d
Author: Jan Vesely 
Date:   Fri Jul 28 10:23:22 2017 -0400

drmsltest: Check expected neighbours

Fixes: 7d8c9464081634f053e16e5eac9655a12fae1dc4
Signed-off-by: Jan Vesely 
Reviewed-by: Emil Velikov 

diff --git a/tests/drmsl.c b/tests/drmsl.c
index d0ac0ef..d1b59a8 100644
--- a/tests/drmsl.c
+++ b/tests/drmsl.c
@@ -106,7 +106,9 @@ static double do_time(int size, int iter)
 return usec;
 }
 
-static void pr

libdrm: Changes to 'upstream-unstable'

2017-10-03 Thread Timo Aaltonen
 amdgpu/Android.mk  |6 
 amdgpu/amdgpu_bo.c |   58 ++--
 amdgpu/amdgpu_internal.h   |   24 -
 configure.ac   |2 
 data/Android.mk|9 
 data/amdgpu.ids|1 
 etnaviv/etnaviv_bo.c   |2 
 freedreno/freedreno_bo.c   |1 
 freedreno/freedreno_pipe.c |   10 
 freedreno/msm/msm_ringbuffer.c |8 
 include/drm/drm_fourcc.h   |   31 ++
 include/drm/drm_mode.h |   50 +++
 radeon/radeon_surface.c|1 
 tests/amdgpu/Makefile.am   |1 
 tests/amdgpu/amdgpu_test.c |6 
 tests/amdgpu/amdgpu_test.h |   15 +
 tests/amdgpu/basic_tests.c |  270 ++---
 tests/amdgpu/cs_tests.c|   44 ++-
 tests/amdgpu/frame.h   |2 
 tests/amdgpu/uvd_enc_tests.c   |  500 ++
 tests/amdgpu/uve_ib.h  |  527 +
 tests/amdgpu/vce_tests.c   |   44 ++-
 tests/drmsl.c  |   28 +-
 xf86drm.c  |6 
 24 files changed, 1458 insertions(+), 188 deletions(-)

New commits:
commit f19dbb79fe54994ecd505ac67ad15d19f591933a
Author: Daniel Stone 
Date:   Thu Aug 24 12:31:30 2017 +0100

configure.ac: Bump version to 2.4.83

diff --git a/configure.ac b/configure.ac
index 5a7b1f8..f847a66 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@
 
 AC_PREREQ([2.63])
 AC_INIT([libdrm],
-[2.4.82],
+[2.4.83],
 [https://bugs.freedesktop.org/enter_bug.cgi?product=DRI],
 [libdrm])
 

commit 99d3f8253cff617af4662c48ba737bf6e10e146e
Author: Philipp Zabel 
Date:   Mon Aug 21 14:41:11 2017 +0200

etnaviv: fix etna_bo_from_name

Look up BOs from the name table using the name parameter instead of
req.handle (which at this point is always zero).

Signed-off-by: Philipp Zabel 
Reviewed-by: Eric Engestrom 
Reviewed-by: Christian Gmeiner 
Reviewed-by: Wladimir J. van der Laan 
Reviewed-by: Daniel Stone 

diff --git a/etnaviv/etnaviv_bo.c b/etnaviv/etnaviv_bo.c
index 4ad0434..4fe877f 100644
--- a/etnaviv/etnaviv_bo.c
+++ b/etnaviv/etnaviv_bo.c
@@ -173,7 +173,7 @@ struct etna_bo *etna_bo_from_name(struct etna_device *dev, 
uint32_t name)
pthread_mutex_lock(&table_lock);
 
/* check name table first, to see if bo is already open: */
-   bo = lookup_bo(dev->name_table, req.handle);
+   bo = lookup_bo(dev->name_table, name);
if (bo)
goto out_unlock;
 

commit a0531e76f68e5f69cdc149d7cbff4ba299352dfe
Author: Chih-Wei Huang 
Date:   Thu Jul 27 16:20:52 2017 +0800

android: amdgpu: fix build break

Define two macros to avoid building errors.

Fixes: 7e6bf88cac (amdgpu: move asic id table to a separate file)

Signed-off-by: Chih-Wei Huang 

diff --git a/amdgpu/Android.mk b/amdgpu/Android.mk
index bf0611b..88d3765 100644
--- a/amdgpu/Android.mk
+++ b/amdgpu/Android.mk
@@ -10,5 +10,11 @@ LOCAL_SHARED_LIBRARIES := libdrm
 
 LOCAL_SRC_FILES := $(LIBDRM_AMDGPU_FILES)
 
+LOCAL_CFLAGS := \
+   -DAMDGPU_ASIC_ID_TABLE=\"/system/etc/hwdata/amdgpu.ids\" \
+   -DAMDGPU_ASIC_ID_TABLE_NUM_ENTRIES=$(shell egrep -ci 
'^[0-9a-f]{4},.*[0-9a-f]+,' $(LIBDRM_TOP)/data/amdgpu.ids)
+
+LOCAL_REQUIRED_MODULES := amdgpu.ids
+
 include $(LIBDRM_COMMON_MK)
 include $(BUILD_SHARED_LIBRARY)

commit e5ce5c6807a85187dd9cede54e9144f3bcc3ee47
Author: Chih-Wei Huang 
Date:   Thu Jul 27 16:20:51 2017 +0800

android: add rules to build amdgpu.ids

Signed-off-by: Chih-Wei Huang 

diff --git a/data/Android.mk b/data/Android.mk
new file mode 100644
index 000..3c1fd7c
--- /dev/null
+++ b/data/Android.mk
@@ -0,0 +1,9 @@
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := amdgpu.ids
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := ETC
+LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/hwdata
+LOCAL_SRC_FILES := $(LOCAL_MODULE)
+include $(BUILD_PREBUILT)

commit 20138ea997e4e2eadd43846c114a7891688d653d
Author: Jan Vesely 
Date:   Fri Jul 28 10:23:22 2017 -0400

drmsltest: Check expected neighbours

Fixes: 7d8c9464081634f053e16e5eac9655a12fae1dc4
Signed-off-by: Jan Vesely 
Reviewed-by: Emil Velikov 

diff --git a/tests/drmsl.c b/tests/drmsl.c
index d0ac0ef..d1b59a8 100644
--- a/tests/drmsl.c
+++ b/tests/drmsl.c
@@ -106,7 +106,9 @@ static double do_time(int size, int iter)
 return usec;
 }
 
-static void print_neighbors(void *list, unsigned long key)
+static void print_neighbors(void *list, unsigned long key,
+unsigned long expected_prev,
+unsigned long expected_next)
 {
 unsigned long prev_key = 0;
 unsigned long next_key = 0;
@@ -119,6 +121,16 @@ static void print_neighbors(void *list, unsigned long key)
  &next_key, &next_value);
 printf("Neighbors of %5lu: %d %5lu %5lu\n",
   key, retval, prev_key, nex

libdrm: Changes to 'refs/tags/libdrm-2.4.83-1'

2017-10-03 Thread Timo Aaltonen
Tag 'libdrm-2.4.83-1' created by Timo Aaltonen  at 
2017-10-03 08:15 +

Tagging upload of libdrm 2.4.83-1 to unstable.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAABCAAGBQJZ00csAAoJEMtwMWWoiYTcLTkP+gL0DTdHVGI2ezS2jWY7S7d0
leEb5YAzvR63dz1HjEQ3ZWqWECHMXg75+zeQ6nycKYra5OckB7F7Ieu72GhRci93
43+oBwVpRShGn9TLzQGqiZQJD4qKuKrAL6y2+j/NQytFAYYGOL0R+Cc9rJLES1Zs
cAWkFs29csPp0CjHqnjtn9EVAoI8Agbz+NgbCxiz8xZ4zTLkI6TCJsrRSNBohMYw
d8RFO7sGBOFhwexO5TM5jnfReoZQ3KvMsla30aiOxb3CePzG3SQ1sWvg1vb944R2
2H+xE6Kp/8owMWJ4LEQspKHVMxC41u0oaEpPqrWKOPHXHrRZCBsFUyOLI8c80Fpv
cuEkU+Whq9oL3hrO9byTNc6AGc+PalOic+ScIp1TAEIdwPCc56pyRbndjEyKFEH+
pAxYB2wiFhw1MQCcsMBuE1xY2Iko4YfWLQgEkpg0Wzq6iZHTjtzQUnuF2kZwrECW
+iI+4FG8FZpaKvLhhhzAQRCRGD0T4gEVbvQZQ/gs56vEQz0JKtp/MHTu9ZkeDGCJ
2GxZLVT/LlAvrVuJDWaWCFD6OjEBG6cOMKmjOxAk01Yi+idp54bV/OQGh85lCQa2
kbI/eZG9t1XJt3vpL7CfQ8YWURxv5CACl2zgSEYwDdlBMe3krmH4hbtp4TM+4R2u
+ureLbK0aYwj77EpU3Cl
=pUhe
-END PGP SIGNATURE-

Changes since libdrm-2.4.82-1:
Boyuan Zhang (1):
  tests/amdgpu: add uvd encode unit tests

Chih-Wei Huang (2):
  android: add rules to build amdgpu.ids
  android: amdgpu: fix build break

Daniel Stone (1):
  configure.ac: Bump version to 2.4.83

Emil Velikov (1):
  xf86drm: continue with next device if drmProcessUsbDevice fails

Eric Engestrom (4):
  radeon: add fallthrough annotation
  freedreno: remove dead error path
  freedreno/msm: remove dead error path
  freedreno: prevent deadlock in error path

Flora Cui (1):
  test/amdgpu: fix test failure for SI

Gurchetan Singh (1):
  xf86drm: continue after drmProcessPlatformDevice failure

Hawking Zhang (2):
  tests/amdgpu: bypass UVD CS tests on raven
  tests/amdgpu: bypass VCE tests on raven

Jan Vesely (2):
  amdgpu: Add FX-9800P Bristol Ridge iGPU id
  drmsltest: Check expected neighbours

Jason Ekstrand (1):
  drm: Pull new modifier uapi into drm_fourcc and drm_mode

Monk Liu (3):
  amdgpu: fix missing mutex unlock before return
  amdgpu: fix race issue between two bo functions(v2)
  amdgpu: merge and cleanup amdgpu_bo_free

Philipp Zabel (1):
  etnaviv: fix etna_bo_from_name

Timo Aaltonen (2):
  Merge branch 'upstream-unstable' into debian-unstable
  release to sid

---
 amdgpu/Android.mk  |6 
 amdgpu/amdgpu_bo.c |   58 ++--
 amdgpu/amdgpu_internal.h   |   24 -
 configure.ac   |2 
 data/Android.mk|9 
 data/amdgpu.ids|1 
 debian/changelog   |6 
 etnaviv/etnaviv_bo.c   |2 
 freedreno/freedreno_bo.c   |1 
 freedreno/freedreno_pipe.c |   10 
 freedreno/msm/msm_ringbuffer.c |8 
 include/drm/drm_fourcc.h   |   31 ++
 include/drm/drm_mode.h |   50 +++
 radeon/radeon_surface.c|1 
 tests/amdgpu/Makefile.am   |1 
 tests/amdgpu/amdgpu_test.c |6 
 tests/amdgpu/amdgpu_test.h |   15 +
 tests/amdgpu/basic_tests.c |  270 ++---
 tests/amdgpu/cs_tests.c|   44 ++-
 tests/amdgpu/frame.h   |2 
 tests/amdgpu/uvd_enc_tests.c   |  500 ++
 tests/amdgpu/uve_ib.h  |  527 +
 tests/amdgpu/vce_tests.c   |   44 ++-
 tests/drmsl.c  |   28 +-
 xf86drm.c  |6 
 25 files changed, 1464 insertions(+), 188 deletions(-)
---