Mesa (17.1): 27 new commits

Emil Velikov evelikov at kemper.freedesktop.org
Mon Jun 19 11:17:09 UTC 2017


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f60875e211388e299724063af40c01738cc5d819
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Mon Jun 19 12:13:25 2017 +0100

    docs: add release notes for 17.1.3
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ab872d64a49cd9f92d3c0803038ba5bd817ebb7
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Mon Jun 19 12:10:00 2017 +0100

    Update version to 17.1.3
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9bc4ee1c8e0ae9775ff357630e20df68424070cf
Author: Chuck Atkins <chuck.atkins at kitware.com>
Date:   Thu Jun 8 13:11:32 2017 -0400

    configure.ac: Reduce zlib requirement from 1.2.8 to 1.2.3.
    
    Testing with zlib versions 1.2.{3,4,5,6,7,8} showed no difference in
    functionality, correctness, or zlib API usage and 1.2.3 is the oldest
    version available in still actively deployed production Linux
    distributions (RHEL/CentOS 6 and SuSE 11).
    
    Build 17.1.1 against the system supplied zlib-devel packages for 1.2.3
    in EL6 and 1.2.7 on EL7. I then swapped out the zlib version at runtime
    via LD_LIBRARY_PATH with ones build from the release tarballs from
    zlib.net
    
    Testwise - I ran the piglit shader profile with --quick addded to the
    tests since I figured that would exercise the shader cache, which would
    in turn use zlib.
    
    Signed-off-by: Chuck Atkins <chuck.atkins at kitware.com>
    Cc: 17.1 <mesa-stable at lists.freedesktop.org>
    Cc: Timothy Arceri <tarceri at itsqueeze.com>
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    [Emil Velikov: add hunk about version/piglit testing]
    Acked-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit ad69b037b1ca38390fad440189541e49b3f48f14)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b708c2961e1eb1fec3e7380bd35c50d64a9f76f7
Author: Nicolas Dechesne <nicolas.dechesne at linaro.org>
Date:   Thu Jun 1 12:13:18 2017 +0200

    util/rand_xor: add missing include statements
    
    Fixes for:
    
    src/util/rand_xor.c:60:13: error: implicit declaration of function 'open' [-Werror=implicit-function-declaration]
        int fd = open("/dev/urandom", O_RDONLY);
                 ^~~~
    src/util/rand_xor.c:60:34: error: 'O_RDONLY' undeclared (first use in this function)
        int fd = open("/dev/urandom", O_RDONLY);
                                      ^~~~~~~~
    
    Signed-off-by: Nicolas Dechesne <nicolas.dechesne at linaro.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
    (cherry picked from commit adadadc151fa8232ecd78649a10496661b98e40d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=538975fdf8c2224d286599905fc9b5566fff092b
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Jun 12 00:45:36 2017 +0100

    glsl/lower_distance: only set max_array_access for 1D clip dist arrays
    
    The max_array_access field applies to the first dimension, which means
    we only want to set it for the 1D clip dist arrays.
    
    This fixes an ir_validate assert seen with
    KHR-GL44.cull_distance.functional
    on nouveau and radeon with debug builds.
    
    Fixes: a08c4ebbe (glsl: rewrite clip/cull distance lowering pass)
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Tested-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit 53587b7105aaf10ecf7e5dcb8ed63265af688738)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3734a7de6c6daca154db448cad8723bd16e4943d
Author: Grazvydas Ignotas <notasas at gmail.com>
Date:   Sun Jun 11 16:46:17 2017 +0300

    radv: fix trace dumping for !use_ib_bos
    
    Fixes trace dumping crash for SI or when RADV_DEBUG=noibs is set.
    
    Fixes: 97dfff5410 "radv: Dump command buffer on hang."
    Signed-off-by: Grazvydas Ignotas <notasas at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    (cherry picked from commit fae3b139055f32c4d076c170726393995be96d1b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=423dab9d324e774c807403549c8e67d826af7bd4
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Jun 9 02:11:29 2017 +0100

    radv: set fmask state to all 0s when no fmask. (v2)
    
    The shader reads the descriptor to decide if it should take the
    fmask value, however we weren't initing it always, which meant
    random crap, esp with MSAA depth textures.
    
    Fixes random hangs with:
    dEQP-VK.glsl.builtin_var.fragdepth.*
    
    v2: check fmask_state is not NULL
    
    Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit 51553c0beaeb91b1f2cb3292ac55573309b1d86f)
    [Emil Velikov: resolve trivial conflicts]
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    
    Conflicts:
    	src/amd/vulkan/radv_image.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=18fd7249c515634bfe23fcf468239add5d5f4cc9
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Tue Jun 6 22:03:49 2017 +0200

    radv: Remove SI num RB override for occlusion queries.
    
    radeonsi doesn't have it anymore either.
    
    Signed-off-by: Bas Nieuwenhuizen <basni at google.com>
    Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit 59c2e2a061736a981819c3cb217e92e1509d9852)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f66de22af451cf9d834ff251888c91590443f238
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date:   Tue May 16 17:05:02 2017 +0200

    radv: fewer than 8 RBs are possible
    
    This fixes the subsequent assertion on Bonaire.
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit 388d36dfd180bc16b9d2803d9a213aa5e5ee011f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8bd7d8c042e4b19972677a3d42853c97741fd061
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon May 15 11:27:10 2017 +1000

    radv: expose integrated device type for APUs.
    
    This just sets the vulkan device type depending on whether
    this is an APU or GPU.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
    (cherry picked from commit 2890a711587e03f906530919056275b599f5f03e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffb46c88261a2443a17740d491374266c62aea67
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Sat Jun 3 00:01:36 2017 +0200

    radv: Dirty all descriptors sets when changing the pipeline.
    
    Sets could have been ignored during previous descriptor set flush
    due to the shader not using them and therefore no SGPR being assigned.
    
    Signed-off-by: Bas Nieuwenhuizen <basni at google.com>
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Fixes: ae61ddabe8c "radv: move userdata sgpr ownership to compiler side."
    (cherry picked from commit 4415a46be2cbb752b94b62bdf5bc7d4d4bbe9fab)
    
    Conflicts:
    	src/amd/vulkan/radv_cmd_buffer.c
    	src/amd/vulkan/radv_meta.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c8226d37829051b949913867e21341f4707321e9
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Fri Jun 2 23:51:50 2017 +0200

    radv: Set both compute and graphics SGPRS on descriptor set flush.
    
    We clear the descriptors_dirty array afterwards, so the SGPRs for
    the other pipeline don't get updated on the flush for that other
    draw/dispatch, so we have to make sure we do it immediately.
    
    Signed-off-by: Bas Nieuwenhuizen <basni at google.com>
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Fixes: ae61ddabe8c "radv: move userdata sgpr ownership to compiler side."
    (cherry picked from commit 5fb8bb306534d633ceb4e33d89984718326773ba)
    [Emil Velikov: drop radv_flush_indirect_descriptor_sets hunk - missing
    in branch]
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    
    Conflicts:
    	src/amd/vulkan/radv_cmd_buffer.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f062ba8931eb8f35c31807cf336ef29c95b2cd5
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Thu Jun 8 12:24:24 2017 +0300

    egl: fix _eglQuerySurface in EGL_BUFFER_AGE_EXT case
    
    Specification states that in case of error, value should not be
    written, patch changes buffer age queries to return -1 in case of
    error so that we can skip changing the value.
    
    In addition, small change to droid_query_buffer_age to return 0
    in case buffer does not have a back buffer available.
    
    Fixes:
       dEQP-EGL.functional.negative_partial_update.not_postable_surface
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Chad Versace <chadversary at chromium.org>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 8fac894f9b8e4e2cb93061fdd25f3aecbfb3bbb7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=891dafc8e7ccf1489e072df889aee9c6596eda84
Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Thu Jun 8 10:38:52 2017 -0500

    swr: relax c++ requirement from c++14 to c++11
    
    Remove c++14 generic lambda to keep compiler requirement at c++11.
    
    No regressions on piglit or vtk test suites.
    
    Tested-by: Chuck Atkins <chuck.atkins at kitware.com>
    Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
    
    CC: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 0b80b025021f97d27520390867c20336dc891a16)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a7279fa8f28ea99b2786e33f7678f92b41f69eb
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Jun 6 15:23:42 2017 +0200

    radeonsi: disable the patch ID workaround on SI when the patch ID isn't used (v2)
    
    The workaround causes a massive performance decrease on 1-SE parts.
    (Cape Verde, Hainan, Oland)
    
    The performance regression is already part of 17.0 and 17.1.
    
    v2: check tess_uses_prim_id
    
    Cc: 17.0 17.1 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    (cherry picked from commit 391673af7ad1565a5f6ac8fc2f8c9fcdd1fe9908)
    [Emil Velikov: s/tcs_tes_uses_prim_id/tess_uses_prim_id/]
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae960d7deee977da5b479539382382aacb99455d
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri May 26 09:33:55 2017 -0700

    i965: Mark depth surfaces as needing a HiZ resolve after blitting
    
    Cc: "17.0 17.1" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Chad Versace <chadversary at chromium.org>
    (cherry picked from commit 5097fcbfdc8dc5aab779af92022f9b5ff16026f0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a193c009b0944438d2a965f88e6344e7ac750d8
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon Jun 5 11:52:32 2017 -0700

    i965: Perform HiZ flush/stall prior to HiZ resolves
    
    Cc: "17.1" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    (cherry picked from commit acbd02450bfd53f61bbe468a6f0e8bf5e4507095)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4889bb6af3869d7363fb1993d3735f086be249dd
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon Jun 5 11:49:24 2017 -0700

    i965: Move the pre-depth-clear flush/stalls to intel_hiz_exec
    
    Cc: "17.1" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    (cherry picked from commit acb9a2ef8f5d92002ed7eb7676c4a96db661ba3a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=845c238ce28f367990c758677c9b5f3577280186
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon Jun 5 11:46:22 2017 -0700

    i965/blorp: Take a layer range in intel_hiz_exec
    
    Cc: "17.1" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    (cherry picked from commit 252b004a51d951391846ec5644abe88bfffb72bd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=67acca073a87b66e00a534f67e22d752622af493
Author: Thomas Hellstrom <thellstrom at vmware.com>
Date:   Thu Jun 1 12:04:05 2017 +0200

    dri3/GLX: Fix drawable invalidation v2
    
    A number of internal VMware apitrace traces image comparisons fail with
    dri3 because the viewport transformation becomes incorrect after an X
    drawable resize. The incorrect viewport transformation sometimes persist
    until the second draw-call after a swapBuffer.
    
    Comparing with the dri2 glx code there are a couple of places where dri2
    invalidates the drawable in the absence of server-triggered invalidation,
    where dri3 doesn't do that. When these invalidation points are added to
    dri3, the image comparisons become correct.
    
    v2:
    Addressed review comment by Michel Dänzer.
    
    Cc: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
    Reviewed-and-tested-by: Michel Dänzer <michel.daenzer at amd.com>
    (cherry picked from commit 1253d58983b2b6ba4ed16444a344327e8117f333)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b10ed6a123cd6c30929649944c58e920cf01e12
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue May 23 21:52:11 2017 +0200

    radeonsi: fix a GPU hang with tessellation on 2-CU configs
    
    Only harvested Stoney has 2 CUs. Tested on 2-CU Stoney and Fiji forced
    to 2 CUs.
    
    Cc: 17.0 17.1 <mesa-stable at lists.freedesktop.org>
    Tested-by: Edmondo Tommasina <edmondo.tommasina at gmail.com>
    Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>
    (cherry picked from commit 6c655cfeb49a8142c44782c5164619a5860c7706)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a8d7ef65a0a5c6f095803941469102cdc30457b
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed May 31 13:07:04 2017 +0200

    st/mesa: don't load cached TGSI shaders on demand
    
    This fixes a performance issue with the shader cache that delayed Gallium
    shader create calls until draw calls.
    
    I'd like this in stable, but it's not a showstopper.
    
    Cc: 17.1 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    (cherry picked from commit 2ec50f98a9be9ee94aa0dd82fb7560c00153b03f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=98564569d057be6aa474ce1db64aba1692fa752f
Author: Lyude <lyude at redhat.com>
Date:   Fri Jun 2 20:45:36 2017 -0400

    nvc0: disable BGRA8 images on Fermi
    
    BGRA8 image stores on Fermi don't work, which results in breaking
    PBO downloads, such that they always return 0x0. Discovered this
    through a glamor bug, and confirmed it does indeed break a good number
    of piglit tests such as spec/arb_pixel_buffer_object/pbo-read-argb8888
    
    Fixes: 8e7893eb53213 ("nvc0: add support for BGRA8 images")
    Signed-off-by: Lyude <lyude at redhat.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 245912b684b862d47cde10052b137d76a55d0bd3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6348a02e275c44164029070c717aa623120a0ad0
Author: Brian Paul <brianp at vmware.com>
Date:   Mon May 22 11:46:27 2017 -0600

    xlib: fix glXGetCurrentDisplay() failure
    
    glXGetCurrentDisplay() has been broken for years and nobody noticed until
    recently.  This change adds a new XMesaGetCurrentDisplay() that the GLX
    emulation API can call, just as we did for glXGetCurrentContext().
    
    Tested by hacking glxgears to call glXGetCurrentContext() before and
    after glXMakeCurrent() to verify the return value is NULL beforehand and
    the same as the opened display afterward.
    
    Also tested by Tom Hudson with his tests programs.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100988
    Cc: mesa-stable at lists.freedesktop.org
    Tested-by: Tom Hudson <tom.hudson.phd at gmail.com>
    Signed-off-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit c6ba85a8c0f02b3b7058dae7afb6c49f56567319)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c24bdf046e4608a1d372e27446d4a7e87b5458c3
Author: Jose Fonseca <jfonseca at vmware.com>
Date:   Thu Jun 1 16:41:13 2017 +0100

    automake: Link all libGL.so variants with -Bsymbolic.
    
    We were linking src/glx with -Bsymbolic, but not the classic/gallium X11
    libGL.so.
    
    But it's always a good idea to build all libGL.so and all DRI drivers
    with -Bsymbolic, otherwise they might resolve symbols from the 3rd party
    application executable or shared libraries, which is _never_ what we
    want.
    
    In particular, this can happen when intercepting OpenGL calls with
    apitrace, before
    https://github.com/apitrace/apitrace/commit/63194b2573176ef34efce1a5c8b08e624b8dddf5
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit ce5e83b8a0c757072075e781a090d35d9dc0e285)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=15b5e5996ad1eaa88f9e684aeb7425235b7615fb
Author: Chad Versace <chadversary at chromium.org>
Date:   Fri May 26 17:28:21 2017 -0700

    i965/dri: Fix bad GL error in intel_create_winsys_renderbuffer()
    
    This function never occurs in the callchain of a GL function. It occurs
    only in the callchain of eglCreate*Surface and the analogous paths for
    GLX.  Therefore, even if a  thread does have a bound GL context,
    emitting a GL error here is wrong. A misplaced GL error, when no GL
    call is made, can confuse clients.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 9d996e94fbbfdb3692061009f5441cf61bba36ae)
    [Emil Velikov: resolve trivial conflicts]
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    
    Conflicts:
    	src/mesa/drivers/dri/i965/intel_fbo.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cfaa8ad66fc5ea10da42bc22094ac4d09c05d50
Author: Lucas Stach <l.stach at pengutronix.de>
Date:   Thu May 18 15:39:58 2017 +0200

    etnaviv: always do cpu_fini in transfer_unmap
    
    The cpu_fini() call pushes the buffer back into the GPU domain, which needs
    to be done for all buffers, not just the ones with CPU written content. The
    etnaviv kernel driver currently doesn't validate this, but may start to do
    so at a later point in time. If there is a temporary resource the fini needs
    to happen before the RS uses this one as the source for the upload.
    
    Also remove an invalid comment about flushing CPU caches, cpu_fini takes
    care of everything involved in this.
    
    Fixes: c9e8b49b885 ("etnaviv: gallium driver for Vivante GPUs")
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
    Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>
    Reviewed-By: Wladimir J. van der Laan <laanwj at gmail.com>
    (cherry picked from commit cab5996c2637c31a78a0196e42ec6de9eb61f270)




More information about the mesa-commit mailing list