Timo Aaltonen pushed to branch debian-unstable at X Strike Force / lib / mesa


Commits:
005fe7e0 by Juan A. Suarez Romero at 2018-11-21T09:12:24Z
cherry-ignore: add explicit 18.3 only nominations

Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com>

- - - - -
ef6dabbb by Karol Herbst at 2018-11-21T09:12:24Z
nir/spirv: cast shift operand to u32

v2: fix for specialization constants as well

Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net>
Cc: mesa-sta...@lists.freedesktop.org
Signed-off-by: Karol Herbst <kher...@redhat.com>
(cherry picked from commit b4380cb070c0865f1fbfb3720056545665759bc3)

- - - - -
7c866498 by Jason Ekstrand at 2018-11-21T09:12:24Z
nir/lower_alu_to_scalar: Don't try to lower unpack_32_2x16

It messes up when trying to lower.

Cc: mesa-sta...@lists.freedesktop.org
Reviewed-by: Samuel Iglesias Gonsálvez <sigles...@igalia.com>
(cherry picked from commit 4266932c0b301005dcc747fb6c2fef36a3af6ffe)

- - - - -
94161eed by Dylan Baker at 2018-11-21T09:12:24Z
meson: Don't set -Wall

meson does this for you with its warn levels, so we don't need to set
it ourselves.

Fixes: d1992255bb29054fa51763376d125183a9f602f3
       ("meson: Add build Intel "anv" vulkan driver")
Reviewed-by: Eric Engestrom <eric.engest...@intel.com>
(cherry picked from commit 9c2a95b29868f1388408b5eb9193fff39f942217)
[Juan A. Suarez: resolve trivial conflicts]
Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com>

Conflicts:
        meson.build

- - - - -
64f17d66 by Gert Wollny at 2018-11-21T09:12:24Z
mesa: Reference count shaders that are used by transform feedback objects

Transform feedback objects may hold a pointer to a shader program, and
at least in Gallium, this must be a valid pointer until
ctx->Driver.EndTransformFeedback in glEndTransformFeedback has been called
- which is conform with the spec that any program that is part of a
current rendering state should only be flagged for deletion by glDeleteProgram.
This was not handled properly for the transform feedback objects so that
a call sequence

  glUseProgram(x)
  glBeginTransformFreedback(...)
  glPauseTransformFeedback(...)
  glDeleteProgram(x)
  glEndTransformFeedback(...)

would result in a use after free bug. With this patch the transform
feedback object also updates the reference count to the used program
thereby keeping the program valid as long as the transform feedback
objects links to it.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108713
Fixes: 654587696b4234d09a6b471b70e9629cf2887c27
       mesa: add end_transform_feedback() helper

Signed-off-by: Gert Wollny <gert.wol...@collabora.com>
Reviewed-by: Emil Velikov <emil.veli...@collabora.com>
(cherry picked from commit caa964b422152788a95a1b248c884df8918a2bbd)

- - - - -
dad68bbd by Eric Engestrom at 2018-11-21T09:12:24Z
meson: only run vulkan's meson.build when building vulkan

Fixes: d1992255bb29054fa5176 "meson: Add build Intel "anv" 
vulkan driver"
Signed-off-by: Eric Engestrom <eric.engest...@intel.com>
Reviewed-by: Emil Velikov <emil.veli...@collabora.com>
Reviewed-by: Dylan Baker <dy...@pnwbakers.com>
(cherry picked from commit 3832db275efdb235b3b7b27c9b41e64d5507aa2c)

- - - - -
7a5bbce7 by Eric Engestrom at 2018-11-21T09:12:24Z
gbm: remove unnecessary meson include

`inc_wayland_drm` is only used if wayland is built, and it's already
added in that case a few lines below.

Fixes: a29869e8720b385d3692f "gbm: Don't traverse backwards for 
includes"
Signed-off-by: Eric Engestrom <eric.engest...@intel.com>
Reviewed-by: Emil Velikov <emil.veli...@collabora.com>
Reviewed-by: Dylan Baker <dy...@pnwbakers.com>
(cherry picked from commit 7df80de6e645ba8c20d97f5f2b1f6c12aa962e29)

- - - - -
21f97a6b by Eric Engestrom at 2018-11-21T09:12:24Z
meson: fix wayland-less builds

Those empty variables in the !wayland case are useless and running that
meson.build with them breaks the build:

  [287/850] Generating wayland-drm-client-protocol.h with a custom command.
  FAILED: src/egl/wayland/wayland-drm/wayland-drm-client-protocol.h
  client-header ../src/egl/wayland/wayland-drm/wayland-drm.xml 
src/egl/wayland/wayland-drm/wayland-drm-client-protocol.h
  /bin/sh: client-header: command not found
  ninja: build stopped: subcommand failed.

Fixes: d1992255bb29054fa5176 "meson: Add build Intel "anv" 
vulkan driver"
Signed-off-by: Eric Engestrom <eric.engest...@intel.com>
Reviewed-by: Emil Velikov <emil.veli...@collabora.com>
Reviewed-by: Dylan Baker <dy...@pnwbakers.com>
(cherry picked from commit 4fa2fb35245448f8b5d81fb5b37afec4f343f18a)
[Juan A. Suarez: resolve trivial conflicts]
Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com>

Conflicts:
        meson.build

- - - - -
83f1f651 by Eric Engestrom at 2018-11-21T09:12:24Z
egl: add missing glvnd entrypoint for EGL_ANDROID_blob_cache

Fixes dEQP-EGL.functional.get_proc_address.extension.egl_android_blob_cache
on builds with glvnd enabled.

Fixes: 6f5b57093b3462a54e9c7 "egl: add support for 
EGL_ANDROID_blob_cache"
Signed-off-by: Eric Engestrom <eric.engest...@intel.com>
Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>
Reviewed-by: Emil Velikov <emil.veli...@collabora.com>
(cherry picked from commit c9733649670243a1a6eb7ca2c376bd27960f8d8a)

Squashed with:

egl: fix bad rebase

I screwed up a rebase over a refactor and didn't notice locally because
the uncommitted refactor hid the issue.

Fixes: c9733649670243a1a6eb "egl: add missing glvnd entrypoint for 
EGL_ANDROID_blob_cache"
Signed-off-by: Eric Engestrom <eric.engest...@intel.com>
(cherry picked from commit 2b2f790e594cde3aa0d4dcebafc9a072651cd62a)

- - - - -
e1c97411 by Danylo Piliaiev at 2018-11-21T09:12:25Z
i965: Fix calculation of layers array length for isl_view

Handle all cases in calculation of layers count for isl_view
taking into account texture view and image unit.
st_convert_image was taken as a reference.

When u->Layered is true the whole level is taken with respect to
image view. In other case only one layer is taken.

v3: (Józef Kucia and Ilia Mirkin)
    - Rewrote patch by taking st_convert_image as a reference
    - Removed now unused get_image_num_layers function
    - Changed commit message

v4: (Jason Ekstrand)
    - Added assert

Fixes: 5a8c8903
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107856

Signed-off-by: Danylo Piliaiev <danylo.pilia...@globallogic.com>
Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net>
(cherry picked from commit f9fd0cf4790cb2a530e75d1a2206dbb9d8af7cb2)

- - - - -
03bcda39 by Eric Anholt at 2018-11-21T09:12:25Z
vc4: Make sure we make ro scanout resources for create_with_modifiers.

The DRI3 create_with_modifiers paths don't set tmpl.bind to SCANOUT or
SHARED, with the theory that given that you've got modifiers, that's all
you need.  However, we were looking at the tmpl.bind for setting up the
KMS handle in the renderonly case, so we'd end up trying to use vc4's
handle on the hx8357d fd.

Fixes: 84ed8b67c56b ("vc4: Set shareable BOs as T tiled if possible")
(cherry picked from commit cc0bc76a382f908b4412ee8ab7a8409766ecf16a)

- - - - -
4a7566e8 by Rodrigo Vivi at 2018-11-21T09:12:25Z
i965: Add a new CFL PCI ID.

One more CFL ID added to spec.

Align with kernel commit d0e062ebb3a4 ("drm/i915/cfl:
Add a new CFL PCI ID.")

Cc: José Roberto de Souza <jose.so...@intel.com>
Cc: Anuj Phogat <anuj.pho...@gmail.com>
Signed-off-by: Rodrigo Vivi <rodrigo.v...@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
(cherry picked from commit 44f1dcf9b3fd902fbb36a939b45469ed9f9264e6)

- - - - -
683d0a9e by Rodrigo Vivi at 2018-11-21T09:12:25Z
intel: aubinator: Adding missed platforms to the error message.

Many new platforms got added to gen_device_name_to_pci_device_id()
but the error message inside aubinator didn't reflected those
changes. So syncing on the same order to be sure that we are not
missing any now.

Cc: Anuj Phogat <anuj.pho...@gmail.com>
Cc: Matt Turner <matts...@gmail.com>
Cc: Jordan Justen <jordan.l.jus...@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.v...@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
(cherry picked from commit 886a048febcea2cd6e0e2cdaa2522bbf2b0f48ab)

- - - - -
a4a02d69 by Rodrigo Vivi at 2018-11-21T09:12:25Z
intel: Introducing Amber Lake platform

Amber Lake uses the same gen graphics as Kaby Lake, including a id
that were previously marked as reserved on Kaby Lake, but that
now is moved to AML page.

This follows the ids and approach used on kernel's commit
e364672477a1 ("drm/i915/aml: Introducing Amber Lake platform")

Reported-by: Timo Aaltonen <timo.aalto...@canonical.com>
Cc: José Roberto de Souza <jose.so...@intel.com>
Cc: Anuj Phogat <anuj.pho...@gmail.com>
Signed-off-by: Rodrigo Vivi <rodrigo.v...@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
(cherry picked from commit e8c42ed4abaca798ab218ede97eaac30fbb8bd8e)

- - - - -
3f65d182 by Rodrigo Vivi at 2018-11-21T09:12:25Z
intel: Introducing Whiskey Lake platform

Whiskey Lake uses the same gen graphics as Coffe Lake, including some
ids that were previously marked as reserved on Coffe Lake, but that
now are moved to WHL page.

This follows the ids and approach used on kernel's commit
b9be78531d27 ("drm/i915/whl: Introducing Whiskey Lake platform")
and commit c1c8f6fa731b ("drm/i915: Redefine some Whiskey Lake SKUs")

v2: Lionel noticed that GT{1,2,3} on kernel wasn't following
spec when looking to number of EUs, so kernel has been updated.

Cc: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Cc: José Roberto de Souza <jose.so...@intel.com>
Cc: Anuj Phogat <anuj.pho...@gmail.com>
Signed-off-by: Rodrigo Vivi <rodrigo.v...@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
(cherry picked from commit 24db1c7fcc43fb433af6bfe80af934c3775387f1)

- - - - -
f982ce6f by Kenneth Graunke at 2018-11-21T09:12:25Z
i965: Add PCI IDs for new Amberlake parts that are Coffeelake based

See commit c0c46ca461f136a0ae1ed69da6c874e850aeeb53 in the Linux kernel,
where José Roberto de Souza added this new PCI ID there.

Reviewed-by: Jordan Justen <jordan.l.jus...@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.v...@intel.com>
(cherry picked from commit 5bd836968172151d633675a5f9b4f8b646971a31)

- - - - -
4c2b1b65 by Emil Velikov at 2018-11-21T09:12:25Z
bin/get-pick-list.sh: simplify git oneline printing

Currently we force disable the pager via "|cat" where --no-pager
exists. Additionally we could use git show instead of git log -n1.

Use those for a slightly more understandable code.

Cc: mesa-sta...@lists.freedesktop.org
Reviewed-by: Juan A. Suarez <jasua...@igalia.com>
Reviewed-by: Eric Engestrom <eric.engest...@intel.com>
Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
(cherry picked from commit 559c32d2412b2ea602bb59aa61da75403d01a872)

- - - - -
1fb485ef by Emil Velikov at 2018-11-21T09:12:25Z
bin/get-pick-list.sh: prefix output with "[stable] "

With later commits we'll fold all the different scripts into one.
Add the explicit prefix, so that we know the origin of the nomination

v2:
 - pass the sha as argument to the function
 - swap $tag = none for an else statment (Juan)
 - grep -q instead of using a variable (Eric)
 - print the tag and commit oneline separately (Eric)

v3:
 - drop unused "tag=none" assignment (Juan)
 - typo nomination

Cc: mesa-sta...@lists.freedesktop.org
Reviewed-by: Juan A. Suarez <jasua...@igalia.com>
Reviewed-by: Eric Engestrom <eric.engest...@intel.com> (v2)
Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
(cherry picked from commit fac10169bbad2da918ef07a62c01e0b321508cfe)

- - - - -
f8128207 by Emil Velikov at 2018-11-21T09:12:25Z
bin/get-pick-list.sh: handle "typod" usecase.

As the comment in get-typod-pick-list.sh says, there's little point in
having a duplicate file.

Add the new pattern + tag to get-pick-list.sh and nuke this file.

v2:
 - pass the sha as argument to the function
 - grep -q instead of using a variable (Eric)

Cc: mesa-sta...@lists.freedesktop.org
Reviewed-by: Juan A. Suarez <jasua...@igalia.com>
Reviewed-by: Eric Engestrom <eric.engest...@intel.com>
Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
(cherry picked from commit e6b3a3b2014413366110f6deeced8095e7262b1d)

- - - - -
2e78038a by Emil Velikov at 2018-11-21T09:12:25Z
bin/get-pick-list.sh: handle the fixes tag

Having a separate script to handle the fixes tag, brings a number of
issues, so let's fold it in get-pick-list.sh.

v2:
 - pass the sha as argument to the function
 - Keep original sed pattern

Cc: mesa-sta...@lists.freedesktop.org
Reviewed-by: Juan A. Suarez <jasua...@igalia.com>
Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
(cherry picked from commit 181203f3c5e9c6b3e95e0b93ad3b22630c3c0437)

- - - - -
d4c31fd2 by Emil Velikov at 2018-11-21T09:12:25Z
bin/get-pick-list.sh: tweak the commit sha matching pattern

Currently we match on:
 - any arbitrary length of,
 - any a-z A-Z and 0-9 characters

At the same time, a commit sha consists of lowercase hexadecimal
numbers. Any sha shorter than 8 characters is ambiguous - in some cases
even 11+ are required.

So change the pattern to a-f0-9 and adjust the length to 8-40.

As we're here we could use a single grep, instead of the grep/sed combo.

Cc: mesa-sta...@lists.freedesktop.org
Reviewed-by: Juan A. Suarez <jasua...@igalia.com>
Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
(cherry picked from commit 533fead4236459c3f04700ff130ffaee1503cb69)

- - - - -
0508613b by Emil Velikov at 2018-11-21T09:12:25Z
bin/get-pick-list.sh: flesh out is_sha_nomination

Refactor is_fixes_nomination into a is_sha_nomination helper. This way
we can reuse it for more than the usual "Fixes:" tag.

Cc: mesa-sta...@lists.freedesktop.org
Reviewed-by: Juan A. Suarez <jasua...@igalia.com>
Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
(cherry picked from commit b7418d1f3f102aeed8d3d38195f9b7d672216df0)

- - - - -
ea94b3c8 by Emil Velikov at 2018-11-21T09:12:25Z
bin/get-pick-list.sh: handle fixes tag with missing colon

Every so often, we forget to add the colon after "fixes". Trivially
tweak the script to catch it.

Cc: mesa-sta...@lists.freedesktop.org
Reviewed-by: Juan A. Suarez <jasua...@igalia.com>
Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
(cherry picked from commit 209525aafb8314f827838dedeb771b72c256a4d3)

- - - - -
d9f7b434 by Emil Velikov at 2018-11-21T09:12:25Z
bin/get-pick-list.sh: handle unofficial "broken by" tag

We have a number of cases were devs will use a tag "broken by".
While it's not something officially documented or recommended, checking
for it is trivial enough.

Cc: mesa-sta...@lists.freedesktop.org
Reviewed-by: Juan A. Suarez <jasua...@igalia.com>
Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
(cherry picked from commit 77ff0bfb5f915bb841623ec181ee359a099f2c52)

- - - - -
b783bd1f by Emil Velikov at 2018-11-21T09:12:25Z
bin/get-pick-list.sh: use test instead of [ ]

Latter is rather picky wrt surrounding white space. The explicit `test`
doesn't have that problem, plus the statements read a bit easier.

Cc: mesa-sta...@lists.freedesktop.org
Reviewed-by: Juan A. Suarez <jasua...@igalia.com>
Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
(cherry picked from commit c0012a07088e86f6d30405d0522a0d72801e2ec7)

- - - - -
796299df by Emil Velikov at 2018-11-21T09:12:25Z
bin/get-pick-list.sh: handle reverts prior to the branchpoint

Currently we detect when a breaking commit:
 - has landed in stable, and
 - is referenced by a untagged fix in master

Yet we did not consider the case of breaking commit:
 - prior to the branchpoint, and
 - is referenced by a untagged fix in master

Addressing the latter is extremely slow, due to the size of the lookup.

That said, we can trivially use the existing is_sha_nomination() helper
to catch reverts.

Cc: mesa-sta...@lists.freedesktop.org
Reviewed-by: Juan A. Suarez <jasua...@igalia.com>
Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
(cherry picked from commit adbdfc6666052d604a97009d736b6dee957908a0)

- - - - -
222a646d by Dylan Baker at 2018-11-21T09:12:25Z
meson: Don't force libva to required from auto

We already correctly handle va being auto, but we force it to being
true, which is bad.

Fixes 94cf3970925ec87d913a1549a42cdb03713fc4bb
      ("meson: Fix auto option for va")
Reviewed-by: Eric Engestrom <eric.engest...@intel.com>

(cherry picked from commit 509ea4649a96a11e762490b87bbba960cf113967)

- - - - -
546c4b2d by Brian Paul at 2018-11-21T09:12:25Z
scons/svga: remove opt from the list of valid build types

This reverts commit a5fd54f8bf6713312fa5efd7ef5cd125557a0ffe.

The whole point was to add a way to pass -DVMX86_STATS to the build,
but we can do that with a command line argument when we invoke scons.

Reviewed-by: José Fonseca <jfons...@vmware.com>
(cherry picked from commit d6be0b5556ceb40a24b0a89ff86e909514d60a52)

- - - - -
842be2ed by Lionel Landwerlin at 2018-11-21T09:12:25Z
egl/dri: fix error value with unknown drm format

According to the EGL_EXT_image_dma_buf_import spec, creating an EGL
image with a DRM format not supported should yield the BAD_MATCH
error :

"
       * If <target> is EGL_LINUX_DMA_BUF_EXT, and the 
EGL_LINUX_DRM_FOURCC_EXT
         attribute is set to a format not supported by the EGL, EGL_BAD_MATCH
         is generated.
"

Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Fixes: 20de7f9f226401 ("egl/dri2: support for creating images out of dma 
buffers")
Reviewed-by: Emil Velikov <emil.veli...@collabora.com>
Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>
Reviewed-by: Eric Engestrom <eric.engest...@intel.com>
Reviewed-by: Chad Versace <chadvers...@chromium.org>
(cherry picked from commit 1c56d211563300e8b837378962dd455d45d7956e)

- - - - -
d8a456d0 by Juan A. Suarez Romero at 2018-11-21T09:12:25Z
cherry-ignore: intel/aub_viewer: fix dynamic state printing

extra: intel/aub_viewer is not present in branch

Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com>

- - - - -
5ac61c03 by Juan A. Suarez Romero at 2018-11-21T09:12:25Z
cherry-ignore: intel/aub_viewer: Print blend states properly

extra: intel/aub_viewer is not present in branch

Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com>

- - - - -
6ceeb848 by Emil Velikov at 2018-11-21T09:12:25Z
travis: drop unneeded x11proto-xf86vidmode-dev

The only place where the package is needed is for building the DRI
based libGL library.

Cc: mesa-sta...@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
Acked-by: Dylan Baker <dy...@pnwbakers.com>
Acked-by: Eric Engestrom <eric.engest...@intel.com>
(cherry picked from commit 84445a86d192c0d7f07bc25a84080458de764149)
[Juan A. Suarez: resolve trivial conflicts]
Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com>

Conflicts:
        .travis.yml

- - - - -
f05ce9dc by Emil Velikov at 2018-11-21T09:12:25Z
glx: make xf86vidmode mandatory for direct rendering

Currently we detect the module and if missing, the glXGetMsc* API is
effectively a stub, always returning false.

This is what effectively has been happening with our meson build :-(

Thus users have no chance of using it - they cannot even distinguish
if the failure is due to a misconfigured build.

There's no reason for keeping xf86vidmode optional - it has been
available in all distributions for years.

Cc: mesa-sta...@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
Acked-by: Dylan Baker <dy...@pnwbakers.com>
Reviewed-by: Eric Engestrom <eric.engest...@intel.com>
Fixes: a47c525f3281a2753180e "meson: build glx"
(cherry picked from commit 5bc509363b6dbc42af72668fe500b6aec988dbf0)

- - - - -
31ec3e28 by Emil Velikov at 2018-11-21T09:12:25Z
travis: adding missing x11-xcb for meson+vulkan

Required by the x11 WSI

Fixes: df82012b2cb ("travis: add meson build for vulkan drivers.")
Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
Reviewed-by: Dylan Baker <dy...@pnwbakers.com>
(cherry picked from commit 982e012b3ac924dab56b41c5407f722bd2a4c359)

- - - - -
66198a08 by Andrii Simiklit at 2018-11-21T09:12:25Z
i965/batch: avoid reverting batch buffer if saved state is an empty

There's no point reverting to the last saved point if that save point is
the empty batch, we will just repeat ourselves.

v2: Merge with new commits, changes was minimized, added the 'fixes' tag
v3: Added in to patch series
v4: Fixed the regression which was introduced by this patch
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108630
    Reported-by:  Mark Janes <mark.a.ja...@intel.com>
    The solution provided by: Jordan Justen <jordan.l.jus...@intel.com>

CC: Chris Wilson <ch...@chris-wilson.co.uk>
Fixes: 3faf56ffbdeb "intel: Add an interface for saving/restoring
                     the batchbuffer state."
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107626
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108630 (fixed in v4)
Signed-off-by: Andrii Simiklit <andrii.simik...@globallogic.com>
Reviewed-by: Jordan Justen <jordan.l.jus...@intel.com>
Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>
(cherry picked from commit b787dcf57b7298868ce9b6885a827d57a6127ba1)

- - - - -
c9e8fa6c by Gert Wollny at 2018-11-22T09:01:33Z
r600: clean up the GS ring buffers when the context is destroyed

This fixes two memory leaks reported by ASAN:

Direct leak of 248 byte(s) in 1 object(s) allocated from:
   in malloc (/usr/lib64/gcc/x86_64-pc-linux-gnu/7.3.0/libasan.so+0xdb880)
   in r600_alloc_buffer_struct 
../../samba/mesa/src/gallium/drivers/r600/r600_buffer_common.c:578
   in r600_buffer_create 
../../samba/mesa/src/gallium/drivers/r600/r600_buffer_common.c:600
   in r600_resource_create_common 
../../samba/mesa/src/gallium/drivers/r600/r600_pipe_common.c:1265
   in r600_resource_create 
../../samba/mesa/src/gallium/drivers/r600/r600_pipe.c:725
   in pipe_buffer_create 
../../samba/mesa/src/gallium/auxiliary/util/u_inlines.h:291
   in update_gs_block_state 
../../samba/mesa/src/gallium/drivers/r600/r600_state_common.c:1482

Direct leak of 248 byte(s) in 1 object(s) allocated from:
   in malloc (/usr/lib64/gcc/x86_64-pc-linux-gnu/7.3.0/libasan.so+0xdb880)
   in r600_alloc_buffer_struct 
../../samba/mesa/src/gallium/drivers/r600/r600_buffer_common.c:578
   in r600_buffer_create 
../../samba/mesa/src/gallium/drivers/r600/r600_buffer_common.c:600
   in r600_resource_create_common 
../../samba/mesa/src/gallium/drivers/r600/r600_pipe_common.c:1265
   in r600_resource_create 
../../samba/mesa/src/gallium/drivers/r600/r600_pipe.c:722
   in pipe_buffer_create 
../../samba/mesa/src/gallium/auxiliary/util/u_inlines.h:291
   in update_gs_block_state 
../../samba/mesa/src/gallium/drivers/r600/r600_state_common.c:1489

Signed-off-by: Gert Wollny <gert.wol...@collabora.com>
Fixes: 1371d65a7fbd695d3516861fe733685569d890d0
  r600g: initial support for geometry shaders on evergreen (v2)
Reviewed-by: Roland Scheidegger <srol...@vmware.com>
(cherry picked from commit 61b535437e2ea1115d6915fbd62d9b8745071525)

- - - - -
35379ec2 by Jason Ekstrand at 2018-11-23T09:24:38Z
anv: Put robust buffer access in the pipeline hash

It affects apply_pipeline_layout.  Shaders compiled with the wrong value
will work but they may not be robust as requested by the app.

Cc: mesa-sta...@lists.freedesktop.org
Reviewed-by: Iago Toral Quiroga <ito...@igalia.com>
(cherry picked from commit 617e402b3d1be185f200b1667540096d9a8b2aec)
[Juan A. Suarez: resolve trivial conflicts]
Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com>

Conflicts:
        src/intel/vulkan/anv_pipeline.c

- - - - -
841ae70a by Eric Engestrom at 2018-11-23T09:30:24Z
glapi: add missing visibility args

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108829
Fixes: 3218056e0eb375eeda470 "meson: Build i965 and dri stack"
Signed-off-by: Eric Engestrom <eric.engest...@intel.com>
Reviewed-by: Emil Velikov <emil.veli...@collabora.com>
(cherry picked from commit 896c59d690e38e92682f9bc509b5e3658aba5670)

- - - - -
bae84d6d by Marek Olšák at 2018-11-26T11:10:24Z
winsys/amdgpu: fix a buffer leak in amdgpu_bo_from_handle

Cc: 18.2 18.3 <mesa-sta...@lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl>
(cherry picked from commit 82aa07f81fcc5ed696eea16f48cec7e39c3cd3d1)

- - - - -
f79db2c0 by Marek Olšák at 2018-11-26T11:13:55Z
winsys/amdgpu: fix a device handle leak in amdgpu_winsys_create

Cc: 18.2 18.3 <mesa-sta...@lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl>
(cherry picked from commit d4e7d8b7f053db081a4ffdb59dc53f3531b0e60b)

- - - - -
8ff6cd65 by Bas Nieuwenhuizen at 2018-11-26T11:18:36Z
radv: Fix opaque metadata descriptor last layer.

We used the layer count which results in an off by one error.

Not sure this really affects anything.

Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan 
driver"
Reviewed-by: Dave Airlie <airl...@redhat.com>
(cherry picked from commit 3c96a1e3a97ba89dad803e7be8f9e3d4f6516fa3)

- - - - -
4fbc68be by Gert Wollny at 2018-11-26T11:22:16Z
glsl: free or reuse memory allocated for TF varying

When a shader program is de-serialized the gl_shader_program passed in
may actually still hold memory allocations for the transform feedback
varyings. If that is the case, free the varying names and reallocate
the new storage for the names array.

This fixes a memory leak:
Direct leak of 48 byte(s) in 6 object(s) allocated from:
 in malloc (/usr/lib64/gcc/x86_64-pc-linux-gnu/7.3.0/libasan.so+0xdb880)
 in transform_feedback_varyings 
../../samba/mesa/src/mesa/main/transformfeedback.c:875
 in _mesa_TransformFeedbackVaryings 
../../samba/mesa/src/mesa/main/transformfeedback.c:985
 ...
Indirect leak of 42 byte(s) in 6 object(s) allocated from:
  in __interceptor_strdup 
(/usr/lib64/gcc/x86_64-pc-linux-gnu/7.3.0/libasan.so+0x761c8)
  in transform_feedback_varyings 
../../samba/mesa/src/mesa/main/transformfeedback.c:887
  in _mesa_TransformFeedbackVaryings 
../../samba/mesa/src/mesa/main/transformfeedback.c:985

Fixes: ab2643e4b06f63c93a57624003679903442634a8
   glsl: serialize data from glTransformFeedbackVaryings

Signed-off-by: Gert Wollny <gert.wol...@collabora.com>
Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>
(cherry picked from commit f5d053702fa976a3112d9c6a2425430365db40f8)

- - - - -
fe4bf97a by Erik Faye-Lund at 2018-11-26T11:44:18Z
mesa/main: remove bogus error for zero-sized images

The explanation quotes the spec on the following wording to justify the
error:

"An INVALID_VALUE error is generated if xoffset + width is greater than
 the texture’s width, yoffset + height is greater than the  texture’s
 height, or zoffset + depth is greater than the texture’s depth."

However, this shouldn't generate an error in the case where *all three*
of width, xoffset and the texture's width are zero. In this case, we end
up generating an unspecified error.

So let's remove this check, and instead make sure that we consider this
as an empty texture.

So let's not generate an error, there's non mandated in the spec in
xoffset/yoffset/zoffset = 0 case. We already avoid doing any work in
this case, because of the final, non-error generating check in this
function.

Fixes: b37b35a5d26 "getteximage: assume texture image is empty for non 
defined levels"
Signed-off-by: Erik Faye-Lund <erik.faye-l...@collabora.com>
Reviewed-by: Juan A. Suarez <jasua...@igalia.com>
(cherry picked from commit 38bbb61252aa503571986080afddd98a56bcf2e7)

- - - - -
54f36ed1 by Juan A. Suarez Romero at 2018-11-26T12:01:26Z
cherry-ignore: mesa/main: fix incorrect depth-error

fixes: This commit requires commits 854202f70e6 and 84bc5738401 which
did not land in branch.

Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com>

- - - - -
474690cf by Juan A. Suarez Romero at 2018-11-28T17:37:11Z
docs: add sha256 checksums for 18.2.5

Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com>

- - - - -
cbbe3b0a by Juan A. Suarez Romero at 2018-11-28T17:38:40Z
Update version to 18.2.6

Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com>

- - - - -
3e741344 by Juan A. Suarez Romero at 2018-11-28T17:39:26Z
docs: add release notes for 18.2.6

Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com>

- - - - -
90b53aab by Timo Aaltonen at 2018-11-28T18:55:35Z
Merge branch 'upstream-unstable' into debian-unstable

- - - - -
0a4e5ea9 by Timo Aaltonen at 2018-11-28T20:27:47Z
bump the version

- - - - -
be784a75 by Timo Aaltonen at 2018-11-28T20:58:33Z
release to unstable

- - - - -


30 changed files:

- .travis.yml
- VERSION
- bin/.cherry-ignore
- − bin/get-fixes-pick-list.sh
- bin/get-pick-list.sh
- − bin/get-typod-pick-list.sh
- common.py
- configure.ac
- debian/changelog
- docs/relnotes/18.2.5.html
- + docs/relnotes/18.2.6.html
- include/pci_ids/i965_pci_ids.h
- meson.build
- scons/gallium.py
- src/amd/vulkan/radv_image.c
- src/compiler/glsl/serialize.cpp
- src/compiler/nir/nir_lower_alu_to_scalar.c
- src/compiler/spirv/spirv_to_nir.c
- src/compiler/spirv/vtn_alu.c
- src/egl/drivers/dri2/egl_dri2.c
- src/egl/generate/eglFunctionList.py
- src/gallium/drivers/r600/r600_pipe.c
- src/gallium/drivers/svga/svga_screen.c
- src/gallium/drivers/vc4/vc4_resource.c
- src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
- src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
- src/gbm/meson.build
- src/glx/Makefile.am
- src/glx/SConscript
- src/glx/glxcmds.c


The diff was not included because it is too large.


View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/compare/e2a047032d78ec9679dd37836a56cfe9670b5d59...be784a757ea716b5e1c7cbeb54158a6d4aa8407e

-- 
View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/compare/e2a047032d78ec9679dd37836a56cfe9670b5d59...be784a757ea716b5e1c7cbeb54158a6d4aa8407e
You're receiving this email because of your account on salsa.debian.org.

Reply via email to