Mesa (19.2): 39 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Sep 11 16:23:09 UTC 2019


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3771534b2fef65b9853b9002e062d1f16c48e6d9
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Wed Sep 11 09:05:32 2019 -0700

    Bump version for rc3

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=481d82b65b20c7c769a5dff6d9a553c6869db978
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Aug 28 17:38:50 2019 -0400

    radeonsi/gfx10: fix wave occupancy computations
    
    Cc: 19.2 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    (cherry picked from commit d95afd8b9e7f9b3880813203292257bf0ed7babf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=732950bf360684602c26a0c6de013c9f7da804b8
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Aug 23 19:17:05 2019 -0400

    radeonsi/gfx10: don't call gfx10_destroy_query with compute-only contexts
    
    This fixes a crash.
    
    Cc: 19.2 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    (cherry picked from commit 28adf0d00c6b5506ed2206b950336bdc568d2247)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=637e02c1b195b0e11f5fea6e36b1fc14c359f748
Author: Lepton Wu <lepton at chromium.org>
Date:   Tue Sep 10 03:42:55 2019 +0000

    virgl: Fix pipe_resource leaks under multi-sample.
    
    Fixes: 900a80f9e4f ("virgl: virgl_transfer should own its virgl_resource")
    
    Signed-off-by: Lepton Wu <lepton at chromium.org>
    Reviewed-by: Chia-I Wu <olvaffe at gmail.com>
    (cherry picked from commit 263136fb5d2646bea718579de272729b2474d31a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4bb2ceb789e92da5af63959219ea13d57c1e71d
Author: Timur Kristóf <timur.kristof at gmail.com>
Date:   Thu Aug 29 01:23:37 2019 +0200

    st/nine: Properly initialize GLSL types for NIR shaders.
    
    NIR shaders use GLSL types (note: these live outside libglsl), and
    nine needs to properly initialize these just like the other state
    trackers. This fixes an assertion failure when TTN is used.
    
    Signed-off-by: Timur Kristóf <timur.kristof at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d858388bfc3d0496bee53b567e5c5d407f79a36a
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Fri Sep 6 15:57:46 2019 +0200

    Revert "ac/nir: Lower large indirect variables to scratch"
    
    This reverts commit 74470baebbdacc8fd31c9912eb8c00c0cd102903.
    
    This change introduces some significant performance regressions. We
    are fixing those on master, but the follow up work is large enough
    not to backport to 19.2 .
    
    Fixes: 74470baebbd "ac/nir: Lower large indirect variables to scratch"
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111576
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Connor Abbott <cwabbott0 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7635b74acf229341b636aaa6f7bc3abed65146e0
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Fri Aug 30 11:35:26 2019 -0500

    nir/dead_cf: Repair SSA if the pass makes progress
    
    The dead_cf pass calls into the CF manipulation helpers which attempt to
    keep NIR's SSA form sane.  However, when the only break is removed from
    a loop, dominance gets messed up anyway because the CF SSA clean-up code
    only looks at phis and doesn't consider the case of code becoming
    unreachable.  One solution to this would be to put the loop into LCSSA
    form before we modify any of its contents.  Another (and the approach
    taken by this pass) is to just run the repair_ssa pass afterwards
    because the CF manipulation helpers are smart enough to keep all the
    use/def stuff sane; they just don't always preserve dominance
    properties.
    
    While we're here, we clean up some bogus indentation.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111405
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111069
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    (cherry picked from commit c832820ce959ae7c2b4971befceae634d800330f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2012c4a75cb5ce87a17e0cc6238d6363a2ef6c30
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Fri Aug 30 14:16:07 2019 -0500

    nir/repair_ssa: Insert deref casts when needed
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    (cherry picked from commit 1005272a2b7c744b6ac4d846566359a8ff1b6295)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f56fa8fe9aa3df31b5712a89579168e07b314c7
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Mon Sep 2 12:54:31 2019 -0500

    nir/repair_ssa: Repair dominance for unreachable blocks
    
    NIR currently assumes that unreachable blocks are trivially dominated by
    everything.  However, when considering well-formed SSA, there is no path
    from any block to an unreachable block.  Therefore, we can break any
    use-def chains where the use is in an unreachable block.  This removes
    any dependencies on code created by uses in unreachable blocks and lets
    DCE do a better job of cleaning it up.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    (cherry picked from commit a3268599f3c9bb1d92571e15df95750a06114811)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c6e34ac9357a9acdf7dc59598e8f1863586bac8
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Mon Sep 2 12:53:16 2019 -0500

    nir: Add a block_is_unreachable helper
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    (cherry picked from commit f81a2623d82ccad6177fe1fe5b80a6398df29b6e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=23bc3a401d36ae48b324ebc28a2e69a72c573580
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Fri Aug 30 13:55:02 2019 -0500

    nir: Don't infinitely recurse in lower_ssa_defs_to_regs_block
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    (cherry picked from commit 517142252f0c63189293c7176efbf490b7ae95ea)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8889cc12412890d1989c71787be666f27c0b5337
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Fri Aug 30 13:21:00 2019 -0500

    nir: Handle complex derefs in nir_split_array_vars
    
    We already bail and don't split the vars but we were passing a NULL to
    _mesa_hash_table_search which is not allowed.
    
    Fixes: f1cb3348f1 "nir/split_vars: Properly bail in the presence of ..."
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    (cherry picked from commit 37cdb7fc4465cba67b220f940404338f6ff98ee1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=89776bb48c340e43ce39fa9e755c3917c5213ef3
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Fri Aug 30 00:23:01 2019 +0100

    drirc: override minImageCount=2 for gfxbench
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110765
    Fixes: 4689e98fe884d9412b72 ("vulkan/wsi: Set X11 minImageCount to 3.")
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Tested-by: Eero Tamminen <eero.t.tamminen at intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 27339fe9a74bf57b082b7ac657cdf76f3fd00f57)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=55a10da8185e291db1d94fae9358ed74dca05730
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Thu Aug 29 23:52:52 2019 +0100

    radv: add support for vk_x11_override_min_image_count
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 5eb7d48b5840f33e759ba0da36134883f2a44d9f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9b1f07e55e003dcb1e1ad14aac1cfa757995630
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Fri Aug 30 17:03:12 2019 +0100

    amd: move adaptive sync to performance section, as it is defined in xmlpool
    
    Fixes: 3844ed8d44677588bc29 ("radv: Add adaptive_sync driconfig option and enable it by default.")
    Fixes: e260493f2ab2483e5a55 ("radeonsi: Enable adaptive_sync by default for radeon")
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 4ad99ee9616f86eff96f4840354c64a60e341a6b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d22b0dc90f05c9d1139e499d45484f73ce0f98c
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Thu Aug 29 23:55:29 2019 +0100

    anv: add support for vk_x11_override_min_image_count
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 037b5b567f75db2dd264b23a93abbc88305c7551)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb548d566de57649640abf59018516973787da9d
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Thu Aug 29 23:49:29 2019 +0100

    wsi: add minImageCount override
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl> (v1)
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit a72cdd00abd5f3c18df01acc60bf3b385facfdb6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=172cff63576c7caa02ca456cec61d7a1a62dfe2a
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Wed Apr 24 16:42:25 2019 +0100

    anv: add support for driconf
    
    No option is supported yet, this is just the boilerplate.
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 4dcb1fff19383ae451f3228e55d3fc987a7ab46d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1114994f3c98753972b471cd4173a247d272681
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Tue Sep 3 10:00:23 2019 -0500

    anv: Bump maxComputeWorkgroupSize
    
    Fixes: 9a129510f56f "anv: Bump maxComputeWorkgroupInvocations"
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111552
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 3b1a7e5333335900293935399ce49a67562eafc7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a99cfef28531e26e912e6db384805353eed5071
Author: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Date:   Tue Aug 27 18:32:07 2019 -0700

    nir/lower_explicit_io: Handle 1 bit loads and stores
    
    Load a 32-bit value then convert to 1-bit.  Convert 1-bit to 32-bit
    value, then Store it.
    
    These cases started to appear when we changed Anvil to use derefs for
    shared memory.
    
    v2: Use `bit_size` in a couple of places we were missing.  (Jason)
        Reassign `value` instead of `src[0]`.  (Jason)
    
    Fixes: 024a46a4079 ("anv: use derefs for shared memory access")
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    (cherry picked from commit c0c55bd84f744f9d4d498403f1eea93fafd6cb4b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f42a4300aae1fc1cae74808b3ae01953316d3973
Author: Jonathan Marek <jonathan at marek.ca>
Date:   Wed Sep 4 15:18:09 2019 -0400

    freedreno/a2xx: ir2: fix lowering of instructions after float lowering
    
    Some instructions generated by int/bool float lowering need to be lowered
    by opt_algebraic.
    
    Fixes: 43dbd7d6
    
    Signed-off-by: Jonathan Marek <jonathan at marek.ca>
    Reviewed-by: Rob Clark <robdclark at chromium.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    (cherry picked from commit 3516a90ab4842a6610dc31514809d490bc4add87)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e6ccd180cd91c981bc9be7aa404051e08b0ad4c
Author: Sergii Romantsov <sergii.romantsov at globallogic.com>
Date:   Wed Jun 5 14:33:58 2019 +0300

    intel/dri: finish proper glthread
    
    KWin was able to get NULL-context in the call
    intelUnbindContext. But a call _mesa_glthread_finish
    is not resistent to such case.
    Case can be catched with steps:
    	1. Create both glx and egl contexts
    	2. Make glx as current
    	3. Make egl as current
    	4. Reset glx context
    	5. Make egl as current
    
    Solution adds proper finishing of glthread-context
    (context will be taken from the requested dri-context
    for unbinding, but not from the saved current context).
    
    Piglit-test: https://gitlab.freedesktop.org/mesa/piglit/merge_requests/87
    
    Cc: 19.1 19.2 <mesa-stable at lists.freedesktop.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110814
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111271
    Fixes: dca36d5516d0 (i965: Implement threaded GL support)
    Signed-off-by: Sergii Romantsov <sergii.romantsov at globallogic.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 1dce75c1839f08cfa78400367019f998c258eff5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e72987777ad4f451126a89715976b93bf6aaae2
Author: Dave Stevenson <dave.stevenson at raspberrypi.org>
Date:   Wed May 22 17:12:56 2019 +0100

    broadcom/v3d: Allow importing linear BOs with arbitrary offset/stride.
    
    Equivalent of 0c1dd9dee "broadcom/vc4: Allow importing linear BOs with
    arbitrary offset/stride." for v3d.
    
    Allows YUV buffers with a single buffer and plane offsets to be
    passed in.
    
    Signed-off-by: Dave Stevenson <dave.stevenson at raspberrypi.org>
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    (cherry picked from commit 873b092e9110a0605293db7bc1c5bcb749cf9a28)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=95145376d188dbf609091b667e2d4ff8049ce16e
Author: Connor Abbott <cwabbott0 at gmail.com>
Date:   Thu Sep 5 13:57:11 2019 +0200

    radv: Call nir_propagate_invariant()
    
    Without this, invariant qualifiers don't do anything. Together with a
    fix to the game, this fixes flickering in No Man's Sky.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    (cherry picked from commit 3f5b541fc8b2aae6e71783b7a9bb8eb2ffa3a74d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ef013f0e986652bedbe7b2b8f9904113c866105
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Aug 27 11:35:00 2019 +0200

    nir: do not assume that the result of fexp2(a) is always an integral
    
    It's only correct when 'a' is an integral greater or equal to 0.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111493
    Fixes: 5544b2cbbd2 ("nir/algebraic: Use value range analysis to eliminate useless unary ops")
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 966a455bb912cc9fd22580c6cf9b74e27faa4491)
    (conflicts resolved by Dylan Baker)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b84cbdfd4da9607100e5a6ae0d2fc0ee707953b2
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Wed Sep 4 16:24:27 2019 -0700

    nir: Add is_not_negative helper function
    
    This was taken from 636da1243346e4e2a5aaf79bac65850884a9b859, and is
    needed by the next patch.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f180b04d65b48ff9c90b9cc1610730a3ac3efd1d
Author: Hal Gentz <zegentzy at protonmail.com>
Date:   Thu Jul 25 15:40:50 2019 -0600

    glx: Fix SEGV due to dereferencing a NULL ptr from XCB-GLX.
    
    When run in optirun, applications that linked to `libGLX.so` and then
    proceeded to querying Mesa for extension strings caused a SEGV in Mesa.
    
    `glXQueryExtensionsString` was calling a chain of functions that
    eventually led to `__glXQueryServerString`. This function would call
    `xcb_glx_query_server_string` then `xcb_glx_query_server_string_reply`.
    The latter for some unknown reason returned `NULL`. Passing this `NULL`
    to `xcb_glx_query_server_string_string_length` would cause a SEGV as the
    function tried to dereference it.
    
    The reason behind the function returning `NULL` is yet to be determined,
    however, simply checking that the ptr is not `NULL` resolves this. A
    similar check has been added to `__glXGetString` for completeness sake,
    although not immediately necessary.
    
    In addition to that, we stumbled into a similar problem in
    `AllocAndFetchScreenConfigs` which tries to access the configs to free
    them if `__glXQueryServerString` fails. This, of course, SEGVs, because the
    configs are yet to have been allocated. Simply continuing past the configs
    if their config ptrs are `NULL` resolves this. We also switch to `calloc`
    to make sure that the config ptrs are `NULL` by default, and not some
    uninitialized value.
    
    Cc: mesa-stable at lists.freedesktop.org
    Fixes: 24b8a8cfe821 "glx: implement __glXGetString, hide __glXGetStringFromServer"
    Fixes: cb3610e37c4c "Import the GLX client side library, formerly from xc/lib/GL/glx. Build it "
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Signed-off-by: Hal Gentz <zegentzy at protonmail.com>
    (cherry picked from commit 1591d1fee5016a21477edec0d2eb6b2d24221952)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=45b22fb873c032524508755a682ba32b6bc07e71
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Aug 28 12:52:23 2019 -0700

    iris: Report correct number of planes for planar images
    
    We were only handling the modifiers case and not counting the number of
    planes in actual planar images.
    
    Fixes Piglit's ext_image_dma_buf_import-export.
    
    Fixes: fc12fd05f56 ("iris: Implement pipe_screen::resource_get_param")
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111509
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    (cherry picked from commit f8887909c6683986990474b61afd6d4335a69e41)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffa1f33ec0fc2153aca1bb1d0e85d5d11e6c892b
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Mon Aug 26 15:33:31 2019 +0100

    nir: fix memleak in error path
    
    Fixes: 2cf59861a8128a91bfdd ("nir: Add partial redundancy elimination for compares")
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 7659c6197f08587f57f101a88a7e477337ce363c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0bbf6eab521e42d92682b8cac21d0f9514562346
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Mon Aug 26 15:42:32 2019 +0100

    freedreno/drm-shim: fix mem leak
    
    Fixes: 494ecef6b42198ab6c3e ("freedreno: Add support for drm-shim.")
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    (cherry picked from commit c4969b0a25982505dd784257d7c12f1abe8b2180)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef0ccde381fc085c852661057dab0230767026bb
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Mon Aug 26 15:32:36 2019 +0100

    anv: fix format string in error message
    
    Fixes: 9775894f102535a79186 ("anv: Move size check from anv_bo_cache_import() to caller (v2)")
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 7abf65aedc679069b794fddfa6feafa68d36d06a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba255cdd50a7d6ab33e40bbe3fe42b7602cdcebd
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Mon Aug 26 15:30:54 2019 +0100

    util/os_file: fix double-close()
    
    Fixes: 955c63d3643f30d7db0c ("util/os_file: resize buffer to what was actually needed")
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    (cherry picked from commit 1667360f7d920a35191dc67b7ee120eef95e8788)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a4e7d72930c081b760caa6918836e46fd791bad
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Mon Aug 26 15:29:49 2019 +0100

    egl: fix deadlock in malloc error path
    
    Fixes: cb0980e69aa921af7086 ("egl: move alloc & init out of _eglBuiltInDriver{DRI2,Haiku}")
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    (cherry picked from commit 43d470404c47d86d1fab93d1345e09375bcf4fb6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1cfc90689816643820c2383e375794c40eecd7e6
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Mon Aug 26 15:52:33 2019 +0100

    ttn: fix 64-bit shift on 32-bit `1`
    
    Fixes: 4d0b2c7aaac3cf3de5af ("ttn: Update shader->info as we generate code.")
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Rob Clark <robdclark at gmail.com>
    (cherry picked from commit 3afe9d798aacc0abc6d898dda3360f06517caf8e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a83226dc6a859e5aef0cda2cc757c056113435a
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Wed Aug 21 13:47:25 2019 +0200

    vulkan/overlay: bounce image back to present layout
    
    Once we write the overlay to an image to be presented, we must not
    forget to put it back into present layout.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111401
    Cc: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    (cherry picked from commit 320b0f66c27407008784da3606e23cb44c70ddf0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=26cd4074812dab67498afd744c03257c31574cc3
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Sun Sep 1 17:22:24 2019 +0300

    egl: fix platform selection
    
    Add missing "device" platform
    
    v2: Add the missing platform (Eric)
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Reported-by: Jean Hertel <jean.hertel at hotmail.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111529
    Fixes: d6edccee8d ("egl: add EGL_platform_device support")
    Reviewed-by: Eric Engestrom <eric at engestrom.ch>
    (cherry picked from commit 6775a524004ba15ab281c1391fb24cbf621fe859)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=451ddeb42945384a92c994023054931d7c55b179
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Wed Jul 17 10:21:08 2019 +0200

    gallium/auxiliary/indices: consistently apply start only to input
    
    The majority of these only apply the start argument to the input, but a
    few of them also does for the output-array. util_primconvert, the only
    user of this argument expects this pass a non-zero start-argument does
    not expect this to be applied to the output; if it is, it will write
    outside of allocated memory, leading to VRAM corruption.
    
    The reason this doesn't seem to have been noticed before, is that no
    driver currently use util_primconvert to convert a primitive-type to
    itself, which is the cases where this was broken. But for Zink, this
    will no longer be true, because we need to eliminate the use of 8-bit
    index-buffers.
    
    Signed-off-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Fixes: 28f3f8d413f ("gallium/auxiliary/indices: add start param")
    Reviewed-by: Rob Clark <robdclark at chromium.org>
    (cherry picked from commit 52af1427c6d248829130ce25b86cd27a31d34633)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ac1d9b46e2b1478c0715c3ed84563b89b83dfb0
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Thu Aug 29 23:15:29 2019 -0700

    travis: Fail build if any command in if statement fails.
    
    Travis is checking the exit code of the entire if statement.
    
    Fixes: 64ffc289be89 ("travis: add MacOS Scons build")
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Acked-by: Eric Engestrom <eric at engestrom.ch>
    Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
    (cherry picked from commit 029b07b2adbde4466e4776e10cf37ec30aee4f1f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=529db83e7b467a952529c721b68bfb81ddabc72c
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Mon Aug 26 16:16:26 2019 -0700

    swr: Fix build with llvm-9.0 again.
    
    Commit 6f7306c029a7 ("swr/rast: Refactor memory API between rasterizer
    core and swr") unintentionally removed changes for llvm-9.0.
    
    Fixes: 6f7306c029a7 ("swr/rast: Refactor memory API between rasterizer core and swr")
    Fixes: 5dd9ad157005 ("swr/rasterizer: Better implementation of scatter")
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Jan Zielinski <jan.zielinski at intel.com>
    (cherry picked from commit 3664a6600eb0efbb4606f0b59730df3088b3b490)




More information about the mesa-commit mailing list