Mesa (staging/19.0): 26 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 20 17:55:15 UTC 2019


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5609f46f54fffa12b218bbe20e918ade026a77c
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Thu Jun 20 10:53:32 2019 -0700

    cherry-ignore: add additional 19.1 only patches

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=359852a5410f0f98bf76c021334bd5a7ecc354c0
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Wed Jun 19 15:16:51 2019 +0200

    meson: Allow building radeonsi with just the android platform.
    
    Just as was allowed by autotools.
    
    Fixes: 108d257a168 "meson: build libEGL"
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    (cherry picked from commit d1c04835ab273c5f9806fbe2095b1dd03f460833)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f0e3e8a41ed8c70119b6cbe0a9243736f92ae2a
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Wed Jun 19 15:05:40 2019 +0200

    anv: Fix vulkan build in meson.
    
    Apparently the android part was never ported to meson.
    
    CC: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    (cherry picked from commit 755c633b8d9c15227ad07bbc98f06627d4ecf55d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=25c3188704831849bf28e877e42a4d0d2ad8ac65
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Wed Jun 19 15:03:43 2019 +0200

    radv: Fix vulkan build in meson.
    
    Apparently the android part was never ported to meson.
    
    CC: <mesa-stable at lists.freedesktop.org>
    Acked-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    (cherry picked from commit 4c300bd328138949659892447e7e68028cc950cb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=41e3639b3aea87ad7ca9e45a94764fd4ccfcae28
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Jun 18 16:11:07 2019 +0200

    radv: fix FMASK expand with SRGB formats
    
    Found while working on DCC for MSAA.
    
    Fixes: 6b976024a87 ("radv: add support for FMASK expand")
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    (cherry picked from commit a7f75377aba6853e08561acb9609c5e262e4d9a6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0eb21e88b033c728edaa7704e4247800764927ab
Author: Mathias Fröhlich <Mathias.Froehlich at gmx.net>
Date:   Thu Jun 6 10:22:25 2019 +0200

    egl: Don't add hardware device if there is no render node v2.
    
    Do not offer a hardware drm backed egl device if no render node
    is available. The current implementation will fail on this
    egl device. On top it issues a warning that is actually missleading.
    There are finally more error paths that can fail on the way to a
    hardware backed egl device. Fixing all of them would kind of require
    opening the drm device and see if there is a usable driver associated
    with the device. The taken approach avoids a full probe and fixes at
    least this kind of problem on kvm virtualization hosts I observe here.
    
    Fixes: dbb4457d985 ("egl: add EGL_EXT_device_drm support")
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>
    (cherry picked from commit 5743a36b2b32a91eaf82c8d109932fe4fea01233)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fbef0f9ea11a4aed32c27312f398944f3bf72149
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Jun 7 23:00:40 2019 -0700

    glsl: Fix out of bounds read in shader_cache_read_program_metadata
    
    The VaryingNames array has NumVaryings entries.  But BufferStride is
    a small array of MAX_FEEDBACK_BUFFERS (4) entries.  Programs with
    more than 4 varyings would read out of bounds.
    
    Also, BufferStride is set based on the shader itself, which means that
    it's inherently already included in the hash, and doesn't need to be
    included again.  At the point when shader_cache_read_program_metadata
    is called, the linker hasn't even set those fields yet.  So, just drop
    it entirely.
    
    Fixes valgrind errors in KHR-GL45.transform_feedback.linking_errors_test.
    
    Fixes: 6d830940f78 glsl/shader_cache: Allow shader cache usage with transform feedback
    
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    (cherry picked from commit 3c10a2726bcf686f03e31e79e40786e3894ff063)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1fe8661d2149eee694ac23189c681b6c43ce06c5
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Mon Jun 17 17:01:48 2019 -0500

    anv: Set STATE_BASE_ADDRESS upper bounds on gen7
    
    This should fix floating-point border color on all gen7 HW.  Integer is
    still thoroughly busted on gen7 because it doesn't exist on IVB and it's
    crazy on HSW.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 9672b7044cc329b94a72de9ec5bdda1895901304)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=57767250dd7565e35e3672e1572fb5b5591a8637
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Sat Jun 15 18:05:05 2019 +0200

    radv: Decompress DCC when the image format is not allowed for buffers.
    
    Otherwise the buffer loads/stores in the bufimage meta operations fail.
    
    If we decompress DCC then we can use the "canonical" format compatible
    with the not-supported format.
    
    CC: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    (cherry picked from commit 410759091173fa61436ba46baeb20a79d5767849)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce97d04f389d78d5ba0fb9cc99008c2e739b731a
Author: Haihao Xiang <haihao.xiang at intel.com>
Date:   Wed Jun 12 16:28:58 2019 +0800

    i965: support UYVY for external import only
    
    It is similar with YUYV
    
    Fixes: 165e704719b85c ("i965/i915: Add UYVY as the supported format")
    Signed-off-by: Haihao Xiang <haihao.xiang at intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 8ead5bebdb5cedc5250116403166279b1b292a85)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=62daf3cde257d47ee69e11c4892cc9db26896ef5
Author: Kevin Strasser <kevin.strasser at intel.com>
Date:   Thu May 30 13:31:20 2019 -0700

    st/mesa: Add rgbx handling for fp formats
    
    Add missing cases for fp32 and fp16 formats.
    
    Fixes: c68334ffc0a9 "st/mesa: add floating point formats in st_new_renderbuffer_fb()"
    Signed-off-by: Kevin Strasser <kevin.strasser at intel.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    (cherry picked from commit 845ec8576a600ea54f80a2639e0466041f145ffa)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7903658b369718ceb24b2fd2e8563758aff73c5a
Author: Kevin Strasser <kevin.strasser at intel.com>
Date:   Thu May 30 12:37:07 2019 -0700

    gallium/winsys/kms: Fix dumb buffer bpp
    
    The bpp in the dumb buffer creation request is hardcoded to 32, which is an
    incorrect assumption as the caller is free to pick any pipe format. Use the
    bpp supplied to us through util_format_get_blocksizebits().
    
    Fixes: 3b176c441b "gallium: Add a dumb drm/kms winsys backed swrast provider"
    Signed-off-by: Kevin Strasser <kevin.strasser at intel.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    (cherry picked from commit ec0a68e50dd3ebfbeee77670d7d09184d0907ead)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=405e4b88811b070f7bf1b751a9ae67dcff4378dd
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Jun 12 09:44:29 2019 +0200

    radv: fix VK_EXT_memory_budget if one heap isn't available
    
    When the visible VRAM size is equal to the VRAM size only two
    heaps are exposed.
    
    This fixes dEQP-VK.api.info.device.memory_budget.
    
    Cc: 19.0 19.1 <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-By: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    (cherry picked from commit d3781512468aa1c96e92cc6a99963cd0fed80d30)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d5b8cb2561ba7b2c6acf57a77fcae8a2ae5e51a
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Jun 11 16:46:32 2019 +0200

    radv: fix occlusion queries on VegaM
    
    The number of render backends is 16 but the enabled mask is 0xaaaa.
    
    As noticed by Bas, allowing disabled render backends might break
    the OCCLUSION_QUERY packet. We don't use it yet but keep this in
    mind.
    
    This fixes dEQP-VK.query_pool.* and dEQP-VK.multiview.*.
    
    Cc: 19.0 19.1 <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-By: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    (cherry picked from commit 2ef9d2738c8905cb3a83baf14cc1d088786d57e3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=449b24aa06a6a33c0d1b05686a8b3c71e16a8ae5
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Mon Jun 10 16:17:46 2019 +0200

    radv: Prevent out of bound shift on 32-bit builds.
    
    uintptr_t is 32-bits then and shifting it by 32 bits results in undefined
    behavior IIRC.
    
    Fixes: b3c8de1c55c "radv: save all descriptor pointers into the trace BO"
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    (cherry picked from commit 39c71e002561052d0596200b2d0ebdb8cc39d862)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7ff7af2621aea9e7f668c8c5d991608ce883502
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Thu Jun 6 14:46:47 2019 +0200

    radv: fix setting CB_SHADER_MASK for dual source blending
    
    CB_SHADER_MASK was computed without the second color buffer
    format which looks totally wrong to me.
    
    While we are at it, copy a comment from RadeonSI.
    
    Cc: 19.0 19.1 <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-By: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    (cherry picked from commit e9316fdfd4899c269a19e106a6ffa4309ae48b27)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8066847b8ef39169e59890691a38efdd9c60a7ed
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Wed Jun 5 16:45:03 2019 +0100

    mapi: correctly handle the full offset table
    
    Earlier commit converted ES1 and ES2 to a new, much simpler, dispatch
    generator. At the same time, GL/glapi and the driver side are still
    using the old code.
    
    There is a hidden ABI between GL*.so and glapi.so, former referencing
    entry-points by offset in the _glapi_table. Hence earlier commit added
    the full table of entry-points, alongside a marker for other cases like
    indirect GL(X) and driver-size remapping.
    
    Yet the patches did not handle things fully, thus it was possible to
    get different interpretations of the dispatch table after the marker.
    
    This commit fixes that adding an indicative error message to catch
    future bugs.
    
    While here correct the marker (MAX_OFFSETS) comment.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110302
    Fixes: cf317bf0937 ("mapi: add all _glapi_table entrypoints tostatic_data.py")
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit a379b1c0ee31a792bba250cc466ad4b161a610ec)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4f5616c60f02a8f05295abc5702b056063a96c8
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Thu Jun 6 16:31:01 2019 +0200

    radv: fix alpha-to-coverage when there is unused color attachments
    
    When alphaToCoverage is enabled, we should always write the alpha
    channel of MRT0 if it's unused. This now matches RadeonSI.
    
    This fixes the new CTS:
    dEQP-VK.pipeline.multisample.alpha_to_coverage_unused_attachment.samples_*.alpha_invisible
    
    Cc: 19.0 19.1 <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-By: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl
    (cherry picked from commit 91aa25f4625014ddf194578fc1c1d0a505e5f8db)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7768f52c04cc3c6fb5cd220ab04a00d449e939aa
Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Wed Oct 24 14:50:32 2018 -0700

    anv/cmd_buffer: Initalize the clear color struct for CNL+
    
    On CNL+, the clear color struct is composed of RGBA channel values and
    fields which are either reserved by the HW or used to control
    fast-clears. Currently anv initializes the channel values to zero and
    allows the other fields to be undefined.
    
    Satisfy the MBZ field requirements by removing an optimization that
    doesn't hold true for CNL+ and pulling in the number of dwords to
    initialize from ISL.
    
    Cc: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit b4198e792c037dccb4d433abc1368bd8cc8d22ee)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae0caaf194397927858fbb3628ddb277f2ba90cb
Author: Charmaine Lee <charmainel at vmware.com>
Date:   Tue May 7 14:07:50 2019 -0700

    svga: Remove unnecessary check for the pre flush bit for setting vertex buffers
    
    This fixes the missing rebind when the can_pre_flush bit
    is not set and the vertex buffers are the same as what have been sent.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Neha Bhende <bhenden at vmware.com>
    Signed-off-by: Charmaine Lee <charmainel at vmware.com>
    Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
    (cherry picked from commit f29b8fde915728134b2e2b912642fe573d405fcb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f37df66229d441d4257f51abd69d12358a00627
Author: Deepak Rawat <drawat at vmware.com>
Date:   Wed May 9 15:50:39 2018 -0700

    winsys/svga/drm: Fix 32-bit RPCI send message
    
    Depending on whether compiled with frame-pointer or not, the temporary
    memory location used for the bp parameter in these macros are referenced
    relative to the stack pointer or the frame pointer.
    Hence we can never reference that parameter when we've modified either
    the stack pointer or the frame pointer, because then the compiler would
    generate an incorrect stack reference.
    
    Fix this by pushing the temporary memory parameter on a known location on
    the stack before modifying the stack- and frame pointers.
    
    Also in case of failuire RPCI channel is not closed which lead to vmx
    running out of channels.
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Deepak Rawat <drawat at vmware.com>
    Reviewed-by: Sinclair Yeh <syeh at vmware.com>
    Reviewed-by: Thomas Hellstrom <thellstrom at vmware.com>
    Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
    (cherry picked from commit 72fc886826e97a547828da427e1a157b83ba5ea0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea2e23b54ff3a7d2d5e419fe25ec12838a4dd268
Author: Nataraj Deshpande <nataraj.deshpande at intel.com>
Date:   Wed Jun 5 12:32:01 2019 -0700

    anv: Fix check for isl_fmt in assert
    
    Checking isl_fmt returned value in assert seems appropriate
    instead of format variable.
    
    Fixes: f1654fa7e31 "anv/android: support creating images from external format"
    Signed-off-by: Nataraj Deshpande <nataraj.deshpande at intel.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Sagar Ghuge <sagar.ghuge at intel.com>
    (cherry picked from commit d6724471a5775cbbeaafff1e1982f322b1d04c94)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6f1bdc5c79697f112647f3f62edc0cb302c294a
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Jun 5 16:54:40 2019 -0500

    nir/propagate_invariant: Don't add NULL vars to the hash table
    
    Fixes: 8410cf66d "nir/propagate_invariant: Skip unknown vars"
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    (cherry picked from commit d96878a66a559f6690f01e82f06fcf92ae958d3c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b7363f499764c6c24458271c1b1a98c07919553
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Wed Jun 5 16:37:20 2019 -0700

    docs: Add SHA256 sums for 19.0.6

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=095d22b2cb6778983e4fabccae18f0a6048791e6
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Wed Jun 5 16:32:35 2019 -0700

    docs: Add relnotes for 19.0.6

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a8337416f1beb715a1571cdcd61df80af80e1a1
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Wed Jun 5 16:30:14 2019 -0700

    VERSION: bump to 19.0.6




More information about the mesa-commit mailing list