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

[Git][xorg-team/lib/mesa][upstream-unstable] 89 commits: docs: add sha256sum for 24.1.1



Title: GitLab

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

Commits:

  • 54ea73c9
    by Eric Engestrom at 2024-06-05T21:13:20+02:00
    docs: add sha256sum for 24.1.1
    
  • 3f01e998
    by Eric Engestrom at 2024-06-06T09:39:25+02:00
    .pick_status.json: Update to 50e5067be77bf8f34de6616e8edca2af2cf8d310
    
  • af0a1b2e
    by Danylo Piliaiev at 2024-06-06T09:39:28+02:00
    freedreno: Make fd_pps_driver.h usable without including other FD sources
    
    fd_pps_driver.h is included in src/tool/pps/pps_driver.cc which isn't
    built with freedreno sources but linked with freedreno pps.
    
    Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11183
    
    Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29325>
    (cherry picked from commit 745b0fc79f5a7efe9523be6430ec458ffd9f835c)
    
  • 90601210
    by Dave Airlie at 2024-06-06T09:39:49+02:00
    nvk: Only enable WSI modifiers if the extension is supported.
    
    The extension relies on the kernel being new, so don't tell
    wsi about it.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11270
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11166
    Fixes: e6f77defec0d ("nvk/wsi: Advertise modifier support")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29563>
    (cherry picked from commit 726838620ebdd890edf481d7821edc0728b1ebe4)
    
  • e73e2f26
    by Konstantin Seurer at 2024-06-06T09:40:10+02:00
    ac/llvm: Fix DENORM_FLUSH_TO_ZERO with exact instructions
    
    cc: mesa-stable
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25293>
    (cherry picked from commit 2b38d4922e8e1024b6d5d29c9bd30d8cd937a8b7)
    
  • c2e6ad07
    by Konstantin Seurer at 2024-06-06T09:40:11+02:00
    ac/llvm: Enable helper invocations for vote_all/any
    
    cc: mesa-stable
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25293>
    (cherry picked from commit b100d3f731988b211c966204881c8526614351fd)
    
  • 1ed2e464
    by Eric Engestrom at 2024-06-06T09:40:15+02:00
    v3dv: add missing bounds check in VK_EXT_4444_formats
    
    Fixes: fbe4d7ccf49ccfeed085 ("v3dv: implement VK_EXT_4444_formats")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29481>
    (cherry picked from commit 8f483caffb95592e9e3284bf7c2486d5570f461f)
    
  • b85c1037
    by Lionel Landwerlin at 2024-06-06T09:40:16+02:00
    anv: fix pipeline flag fields
    
    Using the wrong type truncate the top bits of the pipeline flags.
    Currently we don't have any bit in the top bits so not fixing any bug,
    but in the future new extension could add some.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: 688bb37552 ("anv: deal with new pipeline flags")
    Reviewed-by: Rohan Garg <rohan.garg@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29553>
    (cherry picked from commit 816b21cd87e3f2e7e26067fe589778d1a49df761)
    
  • 7f291008
    by Eric Engestrom at 2024-06-07T13:53:41+02:00
    .pick_status.json: Update to cc82f7f8ace50f68b06c53ad347e36d411ae9dab
    
  • 23a197a5
    by Eric Engestrom at 2024-06-07T13:53:44+02:00
    radv/ci: fix manual rules
    
    It was set to "always run" for amd common files changes when I obviously
    meant for it to be manual and messed up my copy/paste when I wrote that.
    
    Fixes: ebaede788e05ea3a22bf ("amd/ci: limit radv jobs to radv + aco files changes")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29550>
    (cherry picked from commit 47bd1cff4bc781c523bc4d3dfb0ec916910de70a)
    
  • 4a5f2a1c
    by Rhys Perry at 2024-06-07T13:53:46+02:00
    aco: don't combine vgpr into writelane src0
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
    Acked-by: Daniel Schürmann <daniel@schuermann.dev>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29466>
    (cherry picked from commit 0dee5fdd3c88a5b45738d0aef1f5c03af753eaf8)
    
  • 3e9b2173
    by Friedrich Vock at 2024-06-07T13:53:50+02:00
    radv/rt: Fix memory leak when compiling libraries
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29579>
    (cherry picked from commit f1742d36f368851861681c14afecf5abf43d7558)
    
  • 4d71c125
    by Sviatoslav Peleshko at 2024-06-07T13:53:51+02:00
    anv,driconf: Add fake non device local memory WA for Total War: Warhammer 3
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8721
    Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29127>
    (cherry picked from commit 94989b45a5ed91088777f9be100c0ceba474ce52)
    
  • 6faf208c
    by Eric Engestrom at 2024-06-08T02:06:48+02:00
    .pick_status.json: Update to 41dd1c52b1d091b36f8931c4a57d3b6dc361bc84
    
  • 8fe207e7
    by Samuel Pitoiset at 2024-06-08T02:06:51+02:00
    radv: fix creating unlinked shaders with ESO when nextStage is 0
    
    When nextStage is 0, the driver needs to assume that a stage might be
    used with any valid next stages.
    
    Fixes new dEQP-VK.shader_object.binding.*_no_next_stage.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29567>
    (cherry picked from commit d4ccae739ba905e0bd42951791222f70949653c8)
    
  • c9572101
    by Rhys Perry at 2024-06-08T02:07:33+02:00
    aco/gfx6: set glc for buffer_store_byte/short
    
    For the same reason we set it for image stores. GFX6 has a caching bug
    which requires this.
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29243>
    (cherry picked from commit 185fa04baa7d1b373bb588afbac8c3d1d2f49202)
    
  • 8104791b
    by Eric Engestrom at 2024-06-08T02:07:34+02:00
    v3d/drm-shim: emulate a rpi4 instead of a rpi3
    
    7278 is the chip on the rpi3, while the rpi4 that made it to market has
    the 2711 chip.
    
    When this was introduced (82bf1979), the rpi4 was probably still in
    flux, which is why the rpi3 chip was put there (and v3d doesn't care
    about that, but v3dv does).
    
    cc: mesa-stable
    
    Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29584>
    (cherry picked from commit 46247b38271cd7635982e69431efbe3feb8f7166)
    
  • d831d3f3
    by Eric Engestrom at 2024-06-11T12:25:10+02:00
    .pick_status.json: Update to a80a1c983844bca646d5f07d65c695a84f964bfe
    
  • cc10f7ae
    by Karol Herbst at 2024-06-11T12:25:33+02:00
    rusticl/spirv: do not pass a NULL pointer to slice::from_raw_parts
    
    Fixes: e8de580998f ("rusticl/kernel: basic implementation")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29604>
    (cherry picked from commit e522c91d5c7793210bb2dafe02eefb6df847bcba)
    
  • 34a7a9f9
    by Karol Herbst at 2024-06-11T12:25:36+02:00
    rusticl/memory: copies might overlap for host ptrs
    
    We can't really gurantee there is no overlap, because applications might
    pass in arbitrary host pointers.
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29604>
    (cherry picked from commit 5d013da038f2b9a67bf76f64e48787b240ad3c56)
    
  • f217429f
    by Erik Faye-Lund at 2024-06-11T12:25:38+02:00
    mesa/main: remove stale prototype
    
    This function was removed a long time ago.
    
    Fixes: 8e581747d23 ("mesa/formats: make format testing a gtest")
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29528>
    (cherry picked from commit c0285f29fffdfad91e869dadfbc6ae754825fe7f)
    
  • fcd9f666
    by Erik Faye-Lund at 2024-06-11T12:29:58+02:00
    mesa/main: do not allow RGBA_INTEGER et al in gles3
    
    GLES3 doesn't allow all the format/type combinations that
    ARB_texture_rgb10_a2ui does, so let's tighten the error-checking here a
    bit.
    
    Fixes: b5a370dc250 ("mesa/main: do not allow ARB_texture_rgb10_a2ui enums before gles3")
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29528>
    (cherry picked from commit 227c6627cb66cb72b75fd062c3b6df78854b0038)
    
  • 8840fac9
    by Eric Engestrom at 2024-06-11T12:30:12+02:00
    egl: fix teardown when using xcb
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29459>
    (cherry picked from commit 54dd83e736425143de8f5f8d4cb0688e9837b035)
    
  • c9e5c6f6
    by Eric Engestrom at 2024-06-11T12:33:32+02:00
    .pick_status.json: Mark f017beb29ce6e3469da33caff2c9a493799faca6 as denominated
    
  • 83889472
    by Friedrich Vock at 2024-06-11T12:34:08+02:00
    aco/spill: Don't spill phis with all-undef operands
    
    Fixes some crashes when limiting RT stages to 128 VGPRs.
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29593>
    (cherry picked from commit ec8512ce854e66141f6cdf43f6e5805e3c8ddc17)
    
  • d1f15f3c
    by Samuel Pitoiset at 2024-06-11T12:34:09+02:00
    radv: don't assume that TC_ACTION_ENA invalidates L1 cache on gfx9
    
    Ported from RadeonSI 279315fd73e ("radeonsi: don't assume that
    TC_ACTION_ENA invalidates L1 cache on gfx9")
    
    Thanks to Rhys for noticing this by inspection.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29644>
    (cherry picked from commit a80a1c983844bca646d5f07d65c695a84f964bfe)
    
  • c0cc1484
    by Eric Engestrom at 2024-06-18T19:23:20+02:00
    .pick_status.json: Update to 7dcba7e873c6b753930e2fdc8c714bb4da1a22dd
    
  • 0b1955e4
    by Georg Lehmann at 2024-06-18T19:23:21+02:00
    radeonsi: set COMPUTE_STATIC_THREAD_MGMT_SE2-3 correctly on gfx10-11
    
    Fixes: 3f1cb470f0b ("radeonsi: Only enable SEs that the device reports")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29674>
    
  • 7bda9591
    by David Rosca at 2024-06-18T19:23:21+02:00
    radeonsi: Fix si_compute_clear_render_target with 422 subsampled formats
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11290
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29642>
    
  • 92a43a3f
    by Lucas Fryzek at 2024-06-18T19:23:21+02:00
    llvmpipe: query winsys support for dmabuf mapping
    
    Fixes #11257 by ensuring winsys mapping functions is only called
    if its supported by the winsys, which should prevent llvmpipe from
    crashing with kmswast.
    
    If the winsys is kms_swrast then this method will be null, but on
    drisw it will be available.
    
    Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    (cherry picked from commit db38a4913ec6fde264facf95077e241c64573b27)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29721>
    
  • 9d647a15
    by Rhys Perry at 2024-06-18T19:23:22+02:00
    aco: remove some missing label resets
    
    In the case of:
       c = xor(a, b)
       d = not(c)
       xor(d, e)
    it will be optimized to:
       d = xnor(a, b)
       xor(d, e)
    because "d" would still had a label with "instr=not(c)", it would then be
    further optimized to:
       d = xnor(a, b)
       xnor(c, e)
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11309
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29650>
    (cherry picked from commit 7a4f121c5dda4ba124ae905270cacf551011be3a)
    
  • 62a5050c
    by Patrick Lerda at 2024-06-18T19:23:22+02:00
    radeonsi: fix assert triggered on gfx6 after the tessellation update
    
    This change updates the affected calls to the proper function
    which is radeon_set_config_reg().
    
    For instance, this issue is triggered with
    "piglit/bin/textureSize tes isampler2DMSArray -auto -fbo":
    vertex-program-two-side: ../src/gallium/drivers/radeonsi/si_state_shaders.cpp:4981: void si_emit_spi_ge_ring_state(si_context*, unsigned int): Assertion `(0x008988) >= CIK_UCONFIG_REG_OFFSET && (0x008988) < CIK_UCONFIG_REG_END' failed.
    
    Fixes: bd71d62b8fc ("radeonsi: program tessellation rings right before draws")
    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/29645>
    (cherry picked from commit 301a3bacce82c4489af4f0f854f21b1de3bfab99)
    
  • 741faa69
    by David Heidelberg at 2024-06-18T19:23:22+02:00
    rusticl: add -cl-std only when it's not defined
    
    This fixes piglit "Invalid CL Version Declaration" test.
    
    Fixes: fc30fe2c110f ("rusticl/kernel: add missing preprocessor definitions")
    
    Reviewed-by: Karol Herbst <kherbst@redhat.com>
    Signed-off-by: David Heidelberg <david@ixit.cz>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29638>
    (cherry picked from commit f467a895236bdd67f0eed4cfbcbc2b436e94325d)
    
  • f27b87b9
    by Dave Airlie at 2024-06-18T19:23:22+02:00
    draw/texture: handle mip_offset[0] being != 0 for layered textures.
    
    When llvmpipe adds on a layer it uses mip_offset[0] for it, so it
    should still be respected even for multisample.
    
    Fixes KHR-GL45.texture_view.view_sampling
    
    Fixes: 839045bcc840 ("gallivm/lp: merge sample info into normal info")
    Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29685>
    (cherry picked from commit fd9f114d5a20aa948282af03d4f45917ecc57a56)
    
  • aa35e92e
    by Lionel Landwerlin at 2024-06-18T19:23:23+02:00
    anv: limit aux invalidations to primary command buffers
    
    This AUX-TT is only updated on the CPU since ee6e2bc4a3 ("anv: Place
    images into the aux-map when safe to do so"). So the only really
    important invalidation that needs to happens is on the beginning of a
    primary command buffer.
    
    We are required to idle the pipes prior invalidation the AUX-TT. This
    might not be happening when the invalidation is put at the beginning
    of the secondary command buffers.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable
    Reviewed-by: Rohan Garg <rohan.garg@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29671>
    (cherry picked from commit 18516294072ec9021b6b81722402e425e75d2f1c)
    
  • 65ba2897
    by Lionel Landwerlin at 2024-06-18T19:23:23+02:00
    anv: ensure completion of surface state copies before secondaries
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable
    Reviewed-by: Rohan Garg <rohan.garg@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29671>
    (cherry picked from commit 99f92dd6d3132cbb9c5fe53d3c899a9e9719328b)
    
  • 8a284229
    by Daniel Schürmann at 2024-06-18T19:23:23+02:00
    aco/assembler: fix MTBUF opcode encoding on GFX11
    
    We have accidentally set the tfe bit for some opcodes.
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29692>
    (cherry picked from commit 14f4906e535a2f0367e4769bebb38f633d42ea75)
    
  • 2ac76f13
    by Sviatoslav Peleshko at 2024-06-18T19:23:24+02:00
    intel/brw: Actually retype integer sources of sampler message payload
    
    According to PRMs:
    "All parameters are of type IEEE_Float, except those in the The ld*,
    resinfo, and the offu, offv of the gather4_po[_c] instruction message
    types, which are of type signed integer."
    
    Currently, we load parameters with the correct types, but use them as send
    sources with the default float type, which may confuse passes downstream.
    Fix this by actually storing the retyped sources.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11118
    Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com>
    Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29581>
    (cherry picked from commit 2358c997f3a747de35b78603856bb69a096f9454)
    
  • c22b115c
    by Sviatoslav Peleshko at 2024-06-18T19:23:24+02:00
    intel/elk: Actually retype integer sources of sampler message payload
    
    According to PRMs:
    "All parameters are of type IEEE_Float, except those in the The ld*,
    resinfo, and the offu, offv of the gather4_po[_c] instruction message
    types, which are of type signed integer."
    
    Currently, we load parameters with the correct types, but use them as send
    sources with the default float type, which may confuse passes downstream.
    Fix this by actually storing the retyped sources.
    
    Cc: mesa-stable
    Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com>
    Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29581>
    (cherry picked from commit 5ca51156e249688b4ddfebe4ffd1528e4e814500)
    
  • 43ce8bec
    by Iván Briano at 2024-06-18T19:23:24+02:00
    vulkan/runtime: pColorAttachmentInputIndices is allowed to be NULL
    
    The Vulkan spec says:
    "If pColorAttachmentInputIndices is NULL, it is equivalent to setting
    each element to its index within the array."
    
    Fix updated dEQP-VK.dynamic_rendering.primary_cmd_buff.local_read.*.
    
    v2: Fix it correctly (Samuel)
    
    Fixes: 03490ec0195 ("vulkan/runtime: rework VK_KHR_dynamic_rendering_local_read state tracking")
    
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29703>
    (cherry picked from commit 51f410f6217a69e2a54426c629f6084205be2300)
    
  • aeacf82e
    by David Rosca at 2024-06-18T19:23:24+02:00
    radv/video: Add missing VCN 3.0.2 to decoder init switch
    
    Fixes video decode on Steam Deck.
    
    Fixes: d599391ac9b ("radv/video: use vcn ip version in more places.")
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29688>
    (cherry picked from commit b754ad8f155ebc72b4af74bf45974e08af0cc258)
    
  • 447eaf88
    by Boris Brezillon at 2024-06-18T19:23:25+02:00
    pan/bi: Fix dynamic indexing of push constants
    
    Base offset of the push constant access shouldn't be taken into
    account when selecting the push constant words to load. We should
    instead assume the first word in the range is the base of the
    dynamic indexing, which also simplifies the code.
    
    Fixes: d53e8489365f ("pan/bi: Lower load_push_constant with dynamic indexing")
    Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
    Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
    Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29670>
    (cherry picked from commit 368d30befcffd4a4bb924e399ffc2002216ddcef)
    
  • dcee5971
    by Boris Brezillon at 2024-06-18T19:23:25+02:00
    panvk: Fix Cube/2DArray/3D img -> buf copies
    
    Not that I really care about fixing copies now that vk_meta_copy is on
    its way, but it fixes OOB accesses causing new crashes after the
    panvk_mempool changes.
    
    Fixes: f73ae1a6b565 ("panvk: Implement vkCmdCopyImageToBuffer()")
    Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
    Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
    Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29670>
    (cherry picked from commit c184059005d32bb6102c65eef95f41b6a6a30277)
    
  • 8cf67a44
    by Faith Ekstrand at 2024-06-18T19:23:25+02:00
    nak: Only convert the written portion of the buffer in NirInstrPrinter
    
    Fixes: 02774be70887 ("nak/sm50: add a memstream abstraction")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29591>
    (cherry picked from commit 944365802f8ef53e37db38f15f2c2dc6b820d132)
    
  • acee7868
    by Faith Ekstrand at 2024-06-18T19:23:25+02:00
    nak: BMov is always variable-latency
    
    The barrier half is HW scoreboarded by the GPR isn't.  When moving from
    a GPR to a barrier, we still need a token for WaR hazards.
    
    Fixes: 7cd9680554b1 ("nak: Add back OpBMov with better semantics")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29591>
    (cherry picked from commit 0a089b1b13a81d3ba44a149d3ec5894893bcbfa7)
    
  • 8e7ed151
    by Faith Ekstrand at 2024-06-18T19:23:26+02:00
    nak: Only copy-prop neg into iadd2/3 if no carry is written
    
    Fixes: 1b3382b86172 ("nak: Add modifier propagation")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29591>
    (cherry picked from commit a08f8c8804713194285ffba25f5b5bce08777433)
    
  • d1bc625b
    by Faith Ekstrand at 2024-06-18T19:23:26+02:00
    nak/legalize: Fold immediate sources before instructions
    
    This way, if we insert a copy to move the immediate to a GPR, the
    immediate we place in the copy is also folded.
    
    Fixes: 85462f74553c ("nak: Legalize immediates with source modifiers")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29591>
    (cherry picked from commit 37b55ee34fe0ba16037715577fcd1a6c517d6f34)
    
  • 59ebedc1
    by Qiang Yu at 2024-06-18T19:23:26+02:00
    glsl: respect GL_EXT_shader_image_load_formatted when image is embedded in a struct
    
    Fix compilation failure when image is embedded in struct when
    GL_EXT_shader_image_load_formatted is enabled:
    
      struct GpuPointShadow {
          image2D RayTracedShadowMapImage;
      };
    
      layout(std140, binding = 2) uniform ShadowsUBO {
          GpuPointShadow PointShadows[1];
      } shadowsUBO;
    
    Compile log:
      error: image not qualified with `writeonly' must have a format layout qualifier
    
    Fixes: 082d180a22ff ("mesa, glsl: add support for EXT_shader_image_load_formatted")
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29693>
    (cherry picked from commit b1d0ecd00d99a0900726b431ac2441a64e9775a8)
    
  • 9c16c628
    by Qiang Yu at 2024-06-18T19:23:26+02:00
    radeonsi: add missing nir_intrinsic_bindless_image_descriptor_amd
    
    Otherwise we get shader compilation error when imageSize().
    
    Fixes: d4fdeaa820a ("radeonsi: replace llvm resource code with nir lower")
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29690>
    (cherry picked from commit 4a18809a563eeb628cfbfe9786a80a2e7faca2fe)
    
  • 2a68f0bb
    by Samuel Pitoiset at 2024-06-18T19:23:27+02:00
    radv: fix incorrect buffer_list advance for multi-planar descriptors
    
    If we have an array of multi-planar descriptors, buffer_list was
    incorrectly incremented and this could have overwritten some BO entries.
    
    In practice, this situation should be very rare because most of the
    applications enable the global BO list.
    
    Cc: mesa-stable
    Closes: #10559
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28816>
    (cherry picked from commit 730ba8322f8bb55d3316cb35e3861f6181b38de4)
    
  • 19ca7cc4
    by Eric Engestrom at 2024-06-18T19:23:27+02:00
    glx: fix build -D glx-direct=false
    
    Fixes: 014bbae4bf3f0bd87ab0 ("glx: pass implicit load param through allocation")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29732>
    (cherry picked from commit ba55fa31633a0bee156383bf5bea0964064c53a9)
    
  • fea04c21
    by Marek Olšák at 2024-06-18T19:23:27+02:00
    Revert "radeonsi: fix initialization of occlusion query buffers for disabled RBs"
    
    This reverts commit dab4295cd520caf069bfbd299fb51e29ee6fd7ce.
    
    The commit causes hangs on Navi21 with 3 SEs.
    
    Fixes: dab4295cd520 - radeonsi: fix initialization of occlusion query buffers for disabled RBs
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29705>
    (cherry picked from commit 4e455c198f1d6a801292ffeb2f81885ce4ee15ae)
    
  • 0b2a8bae
    by Eric Engestrom at 2024-06-18T19:23:27+02:00
    .pick_status.json: Update to 10d21d410068f2ca32fe898f6b4b690993d90daa
    
  • 6a66cf66
    by Mike Blumenkrantz at 2024-06-18T19:23:28+02:00
    lavapipe: fix mesh+task binding with shader objects
    
    if mesh and task shaders are bound separately, and if they have different
    workgroup sizes, the setting of workgroup size will be broken if
    set during shader bind
    
    this must be deferred to draw time to pull the correct values
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29733>
    (cherry picked from commit 2bb35bf489cf961e58388c40b7b944a9318d9dfc)
    
  • 036560d3
    by Lionel Landwerlin at 2024-06-18T19:23:28+02:00
    intel/fs: fix lower_simd_width for MOV_INDIRECT
    
    MOV_INDIRECT picks one lane from the src[0] and moves it to all lanes
    in the destination. Even if we split the instruction, src[0] should
    remain identical.
    
    Noticed this while trying to use this instruction in SIMD32. All
    current use cases are limited to SIMD8 shaders (or SIMD16 on Xe2). Or
    maybe in SIMD32 but with a uniform src[0]. That's we think we've never
    seen the issue so far.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable
    Reviewed-by: Francisco Jerez <currojerez@riseup.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28036>
    (cherry picked from commit 13dc2a28ce1eaf6cb73eb1ab6f2b46292db1c585)
    
  • 7792a2a8
    by Dave Airlie at 2024-06-18T19:23:28+02:00
    nouveau/nvc0: increase overallocation on shader bo to 2K
    
    I've been seeing a bunch of read page faults at the end of the
    shader allocation, nvk uses a full page at the end to overallocate
    so align with that and see if it goes away.
    
    ahulliet and skeggsb both said 2k was used.
    
    Cc: mesa-stable
    Reviewed-by: Arthur Huillet <ahuillet@nvidia.com>
    Reviewed-by: Karol Herbst <kherbst@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29722>
    (cherry picked from commit f7434d7576032cf97e3c74ef09912f59617a4bad)
    
  • 5d4b8868
    by Faith Ekstrand at 2024-06-18T19:23:28+02:00
    nouveau: Fix a race in nouveau_ws_bo_destroy()
    
    It's possible if nouveau_ws_bo_destroy() races with
    nouveau_ws_bo_from_dma_buf() for the BO to be found in the cache and
    referenced between dropping the final reference and actually invoking
    GEM_CLOSE.  This would result in us having a closed BO somewhere in our
    cache.
    
    Fixes: c370260a8f15 ("nouveau/winsys: Add dma-buf import support")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29737>
    (cherry picked from commit faaf33556e7c8d5c73af7e1f5862eb26199bb35d)
    
  • b2985b20
    by Valentine Burley at 2024-06-18T19:23:29+02:00
    tu: Handle the new sync2 flags
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8277
    Signed-off-by: Valentine Burley <valentine.burley@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29658>
    (cherry picked from commit 5e9cb32c102b3cb0c4847924907c1bd496493ec7)
    
  • 2e350cbd
    by Valentine Burley at 2024-06-18T19:23:29+02:00
    tu: Remove declaration of unused update_stencil_mask function
    
    The update_stencil_mask function was removed when moving to the common
    Vulkan dynamic state handling.
    
    Fixes: 97da0a77341 ("tu: Rewrite to use common Vulkan dynamic state")
    Signed-off-by: Valentine Burley <valentine.burley@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29658>
    (cherry picked from commit d9af1633a9e48966c97f49def5ee7d68337e0f5b)
    
  • b08d4064
    by Eric Engestrom at 2024-06-18T19:23:29+02:00
    .pick_status.json: Mark a9fff07c2e2b1e52b00b30dc16781209f7761c04 as denominated
    
  • dd0e8096
    by Samuel Pitoiset at 2024-06-18T19:23:29+02:00
    radv: always save/restore all shader objects for internal operations
    
    If the application binds graphics shaders and that RADV performs an
    internal operation with a compute pipeline, no shader objects would be
    restored because binding the internal compute pipeline resets the ESO
    state.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29678>
    (cherry picked from commit 07eb970d67f30e1a2ed53ad5124447f61f385f76)
    
  • 06778bff
    by Amol Surati at 2024-06-18T19:23:30+02:00
    nine: avoid using post-compacted indices with state expecting pre-compacted ones
    
    The commit 973e6f3b implemented compaction of the stream-number space. The
    functions `update_vertex_elements(_sw)` began using the post-compacted
    stream-numbers/indices when maintaining the `stream_usage_mask` and
    when reading from the arrays `vtxstride` and `stream_freq`.
    
    But, the `stream_instancedata_mask`, with which the `stream_usage_mask`
    is compared/bitwise-anded, maintains bits for the pre-compacted indices.
    Additionally, the information within the arrays is stored using the
    pre-compacted indices.
    
    The functions have a disagreement, regarding the type (pre- vs post-
    compacted) of indices, with the rest of the relevant source. This change
    removes the disagreement by having them use pre-compacted indices when
    maintaining the `stream_usage_mask` and when reading from the arrays.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11283
    Fixes: 973e6f3b ("gallium: remove start_slot parameter from pipe_context::set_vertex_buffers")
    Reviewed-by: Axel Davy <davyaxel0@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29704>
    (cherry picked from commit 4bf330471b3f71257833df75c4bad537f81c8480)
    
  • dc7d0d6a
    by Erik Faye-Lund at 2024-06-18T19:23:30+02:00
    panvk: move macro-definition to header
    
    This define is used in panvk_physical_device.c as well, so it needs to
    be visible there.
    
    Fixes: ac34183ec3d ("panvk: Move the VkPhysicalDevice logic to panvk_physical_device.{c,h}")
    Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29751>
    (cherry picked from commit 9336190868dc7cf25135e304b90c4948bea41662)
    
  • 89010198
    by Mike Blumenkrantz at 2024-06-18T19:23:30+02:00
    mesa/st: fix zombie shader handling for non-current programs
    
    for drivers that don't support PIPE_CAP_SHAREABLE_SHADERS,
    the zombie shader mechanism is used, storing shaders to delete after
    the next flush
    
    the zombie mechanism also calls bind_*_state(pipe, NULL) during deletion,
    however, which breaks drivers in the following scenario:
    
    * create_all_shaders(pipe_A)
    * bind_vs(pipe_A, vs_A)
    * bind_fs(pipe_A, fs_A)
    * draw(pipe_A)
    * makeCurrent(pipe_B)
    * delete_vs(pipe_B, vs_B)
      * vs_B must only be deleted on pipe_A
      * zombie_shader_add(pipe_A, vs_B)
    * makeCurrent(pipe_A)
      * free_zombie_shaders(pipe_A)
        * bind_vs(pipe_A, NULL)
        * delete_vs(pipe_A, vs_B)
    * draw(pipe_A)
    * boom
    
    the problem being that bind_vs(pipe_A, NULL) was called when deleting
    vs_B, but it was actually vs_A which was bound
    
    to solve this, just flag the shader state for updating and let st figure it out
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11122
    
    cc: mesa-stable
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29680>
    (cherry picked from commit 95828d8901ecccd4f36cd4ef933d65628773934d)
    
  • 14a1d82a
    by Iago Toral Quiroga at 2024-06-18T19:23:30+02:00
    broadcom/compiler: initialize payload_conflict for all initial nodes
    
    Fixes: cb83f25b39 ('broadcom/compiler: don't assign payload registers to spilling setup temps')
    cc: mesa-stable
    
    Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29759>
    (cherry picked from commit 02f33b7d924ac738df862d9f8bafe9fc2bc92b6b)
    
  • 777126f9
    by Job Noorman at 2024-06-18T19:23:31+02:00
    ir3: fix crash in try_evict_regs with src reg
    
    try_evict_regs might end up calling check_dst_overlap which only works
    for dst regs. Make sure this doesn't happen for src regs.
    
    Fixes: 34803d15abc ("ir3/ra: Add proper support for multiple destinations")
    Signed-off-by: Job Noorman <jnoorman@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29497>
    (cherry picked from commit 023c7351f209afd0d230735b512f3d5809191fbf)
    
  • 91236e8e
    by Job Noorman at 2024-06-18T19:23:31+02:00
    ir3: fix handling of early clobbers in calc_min_limit_pressure
    
    Early clobbers should always add to the register pressure since they
    cannot overlap with sources. handle_instr in ir3_spill.c handles this
    properly but calc_min_limit_pressure did not.
    
    Fixes: 2ff5826f09d ("ir3/ra: Add IR3_REG_EARLY_CLOBBER")
    Signed-off-by: Job Noorman <jnoorman@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29497>
    (cherry picked from commit af6f82b954a1581e448a1af47de32fd057b81a00)
    
  • 7de1e8e3
    by Job Noorman at 2024-06-18T19:23:31+02:00
    ir3: set offset on splits created while spilling
    
    Fixes: 613eaac7b53 ("ir3: Initial support for spilling non-shared registers")
    Signed-off-by: Job Noorman <jnoorman@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29497>
    (cherry picked from commit 37c929ce5da42d498609e0b451f60a3aad62138a)
    
  • aa53306c
    by Job Noorman at 2024-06-18T19:23:32+02:00
    ir3: correctly set wrmask for reload.macro
    
    We used to set it MASK(elems) which would break when not all elements
    are contiguous (which could happen for tex instructions after dce).
    
    Fixes: 613eaac7b53 ("ir3: Initial support for spilling non-shared registers")
    Signed-off-by: Job Noorman <jnoorman@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29497>
    (cherry picked from commit 70e10babeae7960abc6334cc98e76e9a11f3f617)
    
  • 893b7708
    by Job Noorman at 2024-06-18T19:23:32+02:00
    ir3: don't remove intervals for non-killed tex prefetch sources
    
    Fixes: 613eaac7b53 ("ir3: Initial support for spilling non-shared registers")
    Signed-off-by: Job Noorman <jnoorman@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29497>
    (cherry picked from commit eaec57ab6b5a2698948a92ca5c7b34c5bbf279c6)
    
  • de328394
    by Job Noorman at 2024-06-18T19:23:32+02:00
    ir3: don't remove collects early while spilling
    
    It might happen that a collect that cannot be coalesced with one of its
    sources while spilling can be coalesced with it afterwards. In this
    case, we might be able to remove it in remove_src_early during spilling
    but not afterwards (because it may have a child interval). If this
    happens, we could end up with a register pressure that is higher after
    spilling than before. Prevent this by never removing collects early
    while spilling.
    
    Fixes: 613eaac7b53 ("ir3: Initial support for spilling non-shared registers")
    Signed-off-by: Job Noorman <jnoorman@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29497>
    (cherry picked from commit 1bc3b819e60838e0e5f12afe4f04698da1a6fe48)
    
  • 778206e1
    by Job Noorman at 2024-06-18T19:23:33+02:00
    ir3: expose instruction indexing helper for merge sets
    
    We will need it to fix up merge sets after spilling.
    
    Fixes: 613eaac7b53 ("ir3: Initial support for spilling non-shared registers")
    Signed-off-by: Job Noorman <jnoorman@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29497>
    (cherry picked from commit 17b155fedec357140fed4184de48e689d3310e31)
    
  • ec7a8d64
    by Job Noorman at 2024-06-18T19:23:33+02:00
    ir3: make indexing instructions optional in ir3_merge_regs
    
    While fixing up merge sets after spilling, we need to index before
    calling ir3_merge_regs so it would be a waste to index again.
    
    Fixes: 613eaac7b53 ("ir3: Initial support for spilling non-shared registers")
    Signed-off-by: Job Noorman <jnoorman@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29497>
    (cherry picked from commit 018d0ab805a17f7fde84e82c0510c9de2493e8d8)
    
  • 23d79f9e
    by Job Noorman at 2024-06-18T19:23:33+02:00
    ir3: index instructions before fixing up merge sets after spilling
    
    ir3_force_merge (through merge_merge_sets) expects instructions to be
    indexed. However, the instructions created during spilling would not be
    automatically indexed at this point.
    
    Fixes: 613eaac7b53 ("ir3: Initial support for spilling non-shared registers")
    Signed-off-by: Job Noorman <jnoorman@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29497>
    (cherry picked from commit 7a5b198a44a5838741209bb5457b59b2f352dc64)
    
  • 903f291c
    by Job Noorman at 2024-06-18T19:23:34+02:00
    ir3: move liveness recalculation inside ir3_ra_shared
    
    Similar to how ir3_spill does it. This will make it easier to optimize
    this in the future. E.g., we only need to recalculate liveness when any
    instruction were added.
    
    Fixes: fa22b0901af ("ir3/ra: Add specialized shared register RA/spilling")
    Signed-off-by: Job Noorman <jnoorman@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29497>
    (cherry picked from commit 3f3c19064965886ac735cbb3ce0815fa77739ff8)
    
  • 4e9a52ff
    by Job Noorman at 2024-06-18T19:23:34+02:00
    ir3: restore interval_offset after liveness recalculation in shared RA
    
    This value is usually set by ir3_merge_regs. Since we don't need to call
    this again after shared RA, we have to copy it manually to the new
    liveness struct.
    
    Fixes: fa22b0901af ("ir3/ra: Add specialized shared register RA/spilling")
    Signed-off-by: Job Noorman <jnoorman@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29497>
    (cherry picked from commit dc04fd8e6246c213ee61e0cd88001e959cfb3e21)
    
  • 6f0d595b
    by Job Noorman at 2024-06-18T19:23:34+02:00
    ir3: add ir3_cursor/ir3_builder helpers
    
    Whenever instructions need to be created at specific locations, ir3
    often passes around an instruction pointer. When set, new instructions
    are added before or after it (depending on the context). When NULL, new
    instructions are added at the end of the block. This whole scheme is
    confusing.
    
    This patch adds ir3_cursor and ir3_builder structs and the associated
    helper functions. The API mirrors the one from nir_cursor/nir_builder.
    
    This patch does not refactor existing code to use the new API. This will
    happen in future patches.
    
    Fixes: 613eaac7b53 ("ir3: Initial support for spilling non-shared registers")
    Signed-off-by: Job Noorman <jnoorman@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29497>
    (cherry picked from commit 1972db36c6eab65a2f48bc2b1397fab8d74e0088)
    
  • 0c8177d2
    by Job Noorman at 2024-06-18T19:23:34+02:00
    ir3: refactor ir3_spill.c to use the ir3_cursor/ir3_builder API
    
    There were a few places that used an instruction pointer to decide where
    new instructions should be created. NULL was used to add them at the end
    of the block. While fixing a spilling bug, a new option was needed to
    add instructions at the beginning of the block. This will be much easier
    to implement using cursors.
    
    Fixes: 613eaac7b53 ("ir3: Initial support for spilling non-shared registers")
    Signed-off-by: Job Noorman <jnoorman@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29497>
    (cherry picked from commit 18cd803cefebcd99a8c753d9c57e20ac6c51ccdb)
    
  • 1a23ca0d
    by Job Noorman at 2024-06-18T19:23:35+02:00
    ir3: only add live-in phis for top-level intervals while spilling
    
    When both an interval and some of its children would be live-in, we used
    to add phis for all of them. This could lead to cases where the pressure
    after spilling was higher than before.
    
    This happens, for example, when both a split and its parent are live-in.
    Before spilling, the split wouldn't add to the pressure because its
    parent had already been inserted. After spilling, since we created a phi
    for the split, the link with its parent would be lost and it would add
    to the pressure.
    
    Fix this by only adding phis for top-level intervals and adding splits
    after them.
    
    Fixes: 613eaac7b53 ("ir3: Initial support for spilling non-shared registers")
    Signed-off-by: Job Noorman <jnoorman@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29497>
    (cherry picked from commit 6bc7cd61085e9f96be0b7adc5dbf4611617387be)
    
  • 744049ca
    by Zan Dobersek at 2024-06-18T19:23:35+02:00
    tu: fix ZPASS_DONE interference between occlusion queries and autotuner
    
    On newer devices where ZPASS_DONE events have sample count writing
    abilities the firmware expects these events to come in begin-end pairs,
    essentially corresponding to a typical occlusion query usage. Since this
    event is also used in the autotuner we have to avoid event pairs to be
    emitted in an interleaved fashion.
    
    Additional renderpass state now tracks whether a given renderpass contains
    an occlusion query. If so, autotuner will emit miscellaneous ZPASS_DONE
    events in order to form its own begin-end pairs before and after the
    renderpass commands.
    
    Occlusion query behavior inside a renderpass doesn't change. But when used
    outside of a renderpass, possible autotuner usage requires to again emit
    ZPASS_DONE events that end up forming begin-end pairs of these events both
    at the start and the end of the query.
    
    Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
    Fixes: 4e6a1f88525 ("tu/autotune: Use `CP_EVENT_WRITE7::ZPASS_DONE` on A7XX")
    Tested-by: Mike Lothian <mike@fireburn.co.uk>
    Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29403>
    (cherry picked from commit 5653c52151817a4f302b43306fd35e588855ffec)
    
  • f993cd33
    by Timur Kristóf at 2024-06-18T19:23:35+02:00
    ac/nir/tess: Fix per-patch output LDS mapping.
    
    VARYING_SLOT_PATCH0 is greater than 64 so it is wrong to use it
    with BITFIELD64_BIT. Check for VARYING_SLOT_TESS_LEVEL_* properly
    when mapping output locations in LDS.
    
    Fixes: c61eb5480674e922a512c036455b00f30c12037c
    Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29696>
    (cherry picked from commit 0f0ebd8512e02f3b55365bc38541850f32197e4b)
    
  • 9dd7e3fe
    by Eric Engestrom at 2024-06-19T13:49:34+02:00
    .pick_status.json: Update to 887f0e0af664b11c081b4140931e7213240c7b41
    
  • 0397d8aa
    by Caio Oliveira at 2024-06-19T13:49:37+02:00
    intel/brw: Fix typo in DPAS emission code
    
    The enums were mixed up.  Code was working because they were being
    used only for their numerical values.
    
    Fixes: e666872c751 ("intel/compiler: Initial bits for DPAS instruction")
    Acked-by: Iván Briano <ivan.briano@intel.com>
    Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29762>
    (cherry picked from commit f982d2bb7976d3c581c5d42133695147c6c0ec10)
    
  • 5cd0d392
    by Rhys Perry at 2024-06-19T13:49:38+02:00
    aco: insert s_nop before discard early exit sendmsg(dealloc_vgpr)
    
    Forgot about this one.
    
    fossil-db (gfx1100):
    Totals from 3920 (2.94% of 133461) affected shaders:
    Instrs: 6632088 -> 6636008 (+0.06%)
    CodeSize: 34165376 -> 34181056 (+0.05%)
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
    Fixes: 37fbfa655a4d ("aco: insert s_nop before VGPR deallocation")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29770>
    (cherry picked from commit 9fe3af1e2a22e25299fdb2a00a7490dfda8ab370)
    
  • 31b58ca0
    by Dave Airlie at 2024-06-19T14:25:14+02:00
    radv/video: fix layered decode h264/5 tests.
    
    CTS tests both layered and separate DPB, but radv wasn't handling
    layered properly when used with the tier 2 dpb handling.
    
    This adjusts the addresses to use the layer index for tier2.
    
    Fixes dEQP-VK.video.decode.*layered*
    
    Cc: mesa-stable
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29758>
    (cherry picked from commit b888946f7a0a037f72159b26f07969460d92ee01)
    
  • 07b1eddc
    by Mary Guillemard at 2024-06-19T14:25:14+02:00
    panvk: Add missing null check in DestroyCommandPool
    
    Fix a crash when a null handle is passed.
    (dEQP-VK.api.null_handle.destroy_command_pool)
    
    Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
    Fixes: afbac1af773 ("panvk: Move the VkCommandPool logic to panvk_cmd_pool.{c,h}")
    Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29783>
    (cherry picked from commit 716e0e15681d8a704c44cf9bb9ff51ca32d6e45f)
    
  • 87620550
    by Mary Guillemard at 2024-06-19T14:25:14+02:00
    panvk: Check for maxBufferSize in panvk_CreateBuffer
    
    This fix failure on "dEQP-VK.api.buffer.basic.size_max_uint64".
    
    Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
    Fixes: 822478ec20c ("panvk: Move the VkBuffer logic to its own source file")
    Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29783>
    (cherry picked from commit c0f8465fa88a87b5fa89b2bbd2c87b3c313f11cf)
    
  • 71225c85
    by Eric Engestrom at 2024-06-19T18:11:13+02:00
    docs: add release notes for 24.1.2
    
  • 414057c0
    by Eric Engestrom at 2024-06-19T18:12:20+02:00
    VERSION: bump for 24.1.2
    

30 changed files:

The diff was not included because it is too large.

Reply to: