Mesa (staging/20.2): 63 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Sep 11 21:24:18 UTC 2020


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6195f7b70306a42d42e6115fb787cd1896d3cc62
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Thu Sep 3 22:02:01 2020 +0200

    spirv: fix emitting switch cases that directly jump to the merge block
    
    As shown in the valid SPIR-V below, if one switch case statement
    directly jumps to the merge block, it has no branches at all and
    we have to reset the fall variable. Otherwise, it creates an
    unintentional fallthrough.
    
           OpSelectionMerge %97 None
           OpSwitch %96 %97 1 %99 2 %100
    %100 = OpLabel
    %102 = OpAccessChain %_ptr_StorageBuffer_v4float %86 %uint_0 %uint_37
    %103 = OpLoad %v4float %102
    %104 = OpBitcast %v4uint %103
    %105 = OpCompositeExtract %uint %104 0
    %106 = OpShiftLeftLogical %uint %105 %uint_1
           OpBranch %97
     %99 = OpLabel
           OpBranch %97
     %97 = OpLabel
    %107 = OpPhi %uint %uint_4 %75 %uint_5 %99 %106 %100
    
    This fixes serious corruption in Horizon Zero Dawn.
    
    v2: Changed the code to skip the entire if-block instead of resetting
        the fallthrough variable.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3460
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Signed-off-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6590>
    (cherry picked from commit 57fba85da408dd4ec98508b5106c156d616b5602)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b1f20772027579cc893187766d7e61caf88f44a
Author: Karol Herbst <kherbst at redhat.com>
Date:   Tue Aug 11 14:00:26 2020 +0200

    spirv: extract switch parsing into its own function
    
    v2 (Jason Ekstrand):
     - Construct a list of vtn_case objects
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2401>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c8e3af568654754f0ce1adcaae98035fc7dfc7e5
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Tue Aug 25 00:20:18 2020 +0200

    spirv: Deal with glslang bug not setting the decoration for stores.
    
    Fixes: af81486a8cd "spirv: Simplify our handling of NonUniform"
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6451>
    (cherry picked from commit 965b8441fe01645613188bfa463ef6143dd66450)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1be49cd0ba7ab658c72a456669b155f223773c38
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Mon Aug 17 19:38:47 2020 +0200

    spirv: Add a vtn_get_mem_operands() helper
    
    Add a vtn_get_mem_operands() helper to extract memory operand attached
    to load/store operations.
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6090>
    (cherry picked from commit 857b9c50276141c874c0dba2475afe73ce62a013)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=409c87a297529f0c4d75e6a5c468d99f1ee7b934
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Sep 8 05:37:36 2020 +1000

    gallivm: disable brilinear for lod bias and explicit lod.
    
    This allows GL 4.5 CTS to pass in full with no flags, other than
    that I'm not sure if it's a good or bad idea.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Cc: mesa-stable at lists.freedesktop.org
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6638>
    (cherry picked from commit b0722cb670156ef7d8d1ada4afaf8bf5cd5b9dba)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae25477194eb3cd3a64617b3a9e715d888abb509
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Mon Aug 24 13:52:59 2020 +0300

    intel/perf: fix raw query kernel metric selection
    
    The raw query is meant to be used with MDAPI [1]. When using this
    metric without this library, we usually selected the TestOa metric to
    provide some default sensible values (instead of undefined).
    Historically this TestOa metric lived in the kernel at ID=1. We
    removed all metrics from the kernel in kernel commit 9aba9c188da136
    ("drm/i915/perf: remove generated code").
    
    This fixes the Mesa code to use a valid metric set ID (1 could work
    some of the time, but not guaranteed).
    
    [1] : https://github.com/intel/metrics-discovery
    
    v2: Store fallback metric at init time
    
    v3: Drop TestOa lookout
    
    v4: Skip the existing queries (Marcin)
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    CC: <mesa-stable at lists.freedesktop.org>
    Tested-by: Marcin Ślusarz <marcin.slusarz at intel.com> (v1)
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6438>
    (cherry picked from commit ec1fa1d51ff614c19d08c949482b40c060de48c9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9b6ccc9138b395cb0c0c2b6ed0b6667e0992b69
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date:   Wed Jun 10 15:58:59 2020 +0200

    intel/perf: export performance counters sorted by [group|set] and name
    
    It's a lot easier to deal with them in RenderDoc when they are
    in some meaningful order.
    
    Signed-off-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5788>
    (cherry picked from commit a777b25350cce0a97243405fa129eca386aecda2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb115979db7e5d27c27e52305b8e1e95c3358987
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date:   Thu Jul 9 19:49:55 2020 +0200

    intel/perf: split load_oa_metrics
    
    Move oa_metrics_available out of load_oa_metrics and call
    build_unique_counter_list outside.
    
    This change is a preparation for the next patch. It should
    not have any functional impact.
    
    Signed-off-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5788>
    (cherry picked from commit 59716e40b0f198e19b8baae2d9952f8e8e76428c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a67c03128ec1b6ea0c7a541676bb8f41f210b21
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Mon Aug 24 16:42:42 2020 +0300

    intel/perf: store query symbol name
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth at whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6438>
    (cherry picked from commit f1da3bb3d5ef8a7d11b8abc8534fc7d5ca875faa)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc559b6177e15264005e77a242422909f30af711
Author: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Date:   Mon Aug 17 18:22:47 2020 +0300

    glsl: Eliminate assigments to out-of-bounds elements of vector
    
    Several optimization paths, including constant folding, can lead to
    indexing vector with an out of bounds index.
    
    Out-of-bounds writes could be eliminated per spec:
    
    Section 5.11 (Out-of-Bounds Accesses) of the GLSL 4.60 spec says:
    
    "In the subsections described above for array, vector, matrix and
     structure accesses, any out-of-bounds access produced undefined
     behavior.... Out-of-bounds writes may be discarded or overwrite
     other variables of the active program."
    
    Fixes piglit tests:
    spec at glsl-1.20@execution at vector-out-of-bounds-access@fs-vec4-out-of-bounds-1
    spec at glsl-1.20@execution at vector-out-of-bounds-access@fs-vec4-out-of-bounds-6
    
    CC: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6363>
    (cherry picked from commit 5922d57a184fcb27955d959e949e1ef68873bd19)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=85721f885d62ce0847f5195f773effaa75bc6051
Author: Qiang Yu <yuq825 at gmail.com>
Date:   Thu Sep 10 10:08:41 2020 +0800

    radeonsi: fix max syncobj wait timeout
    
    syncobj wait takes int64_t timeout and won't clamp it
    in kernel code, so we have to pass in INT64_MAX instead
    of OS_TIMEOUT_INFINITE which is UINT64_MAX. Otherwise
    syncobj wait with OS_TIMEOUT_INFINITE case just return
    fail.
    
    Fixes: c638301b42b "radeonsi: fix syncobj wait timeout"
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Signed-off-by: Qiang Yu <yuq825 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6676>
    (cherry picked from commit ef980ac0c1cd65993ba0c1d20e1c09b45bfef99d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=992e1d053bbcc478f620267e73b24b76ea353832
Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Tue Sep 8 07:33:59 2020 -0700

    blorp: Fix alignment test for HIZ_CCS_WT fast-clears
    
    Remove the extra logical ORs in the ternary operation.
    
    Fixes: 5425fcf2cb3 ("intel/blorp: Satisfy HIZ_CCS fast-clear alignments")
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6650>
    (cherry picked from commit 1eff389bd3ee17c340d9047051f559f0ac4e44b5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=abc8c94f38dcbed97dace68c156610f94e8fb6fd
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date:   Wed Sep 9 17:59:41 2020 +0200

    anv: fix minor gen_ioctl(I915_PERF_IOCTL_CONFIG) error handling issue
    
    Found by Coverity.
    
    Fixes: 2001a80d4a8 ("anv: Implement VK_KHR_performance_query")
    Signed-off-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6667>
    (cherry picked from commit d3cd24999fd582ae8da52a0499f8db6eebfb503a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0aa0b2d495d23a4da0c4f0b1d57e8c61766449a3
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Mon Sep 7 19:31:38 2020 -0700

    svga: Fix unused printf argument.
    
    Fix defect reported by Coverity Scan.
    
    Extra argument to printf format specifier (PRINTF_ARGS)
    extra_argument: This argument was not used by the format string:
    info->num_outputs.
    
    Fixes: ccb4ea5a43e8 ("svga: Add GL4.1(compatibility profile) support in svga driver")
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Neha Bhende <bhenden at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6644>
    (cherry picked from commit 2f61d7c22dae0484d60728e768d917fa28bd59df)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce8184e3a33007da0d61d736382a2667ca2ca311
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Mon Sep 7 17:23:35 2020 -0700

    freedreno: Fix file descriptor leak.
    
    Fix defects reported by Coverity Scan.
    
    Resource leak (RESOURCE_LEAK)
    leaked_handle: Handle variable fd going out of scope leaks the handle.
    
    Argument cannot be negative (NEGATIVE_RETURNS)
    negative_returns: fd is passed to a parameter that cannot be negative.
    
    Fixes: 1ea4ef0d3be8 ("freedreno: slurp in decode tools")
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Rob Clark <robdclark at chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6642>
    (cherry picked from commit 587969154f2cca5c9973bdc20693cd548895efbe)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6667e2de46396049c89968682776b3f266caf9b9
Author: Icecream95 <ixn at keemail.me>
Date:   Wed Sep 9 18:22:00 2020 +1200

    pan/mdg: Fix spilling of non-32-bit types
    
    The source argument for mov has index 1, not 0.
    
    Fixes a vertex shader in SuperTuxKart.
    
    Fixes: b4de9e035ac ("pan/mdg: Mask spills from texture write")
    Reported-by: macc24
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>~
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6659>
    (cherry picked from commit a4885d26915d290192f3bb5e5f50355cfa266a59)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=da0ed80410ee597ef2ff81bf2f159579e64398ca
Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Tue Sep 8 17:56:54 2020 -0700

    nir: More NIR_MAX_VEC_COMPONENTS fixes
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6655>
    (cherry picked from commit 89401e58672e1251b954662f0f776a6e9bce6df8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a09792bfcfe0ac7b50a2f9e20f1816fb23ff6f9
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Tue Sep 8 18:36:47 2020 -0500

    nir: More NIR_MAX_VEC_COMPONENTS fixes
    
    A couple of these probably aren't strictly necessary but they won't
    hurt.  The one that's particularly tricky is a fixed-length array in
    nir_search.h.  However, to avoid blowing up the binary size of
    nir_opt_algebraic by about 2x, we just assert that only small ops are
    used.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6655>
    (cherry picked from commit d86e38af2c6c9e7f70b31fb6482a875c6d10427c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae817c0f0f684db26e3c3d18a8327e7d492098c5
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Sep 3 11:56:45 2020 -0700

    turnip: Fix truncation of iovas to 32 bits in queries.
    
    Fixes regression when switching to msm-next-pgtables.
    
    Fixes: e34b0d65f971 ("turnip: Implement and enable VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6592>
    (cherry picked from commit 802d3611dcec8102ef75fe2461340c2997af931e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=102fed30b95d099f2e83260edaaacfda71c81d84
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Sep 3 10:30:31 2020 -0700

    turnip: Fix truncation of CS shader iovas to 32 bits.
    
    This was invalid, and makes VK break consistently with the
    msm-next-pgtbables branch.
    
    Fixes: 13525a9c706b ("turnip: pipeline program state refactor")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6592>
    (cherry picked from commit 329c31728773d58ebb0a9c2dd133ed7d6bc710cd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc5ea646abc9d0e9b5f804af7aa675f500eab2b5
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Sep 3 14:46:24 2020 -0700

    freedreno: Make the pack struct have a .qword for wide addresses.
    
    Storing a precomputed iova in reg packing wasn't possible because you'd
    truncate to 32 bits.  Making it be .qword makes it possible.
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6592>
    (cherry picked from commit 3b3772d6e694da91ead40c144292f5a93b2aa42e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=068640e23b5bb718dbcc3be71268fe7df78c397b
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon Sep 7 20:21:37 2020 +0100

    aco: don't apply constant to SDWA on GFX8
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Cc: 20.2 <mesa-stable>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6662>
    (cherry picked from commit 5a8447cbd40ef29a4225686d4820a8b0a19973ae)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6f1995898b75c463858adf0142b05d8cc044a23
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon Sep 7 20:20:34 2020 +0100

    aco: fix v_writelane_b32 with two sgprs
    
    v_writelane_b32 can take two sgprs but only if one is m0.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Cc: 20.2 <mesa-stable>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6662>
    (cherry picked from commit 36e58a14cc3dd057b2535e43ae87f25663113e52)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=efd20aa5b276ff215b6ac93e8e128aae63ad4b23
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Sep 7 16:30:15 2020 +1000

    llvmpipe: include gallivm perf flags in shader cache.
    
    Otherwise if you set perf flags, then don't set them,
    they won't take affect.
    
    Fixes: 6c0c61cb48e8 ("llvmpipe: add infrastructure for disk cache support")
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6630>
    (cherry picked from commit 4df0eef18898584b6d59efb08ebe83e3cb2cf500)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=66a14f9c410dd381e478897789d60bc8510be6ee
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Mon Jun 1 18:01:05 2020 -0500

    spirv: Run repair_ssa if there are discard instructions
    
    SPIR-V's OpKill is a control-flow instruction but NIR's discard is not.
    Therefore, it can be valid SPIR-V to have
    
        if (...) {
            foo = /* something */
        } else {
            discard;
        }
        use(foo);
    
    without any phi between the definition of foo and its use.  This is not
    true in NIR, however, because NIR's discard isn't considered
    control-flow.  Arguably, this is a NIR bug but making discard control-
    flow is a very deep change that can have serious ans subtle
    side-effects.   The easier thing to do is just fix up the SSA in case we
    have an OpKill which might have gotten us into the above case.
    
    Fixes dEQP-VK.graphicsfuzz.vectors-and-discard-in-function with the new
    NIR dominance validation pass enabled.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5288>
    (cherry picked from commit 7cedc4128a1f9d8ecae00ff41ccf1b63e4f3ebd0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b617a5230806090d433ce9ac17c27a1394931a1f
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon Sep 7 11:33:44 2020 +0100

    nir/opt_if: fix opt_if_merge when destination branch has a jump
    
    Fixes a case where opt_if_merge created code like:
    if (...) {
       break;
       loop {
          ...
       }
    }
    which caused opt_peel_loop_initial_if to complain that the loop pre-header
    wasn't a predecessor of the loop header. This patch prevents this
    (invalid, I think) unreachable code from being created.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3496
    Fixes: 4d3f6cb9739 ('nir: merge some basic consecutive ifs')
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6633>
    (cherry picked from commit 6cef8040672e84393e59ed6efa9953c95f5f8c92)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe13f9b8f5190bcf9da44c827d4bcfb4be5264bc
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Thu Sep 3 15:41:32 2020 +0100

    aco: fix one-off error in Operand(uint16_t)
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Fixes: 3d6f67950d9 ('aco: improve 8/16-bit constants')
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6583>
    (cherry picked from commit 0e9425a1b74ed7e38656eee43f72a527404bf0b6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=64ff6b112e8f8a3fa897b66856241e591b9bfc82
Author: Mauro Rossi <issor.oruam at gmail.com>
Date:   Sat Sep 5 23:31:28 2020 +0200

    android: freedreno/common: add libmesa_git_sha1 static dependency
    
    Fixes the following building error:
    
    external/mesa/src/freedreno/common/freedreno_uuid.c:30:10: fatal error: 'git_sha1.h' file not found
             ^~~~~~~~~~~~
    1 error generated.
    
    Fixes: e7458f19e ("freedreno/uuid: Generate meaningful device and driver UUID")
    Signed-off-by: Mauro Rossi <issor.oruam at gmail.com>
    Acked-by: Rob Clark <robdclark at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6625>
    (cherry picked from commit 9d02d65f4643bd4885c40ca2fca4e1e8f7cc202e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a906eea252690452fb5197286645ff50ae4d20d
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Mon Sep 7 21:06:52 2020 +0200

    radeonsi: Work around Wasteland 2 bug.
    
    Confirmed by an user on AMD HW that this driconf flag works
    around the issue.
    
    Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/1535
    CC: mesa-stable
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6637>
    (cherry picked from commit 9b3491870fcf76028a2eef42a95e35a4732a5bd4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3850f6b578ecb991d9763695d772d5273094be97
Author: Michel Zou <xantares09 at hotmail.com>
Date:   Tue Sep 1 09:22:27 2020 +0200

    swr: fix build with mingw
    
    Reviewed-by: Jan Zielinski <jan.zielinski at intel.com>
    Tested-by: Prodea Alexandru-Liviu <liviuprodea at yahoo.com>
    Cc: mesa-stable
    
    closes #3454
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6532>
    (cherry picked from commit 2c94a9788e79e5b5ea17c581ab49bc4c2aaf9a0c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b68d713f550337ab91f4896ee682adb22c1769b
Author: Qiang Yu <yuq825 at gmail.com>
Date:   Thu Sep 3 11:30:28 2020 +0800

    radeonsi: fix user fence space when MCBP is enabled
    
    When MCBP is enabled, IB maybe preempted which will also update
    the preempted fence field of the user fence. So we need to reserve
    enough space for each user fence.
    
    Fixes: 89d2dac5548 "radeonsi: enable preemption if the kernel enabled it"
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Signed-off-by: Qiang Yu <yuq825 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6577>
    (cherry picked from commit 3d5bed0e883217242a4357116399f60486580170)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=04cb446d4acf44fc29b0e42797aa31e503b9feb8
Author: Qiang Yu <yuq825 at gmail.com>
Date:   Thu Sep 3 17:39:41 2020 +0800

    radeonsi: fix syncobj wait timeout
    
    syncobj wait takes absolute timeout value.
    
    Fixes: 162502370c7 "winsys/amdgpu: implement sync_file import/export"
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Signed-off-by: Qiang Yu <yuq825 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6579>
    (cherry picked from commit c638301b42bc6ea1a623c2a53646047197fb8030)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc3e3d7ba46f16b921ddb8c16d9acef0633f6e69
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Aug 31 23:37:37 2020 -0400

    Revert "ac: generate FMA for inexact instructions for radeonsi"
    
    This reverts commit 4b9370cb0f3a2d9030e827f847f66bdefeaf08fd.
    
    Fixes: 4b9370cb0f3a2d9030e827f847f66bdefeaf08fd
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3429
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6284>
    (cherry picked from commit f85294207f808c8f3072d63ac9e8624f9594045c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c45536f9294b70036687c98fe764d39cc9febbef
Author: Andrey Vostrikov <av.linux.dev at gmail.com>
Date:   Thu Aug 27 09:32:48 2020 +0300

    egl/x11: Free memory allocated for reply structures on error
    
    This patch fixes memory leaks when reply is allocated and is not freed
    on error execution path.
    
    Found by enabling address sanitizer on simple EGL app.
    
    ```c
    
    int main()
    {
        EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY);
        EGLint major;
        EGLint minor;
    
        if (!eglInitialize(display, &major, &minor))
        {
            return 1;
        }
        eglTerminate(display);
        return 0;
    }
    ```
    
    Compiled with: `gcc testme.c -o testme -fsanitize=address -lasan -lEGL`
    
    Execution environment:
    - Windows 10, VMWare Player 15.5.2 build-15785246 without 3D accelaration
    - Guest OS: OpenSUSE Leap 15.2
    - Mesa 19.3.4
    
    Program output:
    
    ```sh
    ASAN_OPTIONS=fast_unwind_on_malloc=0 ./testme
    
    libEGL warning: DRI2: failed to authenticate
    ==52510==ERROR: LeakSanitizer: detected memory leaks
    
    Direct leak of 32 byte(s) in 1 object(s) allocated from:
        #0 0x7fa62315f500 in malloc (/usr/lib64/libasan.so.4+0xdc500)
        #1 0x7fa61e12d86b  (/usr/lib64/libxcb.so.1+0xf86b)
        #2 0x7fa61e12b5c7  (/usr/lib64/libxcb.so.1+0xd5c7)
        #3 0x7fa61e12cc3e  (/usr/lib64/libxcb.so.1+0xec3e)
        #4 0x7fa61e12cd4f in xcb_wait_for_reply (/usr/lib64/libxcb.so.1+0xed4f)
        #5 0x7fa61ebe02a5  (/usr/lib64/libEGL_mesa.so.0+0x202a5)
        #6 0x7fa61ebdb5ca  (/usr/lib64/libEGL_mesa.so.0+0x1b5ca)
        #7 0x7fa61ebd750c  (/usr/lib64/libEGL_mesa.so.0+0x1750c)
        #8 0x7fa61ebd7554  (/usr/lib64/libEGL_mesa.so.0+0x17554)
        #9 0x7fa61ebd1107  (/usr/lib64/libEGL_mesa.so.0+0x11107)
        #10 0x400856 in main (/home/user/testme+0x400856)
        #11 0x7fa622ad8349 in __libc_start_main (/lib64/libc.so.6+0x24349)
        #12 0x4006e9 in _start (/home/user/testme+0x4006e9)
    
    SUMMARY: AddressSanitizer: 32 byte(s) leaked in 1 allocation(s).
    ```
    
    Signed-off-by: Andrey Vostrikov <av.linux.dev at gmail.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-by: Eric Engestrom <eric at engestrom.ch>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6611>
    (cherry picked from commit 42420730d1cc88c5b4f1518365e9c273d7d4a120)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee1d4d5ee3e387adde9a72e5e958d14b5a7e5ab9
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri Sep 4 03:02:50 2020 -0700

    aco: handle unaligned loads on GFX10.3
    
    Same as GFX10.
    
    Cc: 20.2 mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6594>
    (cherry picked from commit 73eb24ab31a4d6e167ae8e8394f9f26f7c7d5c59)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e98a278dcdbd3f1d18626ece7faeb6488a6a9f4c
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon Aug 24 20:00:10 2020 +0100

    aco: fix byte_align_scalar for 3 dword vectors
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Fixes: fe08f0ccf94a7315bded5868b4f6a8bae744de79
       ('aco: add byte_align_scalar() & trim_subdword_vector() helper functions')
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4710>
    (cherry picked from commit 8faf85f68770ee3e060bb74c87e857070f336a02)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c6cc7277f0f785593adcc9c690ce2121fd73030
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Sep 4 06:38:15 2020 -0400

    ac/llvm: fix unaligned VS input loads on gfx10.3
    
    Fixes: a23802bcb9a
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6595>
    (cherry picked from commit 7acc7ec33b3900c645503a1df5d031057ed7dc6b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4866958ece9beb4d7a414e7c533c867051069a0b
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Tue Sep 1 22:09:43 2020 +0200

    meson: drop leftover PTHREAD_SETAFFINITY_IN_NP_HEADER
    
    55765f80 replaced this with a check for the header itself.
    
    Fixes: 55765f80b9ce7cce4ec6 ("util/u_thread: include pthread_np.h if found")
    Signed-off-by: Eric Engestrom <eric at engestrom.ch>
    Reviewed-by: Jonathan Gray <jsg at jsg.id.au>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6548>
    (cherry picked from commit 0f4d09443eba0c5a219c943940ff970f3d583f56)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=78764a41c26ea1222f34a2d13b8e630b2bf14029
Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Wed Jul 17 13:19:43 2019 -0700

    iris: Fix aux assertion in resource_get_handle
    
    iris_resource_get_handle currently asserts that the resource has an aux
    state that is suitable for sharing. However, the caller of this function
    can pass a flag to specify that it will handle flushing/resolving the
    resource as needed for sharing. Take this flag into account when
    asserting the state of the aux buffer.
    
    Fixes: e81392868e6 ("iris/resource: Drop redundant checks for aux support")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/128
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1371>
    (cherry picked from commit 3cf6325e724dbc20076629983dd1fed5ecac533a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2208acffe3cda5742b13aa7c8c8a7cb2ca4b904
Author: Tony Wasserka <tony.wasserka at gmx.de>
Date:   Wed Sep 2 19:15:01 2020 +0200

    amd/common: Fix various non-critical integer overflows
    
    The result of 0xf << 28 is a signed integer and hence overflows into the sign
    bit. In practice compilers did the right thing here, since the intent of the
    code was unsigned arithmetic anyway.
    
    Cc: mesa-stable
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6568>
    (cherry picked from commit 93c8777ace8453f4cbc879d0829e582cf151066f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f535785bbd4dff95f5c228cdbbb517609a5751b
Author: Tony Wasserka <tony.wasserka at gmx.de>
Date:   Wed Sep 2 18:28:36 2020 +0200

    aco: Fix integer overflows when emitting parallel copies during RA
    
    32-bit shifts were accidentally used before this change despite the intended
    output being 64 bits.
    
    This was observed when compiling Dolphin's ubershaders.
    
    Cc: mesa-stable
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6568>
    (cherry picked from commit 2182bbf84f0f19846a47f0438ec702f4d862731e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=928e13d8fd54f7212481665435871e9359370c4d
Author: Tony Wasserka <tony.wasserka at gmx.de>
Date:   Wed Sep 2 18:13:57 2020 +0200

    radv: Fix various non-critical integer overflows
    
    The result of 0xf << 28 is a signed integer and hence overflows into the sign
    bit. In practice compilers did the right thing here, since the intent of the
    code was unsigned arithmetic anyway.
    
    These conditions were observed in:
    * dEQP-VK.pipeline.image.suballocation.sampling_type.combined.view_type.1d.format.r4g4b4a4_unorm_pack16.count_8.size.512x1
    * dEQP-VK.binding_model.descriptorset_random.sets32.noarray.ubolimitlow.sbolimitlow.sampledimglow.outimgonly.noiub.nouab.frag.ialimithigh.0
    
    Cc: mesa-stable
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6568>
    (cherry picked from commit f18fc34c4d56d6e7d511002b39a257e18d8b3af3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7958051f4344f3b6fbccc60c0c3f65cdf656b416
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 2 13:48:51 2020 -0500

    iris: Re-emit push constants if we have a varying workgroup size
    
    Fixes: 33c61eb2f10526 "iris: Implement ARB_compute_variable_group_size"
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6570>
    (cherry picked from commit bbaa62e4e156012f05d2ddd9b19610d6465b62e7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=937405eda6bc48bbaa57e9bb07794f74da606dfe
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 2 10:13:16 2020 -0500

    intel/fs: Don't copy-propagate stride=0 sources into ddx/ddy
    
    This can come up if, for instance, the shader does a derivative of a
    uniform or flat input.  Ideally, NIR would use divergence analysis to
    get rid of the derivative in this case but it doesn't right now.  This
    fixes a crash in F1 2017.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reported-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Tested-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6564>
    (cherry picked from commit 8e8701b43a0fc1997ecdb6a9557dd3e2c1a0d398)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e325d431cf586ccd788e289dcc73e6bd1afbe27
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Mon Aug 31 21:58:12 2020 +0200

    spirv: Deal with glslang not setting NonUniform on constructors.
    
    Especially a problem for OpImage/OpSampledImage. Note that the problem
    doesn't seem to be propagation through glslang, but only in emitting
    the SPIR-V. So it is fine if we are somewhat lossy in handling this, as
    long as direct Op(Sampled)Image -> texture op chains work.
    
    Fixes: af81486a8cd "spirv: Simplify our handling of NonUniform"
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3406
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6451>
    (cherry picked from commit 191f8a4b9fcdf71c4edaa523e10b744b354fb5e4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=996971c94676e793d50821cda2cf4f8933d92802
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Mon Aug 31 01:57:36 2020 +0200

    radv: Avoid deadlock on bo_list.
    
    With the kernel timeline sysncobj changes, the kernel submits do
    not necessarily happen in global vkQueueSubmit order. Which should
    be fine, we added the appropriate waits for that. (See
    DRM_SYNCOBJ_WAIT_FLAGS_WAIT_FOR_SUBMIT in the winsys)
    
    However, all kernel submissions take a lock on the bo_list mutex,
    and since we do the wait in the winsys, we wait while having the
    bo_list mutex held. This means that as soon as a wait and a signal
    submission are out of order we have a deadlock on the bo_list mutex
    and the wait.
    
    Solution is to use a shared reader lock during the kernel submission,
    as we only need read access for the submission.
    
    Fixes: 6bc5ce7a91d "radv: Add timeline syncobj for timeline semaphores."
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3446
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6478>
    (cherry picked from commit 61b714a42ee676fe03b383c0caf050169e404c7d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dae04016ed35effcd4356c0df1f508891ec8f279
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Sat Aug 29 03:25:02 2020 +0200

    radv: Fix threading issue with submission refcounts.
    
    If decrement == 0 then:
    
    - it isn't safe to access the submission
    - even if it is, checking that the result of the atomic_sub is 0
      doesn't given an unique owner anymore.
    
    So skip it. The submission always starts out with refcount >= 1,
    so first one to decrement to 0 still get dibs on executing it.
    
    Fixes: 4aa75bb3bdd "radv: Add wait-before-submit support for timelines."
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6478>
    (cherry picked from commit 6b75262941b55960e2f73d93f85020fa6c9c2d2f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0bc75626a00bc9174c615d1a0624e1235a2b4634
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Aug 25 16:01:47 2020 -0700

    gallium/tgsi_exec: Fix up NumOutputs counting
    
    We can get duplicate declarations for an index (for example dvec3 + float
    packed into 2 vec4s, the second one won't pack into the first's array
    decl), and we'd end up stepping by the wrong amount in GS vtx/prim emit.
    
    Fixes vs-gs-fs-double, sso-vs-gs-fs-array-interleave piglit tests.
    
    Fixes: 49155c3264d0 ("draw/tgsi: fix geometry shader input/output swizzling")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6567>
    (cherry picked from commit 329dee14555b8c8da59e6b47a51050f2aa736596)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5d434c599d44507eb1a37be4218a98d78e5254c
Author: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Date:   Wed Sep 2 13:37:47 2020 +0300

    intel/compiler: Fix pointer arithmetic when reading shader assembly
    
    start_offset is a byte offset.
    
    Fixes: 04a995158084acbd1917b4c7e0f8d381e1c9222d
    Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6557>
    (cherry picked from commit 87fa645b9438ce7943ae09012f695a7a1bca3eeb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b9213e0b7902318a2b1aa5f81fc3cb302f2042c
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date:   Tue Sep 1 22:02:10 2020 +0200

    anv: refresh cached current batch bo after emitting some commands
    
    Fixes crashes in:
    - Rise of the Tomb Rider (on benchmark start)
    - Total War: Three Kingdoms (on game start)
    - Total War: Warhammer II (on game start)
    
    Fixes: 34a0ce58c7f ("anv: add a new execution mode for secondary command buffers")
    
    Signed-off-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6546>
    (cherry picked from commit e94c22429b64f419d9a66f04fa5ecdad33f7f5ef)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0cf9af563bcaf4220d7854f89b1fe9e1216cf8c0
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Wed Aug 12 13:28:55 2020 +0200

    radeonsi: use radeonsi_clamp_div_by_zero for SPECviewperf13, Road Redemption
    
    Fixes SPECviewperf 13 creo rendering.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2639
    Cc: mesa-stable
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6259>
    (cherry picked from commit a1c2bd6ce8981b34c0cf9333699b0ce75be6cb55)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99f96537db0e9bb0353348550321cee699d27d35
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Thu Aug 13 11:15:36 2020 +0200

    radeonsi,driconf: add clamp_div_by_zero option
    
    Cc: mesa-stable
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6259>
    (cherry picked from commit b8445520cba818dbc53db95ce99e2beb00d8884e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e13702af78f1e077d66c4e957355d4185dc3373
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Tue Aug 11 18:52:24 2020 +0200

    ac/llvm: add option to clamp division by zero
    
    Replace div(x) by min(div(x), FLT_MAX)) to avoid getting a NaN result
    when x is 0.
    
    A cheaper alternative would be to use legacy mult instructions but they're
    not exposed by LLVM.
    
    Cc: mesa-stable
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6259>
    (cherry picked from commit 32f46a55c8229b2a8d67d895be18651a81f8e6ff)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a88482e316c79f9de4e3c959763bfd6d8955e4f2
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Wed Jul 15 21:25:23 2020 +0200

    radeonsi: enable PIPE_CAP_NO_CLIP_ON_COPY_TEX
    
    This fixes specviewperf13 catia test rendering.
    
    Cc: mesa-stable
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6259>
    (cherry picked from commit f8c0e20152b7f3f0b8d881648083a271ca528c28)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b91ba4d584720e763642ad73e3d5eb6943ac130
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Wed Jul 15 21:23:48 2020 +0200

    mesa/st: introduce PIPE_CAP_NO_CLIP_ON_COPY_TEX
    
    If supported this means that src_x/src_y/width/height parameters of
    CopyTex functions will not be clipped using the read framebuffer's dimensions.
    
    Cc: mesa-stable
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6259>
    (cherry picked from commit d94bec5c49d926069f97a4b12fb2532611a9080c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e02d81072c32d534aad4d608dea5d6dc5ceb2000
Author: Jonathan Gray <jsg at jsg.id.au>
Date:   Tue Sep 1 12:13:43 2020 +1000

    vulkan: make VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT conditional
    
    Only advertise VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT if CLOCK_MONOTONIC_RAW
    is defined.  Fixes the build on OpenBSD which has CLOCK_MONOTONIC but not
    CLOCK_MONOTONIC_RAW.
    
    Fixes: 67a2c1493c0 ("vulkan: Add VK_EXT_calibrated_timestamps extension (radv and anv) [v5]")
    Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6517>
    (cherry picked from commit 4500e6e460dca068157862b95c7534d7d163c42c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=82973aa14ee95627949cfe374b38ab427781200a
Author: Jonathan Gray <jsg at jsg.id.au>
Date:   Tue Aug 4 17:47:33 2020 +1000

    radv: remove seccomp includes
    
    57c95d2ce23 ("radv: a support for a secure compile fork at device creation")
    added includes which were not removed in
    7324977e420 ("radv: remove the secure compile support feature")
    
    remove these no longer needed includes to fix the non-linux build
    
    Fixes: 7324977e420 ("radv: remove the secure compile support feature")
    Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6517>
    (cherry picked from commit 7fbeb2623f309c9966945a104f35b5c9f2034092)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8225f619ba2903ae43cfd27b7f7e95359a046484
Author: Jonathan Gray <jsg at jsg.id.au>
Date:   Fri Dec 6 01:21:07 2019 +1100

    util/os_misc: os_get_available_system_memory() for OpenBSD
    
    Return the smallest value of available non-kernel physical memory and
    the static per process data size limit as the amount of available
    system memory on OpenBSD.
    
    Fixes: b80930a6fea ("anv: add support for VK_EXT_memory_budget")
    Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
    Acked-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6517>
    (cherry picked from commit b30bd6fe5f254d895c1dec780f24518b3e880ed4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b69312343bae15b2b6ed9aa3605c1af30ec30e61
Author: Jonathan Gray <jsg at jsg.id.au>
Date:   Fri Dec 6 01:07:56 2019 +1100

    anv: use os_get_available_system_memory()
    
    Replace local get_available_system_memory() function with
    os_get_available_system_memory().
    
    Fixes: b80930a6fea ("anv: add support for VK_EXT_memory_budget")
    Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6517>
    (cherry picked from commit 5b1ed09ff023ff98fed0c78a5ea609821cb92a8c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=61121108ada107065fe120615610742572c3ae66
Author: Jonathan Gray <jsg at jsg.id.au>
Date:   Fri Dec 6 01:01:29 2019 +1100

    util/os_misc: add os_get_available_system_memory()
    
    Add os_get_available_system_memory() derived from
    src/intel/vulkan/anv_device.c get_available_system_memory()
    
    Fixes: b80930a6fea ("anv: add support for VK_EXT_memory_budget")
    Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6517>
    (cherry picked from commit 033dcb2978c6d95d42da944b8147228d239d32f4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8335d497e5f644088b96f8c5f0b0db94e5ec40e9
Author: Jonathan Gray <jsg at jsg.id.au>
Date:   Sat Nov 30 17:36:01 2019 +1100

    anv: use os_get_total_physical_memory()
    
    Replace non-portable sysinfo() use with Mesa's
    os_get_total_physical_memory()
    
    Fixes: 060a6434eca ("anv: Advertise larger heap sizes")
    Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6517>
    (cherry picked from commit 81b163fb73ae73709d257badf4f5aaf3b63fca4a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cbad87a206442d836915183c9c929abda077643b
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Fri Sep 11 09:52:25 2020 -0700

    .pick_status.json: Update to ef980ac0c1cd65993ba0c1d20e1c09b45bfef99d

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b89a76b7ceef2229f8e9eca1c9f792732356a40c
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Sep 2 20:07:43 2020 -0700

    VERSION: bump for 20.2.0-rc4



More information about the mesa-commit mailing list