[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][xorg-team/lib/mesa][upstream-experimental] 38 commits: .pick_status.json: Update to 4fe5f06d400a7310ffc280761c27b036aec86646



Title: GitLab

Timo Aaltonen pushed to branch upstream-experimental at X Strike Force / lib / mesa

Commits:

  • 6b4f6394
    by Eric Engestrom at 2024-01-15T09:43:41+00:00
    .pick_status.json: Update to 4fe5f06d400a7310ffc280761c27b036aec86646
    
  • f1064107
    by Eric Engestrom at 2024-01-15T09:44:39+00:00
    .pick_status.json: Mark 0557f0d59c5b22a8a934900ddc91f7a6057e146f as denominated
    
  • ae5c0e66
    by Mike Blumenkrantz at 2024-01-15T21:22:38+00:00
    vk/cmdbuf: add back deleted maint6 workgraph bits
    
    this otherwise breaks workgraph support in lavapipe
    
    Fixes: ec656e19840 ("lavapipe: maint6")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26977>
    (cherry picked from commit b6bfa73dc7b7825aca85b2451d446a32ebc05505)
    
  • 3c369331
    by Mike Blumenkrantz at 2024-01-15T21:55:51+00:00
    lavapipe: use pushconstants2 for dgc
    
    Fixes: ec656e19840 ("lavapipe: maint6")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26977>
    (cherry picked from commit bf729063c3f09b47c6a8105d8b7417285f81ad25)
    
  • 02b5a234
    by Mike Blumenkrantz at 2024-01-15T21:55:52+00:00
    lavapipe: fix devenv icd filename
    
    fixes #10408
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26985>
    (cherry picked from commit 465e26dd9806728f4689c56097d80d6c04f610f6)
    
  • 757192b0
    by Pavel Ondračka at 2024-01-15T21:55:56+00:00
    r300: fix reusing of color varying slots for generic ones
    
    This was broken when I added texcoord support, the problem is that we
    failed to properly count the number of used fs inputs and thus we failed
    to make the proper decision when to reuse the color varying slot
    Also fix the error messages, they were incorrect after the rewrite as
    well. This fixes a bunch of piglits.
    
    Fixes: d4b8e8a48144f4b899d48c271558f0dc613632cb
    
    Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com>
    Reviewed-by: Filip Gawin <filip.gawin@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27003>
    (cherry picked from commit 53c17d85abad095c9d381785d29531e8a4532ffc)
    
  • 37539197
    by Timur Kristóf at 2024-01-15T21:56:00+00:00
    radv: Correctly select SDMA support for PRIME blit.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10317
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27015>
    (cherry picked from commit 436b89e8388810dc456c366b8ab0ee03f8fb1357)
    
  • f575e2b9
    by Eric Engestrom at 2024-01-15T21:56:02+00:00
    ci: make sure we evaluate the python-test rules first
    
    Fixes: 2c9fdaa83013ac60b55e ("ci: fix python-test dependency error on merge requests")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26984>
    (cherry picked from commit f298a0e7092addb9db5ab14c9085cd5a0f54fa1d)
    
  • cc677d7c
    by Lionel Landwerlin at 2024-01-15T21:56:05+00:00
    anv: fix disabled Wa_14017076903/18022508906
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: d0669f3ede ("intel/dev: switch defect identifiers to use lineage numbers")
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27008>
    (cherry picked from commit 695b4a299250ee7ff5da5f7eda70c6b245dd0f78)
    
  • 1f5604ed
    by Mike Blumenkrantz at 2024-01-15T21:56:07+00:00
    zink: fix separate shader patch variable location adjustment
    
    in spirv, these start at location 0, not location 32
    
    fixes #10414
    
    Fixes: d9942442f20 ("zink: handle patch variable locations for separate shaders better")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26981>
    (cherry picked from commit 565ee4fafc9490a4ee7eec117123444843376d1c)
    
  • fc11cbb3
    by Tatsuyuki Ishi at 2024-01-15T21:56:09+00:00
    radv: Recompute max_waves after postprocessing RT config
    
    The max waves for RT prolog need to be recalculated after merging the
    resource usage of all shaders invoked from it.
    
    Note that there is no need to panic, as the info was only used to
    calculate maximum scratch size and with the RT prolog being low
    footprint, this likely only caused overestimation rather than
    underestimation.
    
    Fixes: 533ec9843e4 ("radv: Precompute shader max_waves.")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26998>
    (cherry picked from commit 63827751e136cbfd8f5eb5cd74df40442377972e)
    
  • ab960ee0
    by Pierre-Eric Pelloux-Prayer at 2024-01-15T21:56:10+00:00
    radeonsi: compute epitch when modifying surf_pitch
    
    In the linear case with no mipmaps addrlib sets epitch to surf_pitch - 1
    so lets do the same thing here.
    
    The change in si_descriptors.c looks like it's papering over a bug but I
    couldn't find any other changes that wouldn't break at least one use case.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10375
    Fixes: 115b61e51f6 ("ac/surface: don't oversize surf_size")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26947>
    (cherry picked from commit 4e76c4ecb462ec6bc1b114b93161c7c732f3a65b)
    
  • 6febac5c
    by Pierre-Eric Pelloux-Prayer at 2024-01-15T21:56:36+00:00
    Revert "ci/radeonsi: disable VA-API testing on raven"
    
    This reverts commit 9017852de431ebdcc3989250184d7c9fd009c89a.
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Reviewed-by: David Heidelberg <david.heidelberg@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26947>
    (cherry picked from commit e2f39e8aca185eb9875b2fe0164b6d718a4ccd10)
    
  • 97ebcff4
    by Matt Turner at 2024-01-15T21:56:37+00:00
    util: Add DETECT_ARCH_HPPA macro
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26991>
    (cherry picked from commit 0540c9de447730e5efe73a0c5a1a5b6c1e902722)
    
  • fcd78c52
    by Matt Turner at 2024-01-15T21:56:38+00:00
    util/tests: Disable half-float NaN test on hppa/old-mips
    
    Bug: https://bugs.gentoo.org/908079
    Fixes: 067023dce2c ("util: Add some unit tests of the half-float conversions.")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26991>
    (cherry picked from commit 5b7c73390247caa847c56c442298107a1e568a6d)
    
  • 0ebdd39d
    by Yiwei Zhang at 2024-01-15T21:57:24+00:00
    venus: populate oom from ring submit alloc failures
    
    ring_seqno_valid indicates a successful ring cmd submission, and can be
    used to avoid invalid reply decoding due to failed submit alloc.
    Otherwise, the garbled VkResult will mislead into initialization failure
    instead of oom.
    
    Below cts failure is fixed:
    dEQP-VK.api.device_init.create_instance_device_intentional_alloc_fail.basic
    
    Fixes: ec131c6e553 ("venus: use instance allocator for ring allocs")
    Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27026>
    (cherry picked from commit ecd50e70d4d23802c4c102ca2e5723ebf4a19c0c)
    
  • 04ffe477
    by José Roberto de Souza at 2024-01-15T21:57:27+00:00
    anv: Fix PAT entry for userptr in integrated GPUs
    
    Fixes: 060439bdf0e7 ("anv: Add ANV_BO_ALLOC_IMPORTED")
    Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27040>
    (cherry picked from commit 49fe060b5f39eb673b0c6a8757730386c6ce5570)
    
  • f19b7d8d
    by Jesse Natalie at 2024-01-15T21:57:28+00:00
    mesa: Consider mesa format in addition to internal format for mip/cube completeness
    
    Prior to 06b526de, the mesa format was used for these completeness checks.
    That was to address the case where a *different* internal format selected
    the *same* mesa format, and the texture shouldn't be considered compatible.
    But this didn't address the case where the *same* internal format selected
    a *different* mesa format, e.g. because the type passed to the TexImage
    API was different.
    
    An old WGL demo app called TexFilter.exe tries to redefine a mipped RGBA16
    texture as RGBA8. This incorrect logic caused Mesa to try to copy the RGBA16
    data from the smaller mips into the newly created RGBA8 data, because it
    thought that the texture was still mip-complete, despite the format changing.
    
    Cc: mesa-stable
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27023>
    (cherry picked from commit 4cb9c77e8e08507b5c181a480259e42b43dd647e)
    
  • eb3d7307
    by Lionel Landwerlin at 2024-01-15T21:57:29+00:00
    intel/aux_map: fix fallback unmapping range on failure
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: 7c6faa1efe ("intel/aux_map: introduce ref count of L1 entries")
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27057>
    (cherry picked from commit ff6041afdf2df9f048aa192f602c191e96ce92fd)
    
  • 5b8984f3
    by Lionel Landwerlin at 2024-01-15T21:57:30+00:00
    anv: hide vendor ID for The Finals
    
    XeSS workaround.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10436
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27057>
    (cherry picked from commit a34a113059f55947cc08624897999f7f066f000a)
    
  • b39ee4d7
    by Vinson Lee at 2024-01-15T21:57:31+00:00
    intel/disasm: Remove duplicate variable reg_file
    
    Fix defects reported by Coverity Scan.
    
    Evaluation order violation (EVALUATION_ORDER)
    write_write_typo: In reg_file = reg_file = brw_inst_dpas_3src_dst_reg_file(devinfo, inst),
    reg_file is written twice with the same value.
    
    Fixes: 1c92dad5cb7 ("intel/disasm: Disassembly support for DPAS")
    Signed-off-by: Vinson Lee <vlee@freedesktop.org>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27056>
    (cherry picked from commit 73835874a82f741e10cbc8da9128a4f5cd46e347)
    
  • fc418033
    by Tapani Pälli at 2024-01-15T21:57:32+00:00
    anv: check for wa 16013994831 in emit_so_memcpy_end
    
    We are toggling preemption on/off during streamout, this is also
    happening on gfx12 platforms, not just dg2.
    
    Cc: mesa-stable
    Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27002>
    (cherry picked from commit 36f428f1de78d6bd2c0aa6719da06cd5233a8c7f)
    
  • 05ff8910
    by Eric Engestrom at 2024-01-16T18:41:30+00:00
    .pick_status.json: Update to ff84aef116f9d0d13440fd13edf2ac0b69a8c132
    
  • 9888a951
    by Lucas Stach at 2024-01-16T18:41:33+00:00
    etnaviv: disable 64bpp render/sampler formats
    
    Vivante hardware handles 64bpp render targets and samplers in a odd way
    by splitting the buffer and using a pair of texture samplers or a pair
    of MRT outputs to access those resources. This isn't implemented in the
    driver right now, so we should not advertise support for those formats.
    
    CC: mesa-stable
    Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
    Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26982>
    (cherry picked from commit e481c1269c36efae6fad9e3c60af9c66cc8bbf74)
    
  • c5b8590e
    by Tatsuyuki Ishi at 2024-01-16T18:41:34+00:00
    radv: never set DISABLE_WR_CONFIRM for CP DMA clears and copies
    
    This mirrors the changes in 69ff9c16bbb ("radeonsi: never set
    DISABLE_WR_CONFIRM for CP DMA clears and copies").
    
    Cc: mesa-stable
    Suggested-by: Vitaliy Triang3l Kuzmin <triang3l@yandex.ru>
    Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27053>
    (cherry picked from commit 43fb43ba2cfe673d5b6693bfe93d0331f86817ed)
    
  • 78fd14d9
    by Karol Herbst at 2024-01-16T18:41:35+00:00
    rusticl/kernel: run opt/lower_memcpy later to fix a crash
    
    nir_opt_memcpy requires explicit types to function properly. So run them
    after lowering vars to explicit types.
    
    Cc: mesa-stable
    Signed-off-by: Karol Herbst <kherbst@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27068>
    (cherry picked from commit f8966598940ad46fb1ff2cbd9c23013289ef0736)
    
  • 43a00ad0
    by Patrick Lerda at 2024-01-16T18:41:36+00:00
    glsl/nir: fix gl_nir_cross_validate_outputs_to_inputs() memory leak
    
    For instance, this issue is triggered with
    vs-to-fs-overlap.shader_test -auto -fbo:
    Direct leak of 24 byte(s) in 1 object(s) allocated from:
        #0 0x7fe64f58e9a7 in calloc (/usr/lib64/libasan.so.6+0xb19a7)
        #1 0x7fe642ca2839 in _mesa_symbol_table_ctor ../src/mesa/program/symbol_table.c:286
        #2 0x7fe642ff003d in gl_nir_cross_validate_outputs_to_inputs ../src/compiler/glsl/gl_nir_link_varyings.c:728
        #3 0x7fe642d7c7d8 in gl_nir_link_glsl ../src/compiler/glsl/gl_nir_linker.c:1357
        #4 0x7fe642be6931 in st_link_glsl_to_nir ../src/mesa/state_tracker/st_glsl_to_nir.cpp:562
        #5 0x7fe642be6931 in st_link_shader ../src/mesa/state_tracker/st_glsl_to_nir.cpp:944
        #6 0x7fe642acab55 in link_program ../src/mesa/main/shaderapi.c:1336
        #7 0x7fe642acab55 in link_program_error ../src/mesa/main/shaderapi.c:1447
        #8 0x7fe6424aa389 in _mesa_unmarshal_LinkProgram src/mapi/glapi/gen/marshal_generated2.c:1911
        #9 0x7fe641fd912b in glthread_unmarshal_batch ../src/mesa/main/glthread.c:139
        #10 0x7fe641f48d48 in util_queue_thread_func ../src/util/u_queue.c:309
        #11 0x7fe641fa442a in impl_thrd_routine ../src/c11/impl/threads_posix.c:67
    
    Fixes: 7d1948e9b5d9 ("glsl: implement cross_validate_outputs_to_inputs() in nir linker")
    Signed-off-by: Patrick Lerda <patrick9876@free.fr>
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27071>
    (cherry picked from commit bacace8634346f853547f51a0ea6ff8082a8dcb8)
    
  • 25ae9134
    by David Rosca at 2024-01-16T18:41:37+00:00
    radeonsi/vcn: Fix H264 slice header when encoding I frames
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27029>
    (cherry picked from commit 865abfde6393689d17d33fb907cc39d63ef02df4)
    
  • 3dabc03b
    by Eric Engestrom at 2024-01-17T21:36:44+00:00
    .pick_status.json: Update to 10e2dbb63b9d1f8f35c4fc3f570cd19b3fc03b43
    
  • ce34ec41
    by Eric Engestrom at 2024-01-17T21:38:53+00:00
    ci: fix job dependency error in MRs for bin/ci/* scripts
    
    'debian/x86_64_build' job needs 'debian/x86_64_build-base' job, but 'debian/x86_64_build-base' is not in any previous stage
    
    Fixes: f298a0e7092addb9db5a ("ci: make sure we evaluate the python-test rules first")
    Fixes: 2c9fdaa83013ac60b55e ("ci: fix python-test dependency error on merge requests")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27042>
    (cherry picked from commit 2ce0b5ab0a66a3fc281c1577b74dab67023c3753)
    
  • 89742224
    by Yiwei Zhang at 2024-01-17T21:38:56+00:00
    vulkan/wsi/wayland: fix returns and avoid leaks for failed swapchain
    
    Cc: mesa-stable
    Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
    Tested-by: Eric Engestrom <eric@engestrom.ch>
    Reviewed-by: Ryan Neph <ryanneph@google.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27080>
    (cherry picked from commit dc5725ee29727a3272ecf30141a249cf4f91f1fc)
    
  • 9732d1bd
    by Yonggang Luo at 2024-01-17T21:39:00+00:00
    compiler/spirv: The spirv shader is binary, should write in binary mode
    
    Fixes: 53265c8798e ("spirv: Add a mechanism for dumping failing shaders")
    
    Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
    Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26775>
    (cherry picked from commit fd118188285d0f3b2d963b0a4807f3f4cfd0efbb)
    
  • 4175b4d5
    by Erico Nunes at 2024-01-17T21:39:02+00:00
    Revert "ci: lima farm is down"
    
    This reverts commit 601b826a5ec17da99c2984eeb720bc9e0f3ffeaa.
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26905>
    (cherry picked from commit 8bd4cae768ef9f1d5a96eb603bd25191db9d0f69)
    
  • 1246e54f
    by Sviatoslav Peleshko at 2024-01-17T21:39:06+00:00
    nir: Use alu source components count in nir_alu_srcs_negative_equal
    
    When we use source from ALU instruction directly, the default swizzle array
    should be populated with the same amount of components as the src has.
    
    Otherwise, if we use nir_ssa_alu_instr_src_components, it can return
    the destination components count that is lower than component index
    actually used in that source. This can lead to false equality
    between 0 (uninitialized) and 0 (.x) in swizzle comparison below.
    
    Fixes: c6ee46a7 ("nir: Add nir_alu_srcs_negative_equal")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8704
    Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com>
    Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22655>
    (cherry picked from commit 6b0bfdfa9e83aba5316821296fb9cf68fdc958f8)
    
  • b65d7520
    by Boris Brezillon at 2024-01-17T21:39:08+00:00
    panvk: Fix tracing
    
    pandecode_next_frame() take a decode context. Passing NULL leads to a
    NULL deref.
    
    Fixes: 56be9a55be03 ("pan/decode: handle more than one panfrost_device")
    Cc: mesa-stable
    Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
    Reviewed-by: Constantine Shablya <constantine.shablya@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27107>
    (cherry picked from commit 35a02560c8932d4b1841772b016b8e672e409eda)
    
  • f7f823c7
    by Boris Brezillon at 2024-01-17T21:41:44+00:00
    panvk: Fix access to unitialized panvk_pipeline_layout::num_sets field
    
    Commit 73eecffabdd3 ("panvk: Use the vk_pipeline_layout base struct")
    reworked the panvk logic to use vk_pipeline_layout, which contains the
    number of descriptor set layout referenced by a pipeline layout, thus
    deprecating panvk_pipeline_layout::num_sets.
    
    Make panvk_fill_non_vs_attribs() use vk_pipeline_layout::set_count
    instead of panvk_pipeline_layout::num_sets and kill the latter so we
    can't introduce new users.
    
    Fixes: 73eecffabdd3 ("panvk: Use the vk_pipeline_layout base struct")
    Cc: mesa-stable
    Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
    Reviewed-by: Constantine Shablya <constantine.shablya@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27107>
    (cherry picked from commit b18bfed2c5fc9c8ad93b08bae8b9e65380a1b772)
    
  • 9d1a0646
    by Friedrich Vock at 2024-01-17T21:42:02+00:00
    radv/rt: Add workaround to make leaves always active
    
    DOOM Eternal builds acceleration structures with inactive primitives and
    tries to make them active in later AS updates. This is disallowed by the
    spec and triggers a GPU hang. Fix the hang by working around the bug.
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27034>
    (cherry picked from commit a9831caa144f9944fec936608faf03d253e9bb7d)
    
  • e716b08f
    by Eric Engestrom at 2024-01-17T22:28:20+00:00
    VERSION: bump for 24.0.0-rc2
    

30 changed files:

The diff was not included because it is too large.

Reply to: