Mesa (staging/18.2-ci): 26 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Dec 25 17:19:43 UTC 2018


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f04c31cfec2813ac3ea3f3bb1204c60dbd9390c
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Wed Dec 12 19:24:14 2018 +0000

    glx/test: meson: assorted include fixes
    
    Swap '..' with the symbolic inc_glx and add glproto as dependency. That
    will pull the correct include, effectively fixing the tests on macOS.
    
    Fixes: a47c525f328 ("meson: build glx")
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    (cherry picked from commit f331419f262d3a0f270376cafbb9517b4627bb7a)
    [Juan A. Suarez: resolve trivial conflicts]
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>
    
    Conflicts:
    	src/glx/tests/meson.build

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3de8d15d1fb9f6e85441505d1651701ecbb8c608
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Wed Dec 12 19:07:52 2018 +0000

    glx: meson: wire up the dispatch-index-check test
    
    Accidentally dropped with earlier commit.!
    
    Fixes: 4ccb9816737 ("meson: Use consistent style for tests")
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    (cherry picked from commit e139d7a8a315502d538b6a753cb42e841c10e57f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f1cc8d52d9325bf49aa70c5ca289a64913e6194
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Wed Dec 12 17:55:08 2018 +0000

    glx: meson: drop includes from a link-only library
    
    When producing the final libGL.so/libGLX_mesa.so we only link the local
    static helper lib (libglx). Thus there's no reason for the includes.
    
    Fixes: a47c525f328 ("meson: build glx")
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    (cherry picked from commit b44875e2dc650c58986480f3360fccfc8d890605)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d692a5b54bef1cee1665f0cc94d72ffb8243cd4
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Wed Dec 12 17:47:36 2018 +0000

    TODO: glx: meson: build dri based glx tests, only with -Dglx=dri
    
    The library itself (libGL) is only built when -Dglx=dri, yet it's
    accompanying tests are build even with -Dglx=xlib.
    
    Adjust the guards, so we don't build the tests when they are not
    applicable
    
    v2:
     - Reword commit message (Dylan)
     - Drop build_by_default hunk (Dylan)
    
    Fixes: a47c525f328 ("meson: build glx")
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    (cherry picked from commit 9527f9ea2611b0793377016c8c16ec58ded7f287)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=00fda84bff46508bebd14185e82bd4276783ccb7
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Dec 13 04:10:50 2018 +0000

    pipe-loader: meson: reference correct library
    
    The library is called libgalliumvl_stub - note singular.
    
    Fixes: 42ea0631f10 ("meson: build clover")
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    (cherry picked from commit 2eedb79e1a2e92648bd245f9db88ecb7b587b7fd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1af31b1bac7e6f6ffc6f4e8c1d12f8bc89ef0a1f
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Dec 13 03:54:03 2018 +0000

    meson: don't require glx/egl/gbm with gallium drivers
    
    The gallium drivers do not require a DRI loader. Drop the artificial
    and unnecessary restriction.
    
    Fixes: af9d276134d ("meson: build libmesa_gallium")
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    (cherry picked from commit 9d10581897ef7cfa0f6c392e2048cc04357281b9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0249666266575f69ab47ce6d6da1ebd28ea93e3
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Mon Dec 3 18:40:10 2018 +0000

    anv: don't do partial resolve on layer > 0
    
    We've made the choice not to use fast clears on layer > 0 with
    multilayer images. This is partly because we would need to store
    multiple clear colors for each layer, making the existing memory
    layout, already including aux surfaces, fast clear color, image state,
    etc... even more complex.
    
    Partial resolves are the operations transfering the clear colors into
    the auxiliary buffers. This operation is currently implemented in
    Blorp by loading the clear color from the image's BO, into a shader
    that then samples from the auxiliary buffer and writes the color only
    if it isn't there already.
    
    The problem here is that because we store only one clear color for all
    layers and it is used for partial resolves. If you trigger a partial
    clear on a layer > 0, then you're likely to deal with a color that is
    not what you actually want. In the particular issues below, we have
    multiple layers, each cleared with a different color but the partial
    resolve just writes the wrong color into the auxiliary buffers for
    layers > 0.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108910
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108911
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit e2ae5f2f0a0dbdae08e026b88e30552728c4abd6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d60f11197d856193f56b590f1876ba390809084
Author: Axel Davy <davyaxel0 at gmail.com>
Date:   Mon Dec 3 21:24:54 2018 +0100

    st/nine: Add src reference to nine_context_range_upload
    
    Just like nine_context_box_upload, nine_context_range_upload
    should reference the src, which holds the ram source buffer.
    
    Fixes: https://github.com/iXit/Mesa-3D/issues/327
    Signed-off-by: Axel Davy <davyaxel0 at gmail.com>
    Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 104681c5d528a823a3fdc3f7d9c6f8133c27201c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec1bae22365f9adb27bbca97069d7b4501c909c9
Author: Axel Davy <davyaxel0 at gmail.com>
Date:   Mon Dec 3 21:15:47 2018 +0100

    st/nine: Bind src not dst in nine_context_box_upload
    
    nine_context_box_upload uploads a ram buffer (from src)
    to a pipe_resource (dst).
    We already have a refcount on the pipe_resource,
    what needs to be protected from release is the ram buffer,
    thus a reference to src.
    
    Signed-off-by: Axel Davy <davyaxel0 at gmail.com>
    Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 42d672fa6a766363e5703f119607f7c7975918aa)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8689dcba7b6988c4973177861cb2eb9b1b6913e2
Author: Axel Davy <davyaxel0 at gmail.com>
Date:   Sun Nov 25 14:37:53 2018 +0100

    st/nine: Fix volumetexture dtor on ctor failure
    
    The dtor is called on allocation failure,
    thus we must check the volumes are allocated
    before trying to release them.
    
    Signed-off-by: Axel Davy <davyaxel0 at gmail.com>
    Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit f91f748fabd7fec8f571124df23296c07102a983)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=14e04a2011c2ed6df2b1f006487d81f9ff31cfcf
Author: Alex Deucher <alexander.deucher at amd.com>
Date:   Thu Dec 20 10:11:01 2018 -0500

    pci_ids: add new VegaM pci id
    
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 516160d717b81141a65a03060ac440a1cad8ae94)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ced1bf714b0fc6cdc59883d970a5d70899025e91
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Mon Dec 17 16:25:40 2018 +0000

    bin/get-pick-list.sh: warn when commit lists invalid sha
    
    We had cases where people would list old/invalid sha in the commit.
    Add a trivial checker to catch those and throw a warning.
    
    CC: Juan A. Suarez <jasuarez at igalia.com>
    CC: Dylan Baker <dylan at pnwbakers.com>
    CC: mesa-stable at lists.freedesktop.org
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Andres Gomez <agomez at igalia.com>
    (cherry picked from commit e0dbfc995370756355f28ac31495eab96a410384)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1eb1a23237b1dfb9fd514a511881ac085318aa1c
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Mon Dec 17 15:44:25 2018 +0000

    bin/get-pick-list.sh: rework handing of sha nominations
    
    Currently our is_sha_nomination does:
     - folds any whitespace, attempting to extract sha-like information
     - checks that at least one of the shas has landed
    
    Split it in two and do sha-like validation first.
    
    This way, commits with mesa-stable and sha nominations will feature the
    fixes/revert/etc instead of stable (a) or will be omitted if not
    applicable for the respective branch (b).
    
    Misc examples from 18.3
    
    (a)
    -[   stable ] 5bc509363b6 glx: make xf86vidmode mandatory for direct rendering
    +[    fixes ] 5bc509363b6 glx: make xf86vidmode mandatory for direct rendering
    
    (b)
    -[   stable ] 9a7b3199037 anv/query: flush render target before copying results
    
    CC: Juan A. Suarez <jasuarez at igalia.com>
    CC: Dylan Baker <dylan at pnwbakers.com>
    CC: mesa-stable at lists.freedesktop.org
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Andres Gomez <agomez at igalia.com>
    (cherry picked from commit 6b296f64af5d69a1d0e4cdcda5f8c6d090dd4449)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4203d05c11000cabc6682b74eb5d2c172f62391f
Author: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Date:   Fri Dec 14 22:19:24 2018 -0800

    nir: properly clear the entry sources in copy_prop_vars
    
    When updating a copy entry source value from a "non-SSA" (the data
    come from a copy instruction) to a "SSA" (the data or parts of it come
    from SSA values), it was possible to hold invalid data in ssa[0]
    depending on the writemask.  Because the union, ssa[0] could contain a
    pointer to a nir_deref_instr left-over from previous non-SSA usage.
    
    Change code to clean up the array before use to avoid invalid data
    around.
    
    Fixes: 62332d139c8 "nir: Add a local variable-based copy propagation pass"
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    (cherry picked from commit 0ddc911f4d83a3c698ea02696e1b8706b2cce381)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a1b25102c17b90323eee2740be11fd449e64d761
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date:   Thu Dec 20 16:40:08 2018 +0100

    cherry-ignore: intel/compiler: move nir_lower_bool_to_int32 before nir_lower_locals_to_regs
    
    pick: This commit is nominated to stable, but fixes commit 11dc1307794
    which is not in the current stable branch.
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a5e70c5fb4a9301df1ce9ced126aca3941f8db7
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date:   Thu Dec 20 16:28:45 2018 +0100

    cherry-ignore: nir: properly find the entry to keep in copy_prop_vars
    
    pick: This commit is nominated to stable, but fixes commit b3c61469255
    which is in 18.3 stable. Hence, this commit is considered as nominated
    to 18.3 stable.
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d06b8a322a1e7868d885624bb8ff7528a5029b28
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon Dec 17 10:42:13 2018 +0100

    ac: split 16-bit ssbo loads that may not be dword aligned
    
    This ends up refactoring visit_load_buffer() a little.
    
    Fixes: 7e7ee826982 ('ac: add support for 16bit buffer loads')
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108114
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ff2105e1d988cc20ce3546005ac8f529e2d85ad
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Dec 17 18:48:17 2018 -0800

    Revert "nir/lower_indirect: Bail early if modes == 0"
    
        "There's no point in walking the program if we're never going to
        actually lower anything."
    
    Except we might lower compacted local arrays.  In that case, modes will
    be 0, but there is still lowering to be done.
    
    This reverts commit 7f75cf2a9408b9af562e033ef6c1d1fd15141421.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109081
    Suggested-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Tested-by: Clayton Craft <clayton.a.craft at intel.com>
    Cc: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 29e4b949b45b468c366b9865298391c89ba6642c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d61fffdc596b1b4aa95f8bcc8a45bf9280fd891b
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Tue Dec 18 09:42:04 2018 -0800

    meson: Fix libsensors detection.
    
    Fixes: 5e71efef44b9 ("meson: Add lmsensors support")
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    (cherry picked from commit 0f7ba5758bd8a3e12b8b33ab471336eaa7dd6fbc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=057d5bb6587a301cd58c808e94ec96c6bc0feb4a
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Sun Dec 16 16:35:00 2018 -0800

    meson: Fix typo.
    
    Fixes: 6b4c7047d571 ("meson: build gallium nine state_tracker")
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 84f39e5971d77549293a1b8abd479cca2ff4b97e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=46d39ba5c9a7c54688ea04d60cfaac69960694c8
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Tue Dec 4 09:28:10 2018 -0800

    meson: Fix ppc64 little endian detection
    
    Old versions of meson returned ppc64le as the cpu_family for little
    endian power8 cpus, versions >=0.48 don't do this, so the check wouldn't
    work in that case. This generalizes the check to work for both old and
    new versions of meson.
    
    Fixes: 34bbb24ce7702658cdc4e9d34a650e169716c39e
           ("meson: Add support for ppc assembly/optimizations")
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    (cherry picked from commit e430a034b9d2be626557931cd29808a3161889f1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=344f1e2b8a167b0d100e0f7bdbe1cee4c4e5bf15
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jun 20 17:18:30 2018 -0700

    i965/vec4/dce: Don't narrow the write mask if the flags are used
    
    In an instruction sequence like
    
                cmp(8).ge.f0.0 vgrf17:D, vgrf2.xxxx:D, vgrf9.xxxx:D
        (+f0.0) sel(8) vgrf1:UD, vgrf8.xyzw:UD, vgrf1.xyzw:UD
    
    The other fields of vgrf17 may be unused, but the CMP still needs to
    generate the other flag bits.
    
    To my surprise, nothing in shader-db or any test suite appears to hit
    this.  However, I have a change to brw_vec4_cmod_propagation that
    creates cases where this can happen.  This fix prevents a couple dozen
    regressions in that patch.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: 5df88c20 ("i965/vec4: Rewrite dead code elimination to use live in/out.")
    (cherry picked from commit 440c051340669e809511c05370d6d703c70f6d0e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=901b8c52b8d82a3a2c2dbdb22a51821c3ca4be74
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date:   Wed Dec 19 12:46:14 2018 +0100

    cherry-ignore: radv: Fix multiview depth clears
    
    fixes: This commit requires commits aeaf8dbd097 and 7484bc894b9 which
    did not land in branch.
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a6987b4ccfe2a28e030f62f1e8fff2854093133
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Fri Dec 14 16:47:09 2018 +0000

    radv: don't set surf_index for stencil-only images
    
    Fixes: f8d5b377c8b ('radv: set cb base tile swizzles for MRT speedups (v4)')
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108116
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    (cherry picked from commit bba94a3d85c8799b2441a5d41015091e8903738f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b5a4dbc545fe7fba99a5a1db631c8cae5b025cd
Author: Iago Toral Quiroga <itoral at igalia.com>
Date:   Mon May 28 13:03:24 2018 +0200

    intel/compiler: do not copy-propagate strided regions to ddx/ddy arguments
    
    The implementation of these opcodes in the generator assumes that their
    arguments are packed, and it generates register regions based on that
    assumption.
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    (cherry picked from commit 391894321161b37a3f8ae1cae4ece6c72ea38bc1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9384414767d319da8916afcf1ca678c2018735fd
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Dec 19 15:39:56 2018 +0100

    nir/constant_folding: Fix source bit size logic
    
    Instead of looking at input_sizes[i] which contains the number of
    components for each source, we look at the bit size of input_types[i].
    This fixes a regression in the 1-bit boolean series though I have no
    idea how we haven't seen it before now.
    
    Fixes: 35baee5dce5 "nir/constant_folding: fix incorrect bit-size check"
    Fixes: 9076c4e289d "nir: update opcode definitions for different bit sizes"
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Tested-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    (cherry picked from commit 3595a0abf43be3ce27d88f5939b257a74e90035b)
    [Juan A. Suarez: resolve trivial conflicts]
    
    Conflicts:
    	src/compiler/nir/nir_opt_constant_folding.c




More information about the mesa-commit mailing list