URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc2894d376e75de5255ed9670bcae14524cb0801
Author: Emil Velikov <[email protected]>
Date:   Thu Jan 12 17:18:51 2017 +0000

    automake: use shared llvm libs for make distcheck
    
    Cc: "12.0 13.0" <[email protected]>
    Signed-off-by: Emil Velikov <[email protected]>
    (cherry picked from commit 23dcce0c03db055c168696c9120637506b68b13d)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=febf22ff559604fca421a0555aeead5cbd8d4377
Author: Chad Versace <[email protected]>
Date:   Fri Dec 16 12:05:45 2016 -0800

    i965/mt: Disable HiZ when sharing depth buffer externally (v2)
    
    intel_miptree_make_shareable() discarded and disabled CCS. Fix it so
    that it discards and disables HiZ too.
    
    Fixes 
dEQP-EGL.functional.image.render_multiple_contexts.gles2_renderbuffer_depth16_depth_buffer
    on Skylake.
    
    v2: Actually do what the commit message says. Discard the HiZ buffer.
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=98329
    Reviewed-by: Topi Pohjolainen <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Reviewed-by: Anuj Phogat <[email protected]>
    Cc: Nanley Chery <[email protected]
    Cc: Haixia Shi <[email protected]>
    (cherry picked from commit 42011be1e27f59d750b781c10766e19ec0ee6ff5)
    [Emil Velikov: patch is a backport by Chad of above commit]

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c7b53bba3738480e3ddaf84a0386f72834e5428
Author: Chad Versace <[email protected]>
Date:   Fri Dec 9 16:18:11 2016 -0800

    i965/mt: Disable aux surfaces after making miptree shareable
    
    The entire goal of intel_miptree_make_shareable() is to permanently
    disable the miptree's aux surfaces. So set
    intel_mipmap_tree:disable_aux_buffers after the function's done with
    discarding down the aux surfaces.
    
    References: https://bugs.freedesktop.org/show_bug.cgi?id=98329
    Reviewed-by: Topi Pohjolainen <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Cc: Nanley Chery <[email protected]
    Cc: Haixia Shi <[email protected]>
    Cc: [email protected]
    (cherry picked from commit 1c8be049bea786c2c054a770025976beba5b8636)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c880deef41d3c4cf2dc56342c3f8cc6edb6728ca
Author: Emil Velikov <[email protected]>
Date:   Fri Dec 16 15:08:30 2016 +0000

    get-typod-pick-list.sh: add new script
    
    Typos do happen as people nominate patches for stable. This script aims
    to catch most of those.
    
    Due to the subtle nature of things, one has to pay special attention to
    the output, similar to get-extra-pick-list.sh.
    
    At the moment only the following is handled:
     grep -i "CC:.*mesa-dev"
    
    Cc: 12.0 13.0 <[email protected]>
    Signed-off-by: Emil Velikov <[email protected]>
    (cherry picked from commit f0bdd13fdbc0bec1119b296d99820899183e26ab)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=09973d9a991919d010251a6e0998fa105374b654
Author: Ilia Mirkin <[email protected]>
Date:   Tue Jan 10 22:07:53 2017 -0500

    nouveau: take extra push space into account for pushbuf_space calls
    
    Ever since a long time ago when I messed around with fences, I ensure
    that after a PUSH_SPACE call there is enough space to write a fence out
    into the pushbuf.
    
    However the PUSH_SPACE macro is not all-knowing, and so sometimes we
    have to invoke nouveau_pushbuf_space manually with the relocs/pushes
    args set. If we don't take the extra allocation from PUSH_SPACE into
    account, then we will end up accidentally flushing when the code was not
    expecting a flush. This can lead to various runtime and rendering
    failures.
    
    The amount of extra allocation isn't that important - it has to be at
    least 8 based on the current nouveau_winsys.h setting, but even more
    won't hurt. I just rounded up to powers of 2.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99354
    Cc: "12.0 13.0" <[email protected]>
    Signed-off-by: Ilia Mirkin <[email protected]>
    Acked-by: Ben Skeggs <[email protected]>
    (cherry picked from commit eb60a89bc3ac2b43faf52d06e05670bbbca7292d)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=36a54c27fd01e186c777acb4c12c61a7a32c2838
Author: Kenneth Graunke <[email protected]>
Date:   Sun Jan 8 23:03:25 2017 -0800

    spirv: Move cursor before calling vtn_ssa_value() in phi 2nd pass.
    
    vtn_ssa_value() can produce variable loads, and the cursor might
    be after a return statement, causing nir_builder assert failures
    about not inserting instructions after a jump.
    
    This fixes:
    dEQP-VK.spirv_assembly.instruction.graphics.barrier.in_if
    dEQP-VK.spirv_assembly.instruction.graphics.barrier.in_switch
    
    Cc: "13.0 12.0" <[email protected]>
    Signed-off-by: Kenneth Graunke <[email protected]>
    Reviewed-by: Jason Ekstrand <[email protected]>
    (cherry picked from commit 203c1287816f2a73475a48dd72a9a2ed03a42ac1)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=57708155d27ae39010c3ecee642217d3a461c808
Author: Fredrik Höglund <[email protected]>
Date:   Sun Jan 1 15:34:17 2017 +0100

    dri3: Fix MakeCurrent without a default framebuffer
    
    In OpenGL 3.0 and later it is legal to make a context current without
    a default framebuffer.
    
    This has been broken since DRI3 support was introduced.
    
    Cc: "13.0 12.0" <[email protected]>
    Reviewed-by: Marek Olšák <[email protected]>
    (cherry picked from commit b6670157d742548e7f2430614786c733eb4c20e9)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf18ee4fcc2f0ec293ab0baf8bc5705e30beac20
Author: Michel Dänzer <[email protected]>
Date:   Fri Dec 16 18:05:58 2016 +0900

    cso: Don't restore nr_samplers in cso_restore_fragment_samplers
    
    If info->nr_samplers > ctx->nr_fragment_samplers_saved, the assignment
    would prevent cso_single_sampler_done from unbinding the no longer used
    samplers from the driver, which could result in use-after-free. This is
    probably unlikely to happen in practice though.
    
    Cc: "12.0 13.0" <[email protected]>
    Reviewed-by: Nicolai Hähnle <[email protected]>
    (cherry picked from commit 3d661a12be5be95da929b19cf4b5976b3c3fb8e9)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=76816e70a9187c13317ab2d139e1fd40a19afc17
Author: Jason Ekstrand <[email protected]>
Date:   Thu Nov 10 16:43:35 2016 -0800

    anv/descriptor_set: Write the state offset in the surface state free list.
    
    When Kristian reworked descriptor set allocation, somehow he forgot to
    actually store the offset in the free list.  Somehow, this completely
    missed CTS testing until now... This fixes all 2744 of the new
    'dEQP-VK.texture.filtering.* tests in the latest CTS.
    
    Cc: "12.0 13.0" <[email protected]>
    Reviewed-by: Iago Toral Quiroga <[email protected]>
    (cherry picked from commit 37537b7d868ddca376e2553a4ea9e5e0033a961c)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0934035a5a23c38692e01761df150c1e8f4819e
Author: Jason Ekstrand <[email protected]>
Date:   Mon Nov 7 17:25:07 2016 -0800

    anv/device: Implicitly unmap memory objects in FreeMemory
    
    From the Vulkan spec version 1.0.32 docs for vkFreeMemory:
    
       "If a memory object is mapped at the time it is freed, it is implicitly
       unmapped."
    
    Signed-off-by: Jason Ekstrand <[email protected]>
    Reviewed-by: Nanley Chery <[email protected]>
    Cc: "12.0 13.0" <[email protected]>
    (cherry picked from commit b1217eada9e32bf387d4d14615340aa5b5fd1f5c)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=08a9f69a8bf509bc32837e1cae9b456b8e952577
Author: Jason Ekstrand <[email protected]>
Date:   Mon Nov 7 17:24:24 2016 -0800

    anv/device: Return the right error for failed maps
    
    Signed-off-by: Jason Ekstrand <[email protected]>
    Reviewed-by: Nanley Chery <[email protected]>
    Cc: "12.0 13.0" <[email protected]>
    (cherry picked from commit 920f34a2d9f14f023aee5203baa110c971519ee8)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d780f899669590a7a5aad054dc239ab9dd3eeccf
Author: Jason Ekstrand <[email protected]>
Date:   Thu Jul 21 13:15:59 2016 -0700

    spirv/nir: Add support for ImageQuerySamples
    
    Signed-off-by: Jason Ekstrand <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Cc: "12.0" <[email protected]>
    (cherry picked from commit 9e05e51cff69dbb5da8588184c3b934e59c9a5ac)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a02edabb670a3aa4451ba33b3242a35ac3906186
Author: Jason Ekstrand <[email protected]>
Date:   Thu Jul 21 12:01:46 2016 -0700

    spirv/nir: Handle texture projectors
    
    Signed-off-by: Jason Ekstrand <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Cc: "12.0" <[email protected]>
    (cherry picked from commit 71202352c8d9f87d7b6f06bece67771d7cf641a4)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=70bb67febcb2743bb14fa0f560499f4a90505dcc
Author: Jason Ekstrand <[email protected]>
Date:   Thu Jul 21 12:01:35 2016 -0700

    nir/spirv: Refactor coordinate handling in handle_texture
    
    Signed-off-by: Jason Ekstrand <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Cc: "12.0" <[email protected]>
    (cherry picked from commit 36c31b8fa22acee78c26ec9a82fbc13d992d022f)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=912647901705d07055d87847d5994b24d1e2bf43
Author: Jason Ekstrand <[email protected]>
Date:   Thu Jul 21 11:56:09 2016 -0700

    spirv/nir: Refactor type handling in handle_texture
    
    Signed-off-by: Jason Ekstrand <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Cc: "12.0" <[email protected]>
    (cherry picked from commit b820c8b78c8e72426dbf6188e21c34fb956ddbcf)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f76da483a28c0c180c2abb3156af43d7e20ef650
Author: Jason Ekstrand <[email protected]>
Date:   Thu Jul 21 11:47:44 2016 -0700

    spirv/nir: Move opcode selection higher up in handle_texture
    
    Signed-off-by: Jason Ekstrand <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Cc: "12.0" <[email protected]>
    (cherry picked from commit 561be50a1ac63cd2f157cf6d305569e5a33f12da)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ac563361880577c52009ca191a2b71b673d8706
Author: Jason Ekstrand <[email protected]>
Date:   Wed Jul 20 21:10:20 2016 -0700

    anv/image: Assert that the image format is actually supported
    
    Signed-off-by: Jason Ekstrand <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Cc: "12.0" <[email protected]>
    (cherry picked from commit c8da91aa243dd5dcb4b529ce5be15b45384a50d2)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=32d7a060fa43a533bee6e1fa9ecf732b67135540
Author: Jason Ekstrand <[email protected]>
Date:   Wed Jul 20 20:57:37 2016 -0700

    spirv/nir: Don't increment coord_components for array lod queries
    
    For lod query instructions, we really don't care whether or not the sampler
    is an array type because that doesn't factor into the LOD.
    
    Signed-off-by: Jason Ekstrand <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Cc: "12.0" <[email protected]>
    (cherry picked from commit 34a39e91bac2c2f12389cded943019b79c7a9a06)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb96145c7446d7b4d5480cc4e580a2d1273537c0
Author: Jason Ekstrand <[email protected]>
Date:   Thu Jul 21 13:07:17 2016 -0700

    i965: Get rid of the do_lower_unnormalized_offsets pass
    
    We can do this in NIR now.  No need to keep a GLSL pass lying around for
    it.
    
    Signed-off-by: Jason Ekstrand <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Cc: "12.0" <[email protected]>
    (cherry picked from commit 67b7d876e429f13de874df447c67f47d2890f71a)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ddd048bbf564989b3ab7d806e1bd824e34117042
Author: Jason Ekstrand <[email protected]>
Date:   Thu Jul 21 12:55:21 2016 -0700

    i965/nir: Enable NIR lowering of txf and rect offsets
    
    This fixes the following piglit tests on gen6+:
    
    tex-miplevel-selection textureProjGradOffset 2DRect
    tex-miplevel-selection textureGradOffset 2DRect
    tex-miplevel-selection textureGradOffset 2DRectShadow
    tex-miplevel-selection textureProjGradOffset 2DRect_ProjVec4
    tex-miplevel-selection textureProjGradOffset 2DRectShadow
    
    Signed-off-by: Jason Ekstrand <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Cc: "12.0" <[email protected]>
    (cherry picked from commit 9f32721f8695f3e55849dce015da3b53d1af5d57)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=236ecd3c4ec76dee759f7ff322971c4e836eb6b5
Author: Jason Ekstrand <[email protected]>
Date:   Wed Jul 20 20:32:31 2016 -0700

    nir/lower_tex: Add support for lowering coordinate offsets
    
    On i965, we can't support coordinate offsets for texelFetch or rectangle
    textures.  Previously, we were doing this with a GLSL pass but we need to
    do it in NIR if we want those workarounds for SPIR-V.
    
    Signed-off-by: Jason Ekstrand <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Cc: "12.0" <[email protected]>
    (cherry picked from commit d9156efc5292b4ac7cea9d12e68882fc7b5da5fd)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=81e78ee65c04f787989261f76fa21e0ba37252e2
Author: Jason Ekstrand <[email protected]>
Date:   Wed Jul 20 20:40:43 2016 -0700

    nir/lower_tex: Add some helpers for working with tex sources
    
    Signed-off-by: Jason Ekstrand <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Cc: "12.0" <[email protected]>
    (cherry picked from commit 843fc8f3e782379899976f6f6f6dcdeb58153fa1)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ebb5368003c7d35509ddbab18a8aa7882916860
Author: Jason Ekstrand <[email protected]>
Date:   Tue May 3 20:18:50 2016 -0700

    nir: Add a helper for determining the type of a texture source
    
    Signed-off-by: Jason Ekstrand <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Cc: "12.0" <[email protected]>
    (cherry picked from commit 09135cd55a05908a68e173e37e0f5c375f341776)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=89a8fd71afeb418daa2cb299586453bd26ceee78
Author: Jason Ekstrand <[email protected]>
Date:   Wed Jul 20 20:06:09 2016 -0700

    anv/pipeline: Set binding_table.gather_texture_start
    
    This should get texture gather working on gen8+ and mostly working on gen7.
    
    Signed-off-by: Jason Ekstrand <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Cc: "12.0" <[email protected]>
    (cherry picked from commit 3c0077a6ec4c0ffd6e74e219c786d5d7f9217ce9)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a293e6a0c371d08028221d883b6e5c05fdd0799
Author: Jason Ekstrand <[email protected]>
Date:   Wed Jul 20 19:56:45 2016 -0700

    spirv/nir: Properly handle gather components
    
    Signed-off-by: Jason Ekstrand <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Cc: "12.0" <[email protected]>
    (cherry picked from commit 95e9d58bdb7df402d9035842c3fe76234a14c2da)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=231ace7eec1cdbd6100c1a085d99165d0724079e
Author: Jason Ekstrand <[email protected]>
Date:   Wed Jul 20 19:55:51 2016 -0700

    spirv/nir: Add support for shadow samplers that return vec4
    
    While SPIR-V technically doesn't support "old style" shadow, the
    shadow-compare gather instruction does return a vec4 so we need to be able
    to set the old_style_shadow bit in NIR.
    
    Signed-off-by: Jason Ekstrand <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Cc: "12.0" <[email protected]>
    (cherry picked from commit 7c7acf53b2ddd41d307699ebd8bf108c4478ce07)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c07386e2c899ef4683b72f065a83ebbd826ef8bc
Author: Jason Ekstrand <[email protected]>
Date:   Wed Jul 20 19:23:17 2016 -0700

    spirv/nir: Fix some texture opcode asserts
    
    We can't get an lod with txf_ms and SPIR-V considers textureGrad to be an
    explicit-LOD texturing instruction.
    
    Signed-off-by: Jason Ekstrand <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Cc: "12.0" <[email protected]>
    (cherry picked from commit 2ddefd03b748024735c106b97b9acbdab6c93766)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb4195ca260e65dcc666fea3a687dec41cdf86d2
Author: Nicolai Hähnle <[email protected]>
Date:   Wed Jun 1 13:24:19 2016 +0200

    radeonsi: enable WQM in PS prolog when needed
    
    WQM is needed when the PS prolog computes a VGPR that is consumed by a 
shader
    with (implicit or explicit) derivatives.
    
    Depends on http://reviews.llvm.org/D20839 / LLVM r272063 for this to be
    effective (otherwise it's just a no-op).
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95130
    Cc: 12.0 <[email protected]>
    Reviewed-by: Marek Olšák <[email protected]>
    (cherry picked from commit b42bc90b6add0d0f81d915d49712761d32329afa)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0386f956b3ea52fae9c28b12939e0a836e3a2f0c
Author: Matt Turner <[email protected]>
Date:   Mon Nov 28 15:21:51 2016 -0800

    i965/fs: Reject copy propagation into SEL if not min/max.
    
    We shouldn't ever see a SEL with conditional mod other than GE (for max)
    or L (for min), but we might see one with predication and no conditional
    mod.
    
    total instructions in shared programs: 8241806 -> 8241902 (0.00%)
    instructions in affected programs: 13284 -> 13380 (0.72%)
    HURT: 62
    
    total cycles in shared programs: 84165104 -> 84166244 (0.00%)
    cycles in affected programs: 75364 -> 76504 (1.51%)
    helped: 10
    HURT: 34
    
    Fixes generated code in at least Sanctum 2, Borderlands 2, Goat
    Simulator, XCOM: Enemy Unknown, and Shogun 2.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92234
    Reviewed-by: Jason Ekstrand <[email protected]>
    (cherry picked from commit 7bed52bb5fb4cfd5f91c902a654b3452f921da17)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb9127d22472cc1799a89497f6850c6ce533c349
Author: Matt Turner <[email protected]>
Date:   Mon Nov 28 10:48:53 2016 -0800

    i965/fs: Add unit tests for copy propagation pass.
    
    Pretty basic, but it's a start.
    
    Acked-by: Jason Ekstrand <[email protected]>
    (cherry picked from commit 091a8a04adb28a2044e3baadba0af52a185b3bd0)
    [Emil Velikov: s/gen_device_info/brw_device_info/, nir_shader_create()
    has only three arguments]
    Signed-off-by: Emil Velikov <[email protected]>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d37d8d81d5504e6addb793754976fe8efe97914d
Author: Matt Turner <[email protected]>
Date:   Mon Nov 28 10:45:08 2016 -0800

    i965/fs: Rename opt_copy_propagate -> opt_copy_propagation.
    
    Matches the vec4 backend, cmod propagation, and saturate propagation.
    
    Reviewed-by: Jason Ekstrand <[email protected]>
    (cherry picked from commit 6014da50ec41d1ad43fec94a625962ac3f2f10cb)
    [Emil Velikov: resolve trivial conflicts - don't rename instances which
    do not exist]
    Signed-off-by: Emil Velikov <[email protected]>
    
    Conflicts:
        src/mesa/drivers/dri/i965/brw_fs.cpp

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=630c41e2aa42da0fe20870493c550598b7936236
Author: Marek Olšák <[email protected]>
Date:   Thu Aug 25 22:02:56 2016 +0200

    gallium/radeon: fix the draw-calls HUD query
    
    reported by kisak on irc,
    it only applies to stable, not master
    
    Fix separated/backported from commit 4140afd04bc ("gallium/radeon: add
    driver queries for compute/dma call stats and spills")
    
    Cc: 11.1 11.2 12.0 <[email protected]>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d278c15a171aed6e8ce9ab4d27c9fb7d51419fee
Author: Marek Olšák <[email protected]>
Date:   Wed Dec 7 23:01:56 2016 +0100

    radeonsi: disable the constant engine (CE) on Carrizo and Stoney
    
    It must be disabled until the kernel bug is fixed, and then we'll enable CE
    based on the DRM version.
    
    Cc: 12.0 13.0 <[email protected]>
    Reviewed-by: Nicolai Hähnle <[email protected]>
    (cherry picked from commit 31f988a9d6d05f4aaea4d0455e509a5f6b667d9c)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce56dfca9a3f6596dd193d3a564cd8b5d23313e7
Author: Marek Olšák <[email protected]>
Date:   Fri Aug 19 01:37:34 2016 +0200

    radeonsi: disable CE on SI + AMDGPU
    
    Reviewed-by: Edward O'Callaghan <[email protected]>
    Reviewed-by: Bas Nieuwenhuizen <[email protected]>
    (cherry picked from commit 49c798e902be6c95ae44422cb05c98e1e8f6f1ca)
    Nominated-by: Emil Velikov <[email protected]>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3197612a1aeb3240fa200b90b82d875913a4ef64
Author: Marek Olšák <[email protected]>
Date:   Fri Dec 2 02:57:30 2016 +0100

    radeonsi: fix incorrect FMASK checking in bind_sampler_states
    
    Cc: 12.0 13.0 <[email protected]>
    Reviewed-by: Nicolai Hähnle <[email protected]>
    (cherry picked from commit 38d4859b9465146189c234cd372de9d3eee86a92)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d919a6fc6e236fc001e6a61a1d4288830020a60
Author: Marek Olšák <[email protected]>
Date:   Fri Dec 2 02:18:25 2016 +0100

    radeonsi: always restore sampler states when unbinding sampler views
    
    Cc: 13.0 12.0 <[email protected]>
    (cherry picked from commit b3a2aa9cba46bd6c8de22390b3b1ce9ac6c27988)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f71c3734ced0d33693422abe1ed83774fa1e3851
Author: Marek Olšák <[email protected]>
Date:   Fri Dec 2 15:39:25 2016 +0100

    cso: don't release sampler states that are bound
    
    This fixes random radeonsi GPU hangs in Batman Arkham: Origins (Wine) and
    probably many other games too.
    
    cso_cache deletes sampler states when the cache size is too big and doesn't
    check which sampler states are bound, causing use-after-free in drivers.
    Because of that, radeonsi uploaded garbage sampler states and the hardware
    went bananas. Other drivers may have experienced similar issues.
    
    Cc: 12.0 13.0 <[email protected]>
    Reviewed-by: Nicolai Hähnle <[email protected]>
    Reviewed-by: Edward O'Callaghan <[email protected]>
    (cherry picked from commit 6dc96de303290e8d1fc294da478c4f370be98dea)

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to