Mesa (19.1): 27 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 21 14:31:14 UTC 2019


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ebd90fc7e00b50ec1d153aa6b0be3482a3f4d662
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Wed May 1 11:51:01 2019 +0100

    util/os_file: resize buffer to what was actually needed
    
    Fixes: 316964709e21286c2af5 "util: add os_read_file() helper"
    Reported-by: Jason Ekstrand <jason at jlekstrand.net>
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    (cherry picked from commit 955c63d3643f30d7db0c5d16e06a5eda4f62f889)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=25a34df61439b25645d03510d6354cb1f5e8a185
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Jun 19 23:08:25 2019 -0500

    iris: Fix iris_flush_and_dirty_history to actually dirty history.
    
    When I split iris_flush_and_dirty_history into two helper functions,
    I accidentally made it stop dirtying.  Which was...sort of the point.
    
    Fixes: 21688a306b2 iris: Split iris_flush_and_dirty_for_history into two helpers.
    (cherry picked from commit 64fb20ed326fa0e524582225faaa4bb28f6e4349)
    [Juan A. Suarez: resoved trivial conflicts]
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>
    
    Conflicts:
    	src/gallium/drivers/iris/iris_resource.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c36e4bd7fa9cca86beccb978089c925b00ff640d
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Fri Jun 14 15:15:10 2019 +0100

    glx: fix glvnd pointer types
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110709
    Fixes: 22a9e00aab66d3dd6890 ("glx: Implement the libglvnd interface.")
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    (cherry picked from commit 65b016b1469574ab2e3b4d2c2706fd96c995fa9f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=14d7fc09cc2b5d973853819588398b267d1ee682
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Jun 18 18:58:40 2019 +0200

    radv: disable viewport clamping even if FS doesn't write Z
    
    This fixes new CTS dEQP-VK.pipeline.depth_range_unrestricted.*.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    (cherry picked from commit 0a313cc285c2939de9cac07f045b0b699bc208ca)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=927ca86698ab300f18ad6403fee1eeedd7526a62
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=867223cee10529bede9b654c98152e475c36390f
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=a5154fa69c043c77e8ba6d11f47dcecb30e8395c
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=3fdf2b9645aa3751c51862c7f7df617fc61f9fd4
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=15f6bb5c6ced76dcb7c984c2405e6f5b28d651b5
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=72eb587b97cbaa95dd22b264819fc831ea659913
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Jun 19 07:10:13 2019 +1000

    nouveau: fix frees in unsupported IR error paths.
    
    This is pointless in that we won't ever hit those paths in real life,
    but coverity complains.
    
    Fixes: f014ae3c7cce ("nouveau: add support for nir")
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit 93ba356544a16e1f2bb0be3550d3b24ec2e5b13a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4de4c188419d9589e0b681fb3e398b84b6b23ca3
Author: Rob Clark <robdclark at chromium.org>
Date:   Thu Jun 13 11:58:30 2019 -0700

    freedreno/a6xx: un-swap X24S8_UINT
    
    The stencil is actually in the .w component, but we used to use SWAP to
    remap the channels.  This doesn't work when tiled/ubwc.
    
    Fixes:
      dEQP-GLES31.functional.stencil_texturing.format.depth24_stencil8_2d_array
      dEQP-GLES31.functional.stencil_texturing.format.depth24_stencil8_cube
      dEQP-GLES31.functional.stencil_texturing.format.stencil_index8_2d_array
      dEQP-GLES31.functional.stencil_texturing.format.stencil_index8_cube
      dEQP-GLES31.functional.stencil_texturing.misc.base_level
      dEQP-GLES31.functional.texture.border_clamp.formats.stencil_index8.nearest_size_pot
      dEQP-GLES31.functional.texture.border_clamp.formats.stencil_index8.nearest_size_npot
      dEQP-GLES31.functional.texture.border_clamp.formats.depth24_stencil8_sample_stencil.nearest_size_pot
      dEQP-GLES31.functional.texture.border_clamp.formats.depth24_stencil8_sample_stencil.nearest_size_npot
      dEQP-GLES31.functional.texture.border_clamp.sampler.uint_stencil
    
    Signed-off-by: Rob Clark <robdclark at chromium.org>
    (cherry picked from commit 4e72abcd9764cb791a6a6a7dcb903c9e23ebbedf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=47f1f4f9e5199205af6ae25a8bd411e946fcc427
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=db4850c631a0b0626372832728c3ea1bea164417
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=1702733645d1434e2f87d30a4e63a856684c1376
Author: Gert Wollny <gert.wollny at collabora.com>
Date:   Mon Jun 17 08:44:14 2019 +0200

    virgl: Assume sRGB write control for older guest kernels or virglrenderer hosts
    
    When the host virglrenderer is an older version that doesn't check the sRGB write
    control feature, or when the guest kernel doesn't support CAPS v2, then the guest
    will only report support for GL 2.1 on a GL 3.3 host, even though it was supporting
    3.3 with earlier guest mesa versions.
    
    By also checking the host feature check version this regression can be avoided.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110921
    Fixes: 2845939d6a72
       virgl: Set sRGB write control CAP based on host capabilities
    
    Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
    Reviewed-by: Chia-I Wu <olvaffe at gmail.com>
    (cherry picked from commit 2b87753a84da7a1bd8a84f26f3cd0e03cc52c930)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f18adff0a04e45ce40bc71b3c56bb13f377e867
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=eb1e6e6412346be19a94f7de0851aa42726d58d1
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=0f8193cb18d3d8557dd934cc2d169fe6a63321e7
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Sat Apr 27 09:36:23 2019 +0800

    intel/dump: fix segfault when the app hasn't accessed the device
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit f80679c8e8aa3f1ff17deef7163ad9429eb90f44)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=efc5518410df63c3c0cef5c3d8147345a9ebab4d
Author: Eduardo Lima Mitev <elima at igalia.com>
Date:   Mon Jun 10 23:27:22 2019 +0200

    freedreno/a5xx: Fix indirect draw max_indices calculation
    
    The number of elements to draw should not be affected by the offset.
    
    A similar fix was submitted for a6xx at 79180a05.
    
    Fixes these dEQP tests on a5xx:
    
    dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawelements_separate_grid_500x500_drawcount_8
    dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawelements_separate_grid_500x500_drawcount_2500
    dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawarrays_separate_grid_500x500_drawcount_2500
    dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawarrays_combined_grid_500x500_drawcount_2500
    dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawelements_combined_grid_500x500_drawcount_8
    dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawelements_combined_grid_500x500_drawcount_2500
    
    Reviewed-by: Rob Clark <robdclark at gmail.com>
    (cherry picked from commit 3fb7b1fd350246c09ef014a9fb8a04728d66e88a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=80965709d03ecb04158776a77eec504f0f2c0313
Author: Alejandro Piñeiro <apinheiro at igalia.com>
Date:   Wed Jun 12 14:49:05 2019 +0200

    v3d: fix checking twice auf flag
    
    Seems a C&P error, and should check for auf/muf.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110902
    Fixes: 8f065596d22ab000c53f "v3d: Add an optimization pass for redundant flags updates."
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    (cherry picked from commit 17c2c9cd67797e8e741859015c123b26c4fa293f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=746025fd636838c54801dd3f4a7453aaa1ae2716
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Thu Jun 13 00:52:18 2019 +0200

    radv: Skip transitions coming from external queue.
    
    Transitions to external queue should do the transition & make sure
    it works on all queues.
    
    Fixes: 8ebc7dcb59a "radv: Allow fast clears with concurrent queue mask for some layouts."
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    (cherry picked from commit 0667c1f14b06b9a748619a1a6ba3e03388fa868b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a48ef364e17f630f59bbae5a4cc4d4d4dc6fd29e
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=be69033241874593d583ca1ed1eb06d1a2dc47d4
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=582b691062367618e73c0bab03ecf7c03e81fb19
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Wed Jun 12 17:23:27 2019 +0100

    util/futex: fix dangling pointer use
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110901
    Fixes: 7dc2f4788288ec9c7ab6 "util: emulate futex on FreeBSD using umtx"
    Cc: Greg V <greg at unrelenting.technology>
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    (cherry picked from commit 9996ddbb27c9eb39cd234a4abce6c3742572c770)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e0b89caa9b8cfac6dc0eb51923ab8d072b58bde
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=90291b5db1cbfe043899a4aa5ce26a9ba3a3a294
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=94e222849626d3555bce00b25047c0603ef8206b
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Wed Jun 12 12:41:36 2019 +0300

    anv: do not parse genxml data without INTEL_DEBUG=bat
    
    This significantly slows down the CTS runs.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: 32ffd90002b04b ("anv: add support for INTEL_DEBUG=bat")
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    (cherry picked from commit 93b93e5a9da31b3f7d722029e23609d8a187bf01)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5eccd8fa5a88a972d271c619bb557dac87ec4405
Author: Richard Thier <u9vata at gmail.com>
Date:   Sat Jun 8 08:35:36 2019 +0200

    r300g: restore performance after RADEON_FLAG_NO_INTERPROCESS_SHARING was added
    
    v1: Fix skipped slab allocators and the buffer cache.
    
    v2: Use only 1 domain for texture allocation
    
    v3: Added flag for the create_fence call too
    
    Based on Marek v1 and v2 proposed fixes.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=1107812.patch
    
    Cc: 19.1 <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit ffd2f948fee271cbbce93708fc508dab7cb5d14c)




More information about the mesa-commit mailing list