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

[Git][xorg-team/lib/mesa][upstream-unstable] 68 commits: docs/relnotes: add sha256sum for 22.3.6



Title: GitLab

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

Commits:

  • ad477424
    by Eric Engestrom at 2023-02-22T22:00:38+00:00
    docs/relnotes: add sha256sum for 22.3.6
    
  • 2ae67190
    by Eric Engestrom at 2023-03-08T18:00:05+00:00
    .pick_status.json: Update to 41ae2d0725b3ecd2018a6105981a6db7b87c3e79
    
  • 2d0b4d36
    by Rhys Perry at 2023-03-08T18:00:10+00:00
    aco: fix pathological case in LdsDirectVALUHazard
    
    Similar to bfd4ac4581bae0d36b2c58524131f91c7c0d27ce.
    
    No fossil-db changes.
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
    Fixes: 296b4d95a3e ("aco/gfx11: workaround LdsDirectVALUHazard")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21423>
    (cherry picked from commit 94abccf3ce50383a1ca0feceb6e95a065b89c19f)
    
  • f79e8142
    by Sviatoslav Peleshko at 2023-03-08T18:00:10+00:00
    iris: Avoid creating uncompressed view with unaligned tile offsets on BDW
    
    Fixes: 60568d5d ("iris: Use isl_surf_get_uncompressed_surf")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7990
    Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21147>
    (cherry picked from commit 4229d9324f4a8da312e624d2249a10a76992d2cd)
    
  • a2b96975
    by Karol Herbst at 2023-03-08T18:00:11+00:00
    nir/deref: don't replace casts with deref_struct if we'd lose the stride
    
    The result might be used in a deref_ptr_as_array, which requires a proper
    stride within lower_explicit_io. If we'd lose that information or end up
    with a different stride don't execute this optimization.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8289
    Fixes: b779baa9bf95 ("nir/deref: fix struct wrapper casts. (v3)")
    Signed-off-by: Karol Herbst <kherbst@redhat.com>
    Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21458>
    (cherry picked from commit 56a9aad4010ff9f2c0afcadec0ac61a6274de0a3)
    
  • 14b5e171
    by Väinö Mäkelä at 2023-03-08T18:00:11+00:00
    hasvk: Mark VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL as stencil write optimal
    
    VK_KHR_synchronization2 added VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL, which
    was not previously recognized by vk_image_layout_stencil_write_optimal.
    
    Would close https://gitlab.freedesktop.org/mesa/mesa/-/issues/5578 if it
    wasn't already closed.
    
    Fixes: b996fa8efaa ("anv: implement VK_KHR_synchronization2")
    
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19876>
    (cherry picked from commit d3162f97b5adfe61da3e7409ed0bc0845ce8c33d)
    
  • 95d788e0
    by Sil Vilerino at 2023-03-08T18:00:11+00:00
    d3d12: Fix VP9 Decode - Checking 0xFF instead of 0x7F for invalid frame_ref[i].Index7Bits
    
    Fixes: c8e8ce8359ceb9161ac05cf48b15e2e6a298ebd6 ("d3d12: Add VP9 Decode support")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21507>
    (cherry picked from commit 94906337232779b613d0b510e3c8d5abf6f36784)
    
  • ffa4534e
    by Caio Oliveira at 2023-03-08T18:00:11+00:00
    iris, crocus: Align workaround address to 32B
    
    The workaround address is used as a source for push constants when
    there's no resource available, that address must be 32B aligned.
    
    This fixes invalid address being used for buffers in
    3DSTATE_CONSTANT_* packets.
    
    Now that intel_debug_write_identifiers() already add the padding,
    there's no need to include extra "+ 8" to the offset.
    
    Thanks to Xiaoming Wang that contributed to find and fix this issue.
    
    Fixes: 2a4c361b069 ("iris: add identifier BO")
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21479>
    (cherry picked from commit a4a0417263aa98ee93fe3f635fcdc54daa091013)
    
  • e65d5746
    by Sviatoslav Peleshko at 2023-03-08T18:00:11+00:00
    anv: Handle all fields in VkAccelerationStructureBuildRangeInfoKHR
    
    Add handling of primitiveOffset and firstVertex.
    
    Fixes: f3ddfd81 ("anv: Build BVHs on the GPU with GRL")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8296
    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/21342>
    (cherry picked from commit 4bf38f5652b1910f388482473d808a6f8fe5a2d8)
    
  • 826be8ba
    by Friedrich Vock at 2023-03-08T18:00:11+00:00
    mesa: Report GL_SHADER_BINARY_FORMAT_SPIR_V as supported
    
    GL_ARB_gl_spirv introduced it, but its corresponding format was never listed in GL_SHADER_BINARY_FORMATS.
    
    Fixes: 5bc03d25 ("mesa: implement SPIR-V loading in glShaderBinary")
    Closes: #7644
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19559>
    (cherry picked from commit c0c911d9ba3b8c2f3d9a4ad2646b392a7bdb3f9a)
    
  • f8171935
    by Pierre-Eric Pelloux-Prayer at 2023-03-08T18:00:11+00:00
    radeonsi: fix incorrect vgpr indices in the ps_prolog
    
    In monolithic PS shaders, we need to account for PERSP_PULL_MODEL even
    if we don't use it; si_get_ps_prolog_key already does the same thing
    to determine color_interp_vgpr_index.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8280
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21483>
    (cherry picked from commit 2b655e267e5a04a6fedc2e5fd1ef9c291ba2ba8c)
    
  • df02db05
    by Sviatoslav Peleshko at 2023-03-08T18:00:11+00:00
    anv: Move WA MEDIA_VFE_STATE after stalling PIPE_CONTROL
    
    Fixes: bc612536 ("anv: Emit a dummy MEDIA_VFE_STATE before switching from GPGPU to 3D")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6172
    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/21472>
    (cherry picked from commit 07b57deea296375b597fcdf1fc8210fb2b6f69f9)
    
  • 269a94ee
    by Marek Olšák at 2023-03-08T18:00:11+00:00
    amd: add missing gfx11 register definitions
    
    Fixes: caa09f66ae4 - amd: add chip identification for gfx1100-1103
    
    Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21525>
    (cherry picked from commit 63b21e3066a451415917472228b05f71b34d1a48)
    
  • 87c167e2
    by Marek Olšák at 2023-03-08T18:00:12+00:00
    radeonsi/gfx11: fix the CU_EN clear mask for RSRC4_GS
    
    Fixes: 9fecac091f3 - radeonsi/gfx11: scattered register deltas
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21525>
    (cherry picked from commit 31438fbab5674147662170bc13d66389cecb35ad)
    
  • 40394b0a
    by Marek Olšák at 2023-03-08T18:00:12+00:00
    radeonsi/gfx11: don't set non-existent VGT_STRMOUT_BUFFER_CONFIG
    
    Fixes: 9fecac091f3 - radeonsi/gfx11: scattered register deltas
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21525>
    (cherry picked from commit c54635a0333bb225e2d52113e697bcf444abecc1)
    
  • 5d0bb66d
    by Marek Olšák at 2023-03-08T18:00:12+00:00
    radeonsi/gfx11: set CB_COLORi_INFO.MAX_COMP_FRAG on GFX1103_R2
    
    Fixes: caa09f66ae4 - amd: add chip identification for gfx1100-1103
    
    Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21525>
    (cherry picked from commit ee83ba57716644788468f666e0138c142b3d403c)
    
  • 68e1cd63
    by Marek Olšák at 2023-03-08T18:00:12+00:00
    radeonsi: disable Smart Access Memory because CPU access has large overhead
    
    It will be remove completely in the next commit.
    
    Related: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8176
    
    Cc: mesa-stable
    
    Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21525>
    (cherry picked from commit d8b17b17526b46d69e4102a883ba451e7f1db148)
    
  • ec5de835
    by Iván Briano at 2023-03-08T18:00:12+00:00
    vulkan: track the right value on CmdSetColorWriteMasks
    
    Fixes: 092be5a3290 ("vulkan: Add more dynamic color blend states")
    
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21509>
    (cherry picked from commit 6e60612d4275778afaa6175e3f70965eff8d31b3)
    
  • d927a1f1
    by Iván Briano at 2023-03-08T18:00:12+00:00
    anv: fix testing for dynamic color blend bits
    
    Fixes: fc3fd7c69e8 (anv: dynamic color write mask)
    Fixes: 9dc6bed9a10 (anv: dynamic state for logic op enable)
    
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21509>
    (cherry picked from commit dd5c6446b4f7a4f8a969ec9d932242f7c6a703eb)
    
  • 5716f6b1
    by Iván Briano at 2023-03-08T18:00:12+00:00
    anv: stop tracking color blend state in the pipeline
    
    Now that all color blend bits are dynamic, emit_cb_state() is doing
    almost nothing and half of that is wrong.
    
    In the case that color write enable is dynamic, at the time the pipeline
    state is emitted, it sees all the color attachments as having write
    disabled and stores the WriteDisabled bit for each channel.
    When all dynamic state is flushed, we have the right values already but
    the values recorded into the command buffer get ORed with the ones
    stored in the pipeline, and so WriteDisabled tag along when they
    shouldn't.
    
    Since all disabled color attachments are handled already when dynamic
    state is flushed, there's no point in doing so at pipeline creation
    time too. And since the only other thing done by emit_cb_state() is
    writing three hardcoded values, they might as well be taken care of in
    the same place as everything else.
    
    Fixes CTS from the future:
    dEQP-VK.pipeline.*.extended_dynamic_state.*.color_blend_equation_*dynamic*
    dEQP-VK.pipeline.*.extended_dynamic_state.*.color_blend_all_*
    
    Fixes: fc3fd7c69e8 (anv: dynamic color write mask)
    
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21509>
    (cherry picked from commit b71957635f1ef890cef954cf5b8493b7e62bf728)
    
  • 0759f1b5
    by Mike Blumenkrantz at 2023-03-08T18:00:12+00:00
    zink: fix shader read access removal for barrier generation
    
    barrier access is based on total binds per gfx/compute, not per stage
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21522>
    (cherry picked from commit ddb116d75517070876155bb5e050b66eaa96fa8f)
    
  • b47265ec
    by Mike Blumenkrantz at 2023-03-08T18:00:12+00:00
    zink: avoid adding ubo/ssbo bindings multiple times for different bitsizes
    
    these are valid variables, but the descriptor binding needs to be unique
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21522>
    (cherry picked from commit a7b98dd4be8946856da8e6fe1a33758d864b5775)
    
  • 281bf4bc
    by Eric Engestrom at 2023-03-08T18:00:12+00:00
    radv: split linker script for android since it requires different symbols
    
    Fixes: 4956f6d0bf477568731f ("radv: Add Android module info to linker script.")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8338
    Signed-off-by: Eric Engestrom <eric@igalia.com>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Acked-by: David Heidelberg <david.heidelberg@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21518>
    (cherry picked from commit 735df516e9ccbaea57f34942388e164ad04e6b02)
    
  • f4fc1e0d
    by Rhys Perry at 2023-03-08T18:00:13+00:00
    aco: always update orig_names in get_reg_phi()
    
    No idea why this wasn't done if pc.first was a renamed temporary.
    
    Fixes navi10 RA validation error with
    dEQP-VK.binding_model.descriptor_buffer.multiple.graphics_geom_buffers1_sets3_imm_samplers
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8349
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21501>
    (cherry picked from commit 75d9a4a6ce5957803963a1df2c18b34991c62506)
    
  • 5d43c6e1
    by Caio Oliveira at 2023-03-08T18:00:13+00:00
    gallivm: Fix handling of nir_intrinsic_scoped_barrier
    
    A scoped barrier only has a control barrier behavior if there's
    an execution scope.
    
    Fixes: 13d900de0dcf ("llvmpipe: set nir_shader_compiler_options::use_scoped_barrier")
    Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3339>
    (cherry picked from commit 2178a8da51fee6dc266541c468de58e66b7b0e17)
    
  • 57be6f6e
    by Mike Blumenkrantz at 2023-03-08T18:00:13+00:00
    zink: remove suspended queries from list before resuming
    
    this avoids double-starting primgen queries from recursion when
    needs_rast_discard_workaround is true
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21534>
    (cherry picked from commit 96f7fe71913707886cd779e9b35f6067a32b55e5)
    
  • 55b6c88d
    by Dylan Baker at 2023-03-08T18:00:13+00:00
    util: rzalloc and free hash_table_u64
    
    Otherwise we're prone to leaking the table itself, since it's not freed
    in the destroy function
    
    CID: 1516552
    fixes: 6649b840c34016b4753e69d4513a8d09da9febb2
           ("mesa/util: add a hash table wrapper which support 64-bit keys")
    
    Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21499>
    (cherry picked from commit ff494361bee7506db701cb861073ab194ae3a6e9)
    
  • c18f920e
    by Eric Engestrom at 2023-03-08T18:00:13+00:00
    glapi/meson: drop duplicate line in deps
    
    Fixes: 0842bc879b34414de54b ("meson: wire the new generator for es1 and es2")
    Signed-off-by: Eric Engestrom <eric@igalia.com>
    Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21562>
    (cherry picked from commit c9f3ba987fee21819a891ba588ba2dd84dab580e)
    
  • e4ffd343
    by Samuel Pitoiset at 2023-03-08T18:00:13+00:00
    radv: fix flushing non-coherent images inside secondaries on GFX9+
    
    Fixes
    dEQP-VK.draw.dynamic_rendering.complete_secondary_cmd_buff.multi_draw.mosaic.*
    on VEGA10 (related to the use of HTILE).
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21549>
    (cherry picked from commit 6750a9094f632567534a2cbdd71ff23944647667)
    
  • 283143c1
    by Samuel Pitoiset at 2023-03-08T18:00:13+00:00
    radv: fix flushing non-coherent images in EndCommandBuffer()
    
    The condition was inverted.
    
    This doesn't fix anything known.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21549>
    (cherry picked from commit 7c62f6fa01d7c0d9d7eabec1c545950af20d0c92)
    
  • bc594a5a
    by Samuel Pitoiset at 2023-03-08T18:00:13+00:00
    radv: fix draw calls with 0-sized index buffers and robustness on NAVI10
    
    The correct workaround is to bind an internal index buffer to handle
    robustness2 correctly.
    
    Fixes dEQP-VK.robustness.index_access.* in CTS 1.3.5.0 on NAVI10.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21471>
    (cherry picked from commit c356f1b4edc942f8c62125d01b7ddb886b72bbb7)
    
  • 4b3a2e24
    by Dave Airlie at 2023-03-08T18:00:13+00:00
    llvmpipe: fix compute address bits to return native pointer size.
    
    On 32-bit systems llvm will only be dealing with 32-bit ptrs
    
    Reviewed-by: Karol Herbst <kherbst@redhat.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21601>
    (cherry picked from commit 53dda476a9e33503432b1f2d0b7da814377bb848)
    
  • 8f32bba1
    by Lionel Landwerlin at 2023-03-08T18:00:14+00:00
    genxml: Fix STATE_BASE_ADDRESS::BindlessSurfaceStateSize field size
    
    BSpec 44507
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21600>
    (cherry picked from commit 58b687d77b2f28e1b1159bcefefb2717554c7e3d)
    
  • 2c2dc4dd
    by Lionel Landwerlin at 2023-03-08T18:00:14+00:00
    genxml: fix border color offset field on Gfx12+
    
    I wonder if the docs are correct for Gfx11 because this is the
    generation that gave us the Bindless Sampler Heap of 4Gb. So it would
    make sense that the border colors can also be placed anywhere in that
    4Gb heap.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21600>
    (cherry picked from commit 42e8a2c1d6ba3cae31c9829e94b2d3c48c40ab7d)
    
  • d85d54db
    by Yiwei Zhang at 2023-03-08T18:00:14+00:00
    venus: fix VK_EXT_image_view_min_lod feature query
    
    Fixes: 8b810985196 ("venus: enable VK_EXT_image_view_min_lod")
    
    Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21617>
    (cherry picked from commit 054a83492df63ad8404590eae36e949b8df04852)
    
  • 7aa1f07d
    by Samuel Pitoiset at 2023-03-08T18:00:14+00:00
    amd,ac/rgp: fix SQTT memory types
    
    This crashed on Steam Deck because the memory type is LPDDR5 and it
    wasn't not handled in the switch. It seems the kernel changed the
    memory type returned for VanGogh because it used to work.
    
    Fixes: aef7ea868fe ("ac/gpu_info: handle LPDDR4 and 5 in ac_memory_ops_per_clock")
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21627>
    (cherry picked from commit f19fccd9f8c368336a60ecfe94d3ef9565bc26dc)
    
  • 292b004b
    by Eric Engestrom at 2023-03-08T18:00:14+00:00
    .pick_status.json: Mark 646cff13bca8a92b846984d782ef00e57d34d7a1 as denominated
    
  • ed7cb614
    by Tatsuyuki Ishi at 2023-03-08T18:00:14+00:00
    radeonsi: SDMA v4 size field is size - 1
    
    After cross-checking with kernel and the old buffer copy code, it seems
    that the size field should be size - 1 instead.
    
    Fixes: 46c95047bd7 ("radeonsi: implement si_sdma_copy_image for gfx7+")
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21585>
    (cherry picked from commit 4f50497a96808e08243a38ff34e78a2186168425)
    
  • 4a106e32
    by Tatsuyuki Ishi at 2023-03-08T18:00:14+00:00
    radv: SDMA v4 size field is size - 1
    
    After cross-checking with kernel and the old buffer copy code, it seems
    that the size field should be size - 1 instead.
    
    Fixes: 7b5ab48c40b ("radv: partial sdma support")
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21585>
    (cherry picked from commit e9a55b332a3fb5acfc551f10f30f7d0961e85f27)
    
  • 0b388d97
    by Väinö Mäkelä at 2023-03-08T18:00:14+00:00
    hasvk: Disable non-zero fast clears for 8xMSAA images
    
    Using texelFetch to read samples from an 8xMSAA fast cleared image on
    Haswell can read transparent black pixels around triangles from where
    there should be none. This issue isn't present when using sample
    shading, resolving the image using vkCmdResolveImage or in a copy the
    image. The easiest way to fix this is by just disabling non-zero fast
    clears for 8xMSAA images.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7587
    
    Cc: mesa-stable
    Reviewed-by: Filip Gawin <filip@gawin.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21444>
    (cherry picked from commit e509afacf3fb277f944f6d4ebf9d88d4a27c6df6)
    
  • a9c1e401
    by Lionel Landwerlin at 2023-03-08T18:00:14+00:00
    anv: fixup condition for Wa_14016118574
    
    We don't want the WA to kick-in if it's not point/line topology.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: f2645229c2 ("anv: implement Wa_14016118574")
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21660>
    (cherry picked from commit d82e8e01c8b570a4988bd6e46d9510f3b6872aa4)
    
  • b8a0400d
    by Lionel Landwerlin at 2023-03-08T18:00:15+00:00
    anv: remove pre hasvk split assert
    
    With softpin we should not always expect a BO in addresses.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Reviewed-by: Ivan Briano <ivan.briano@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20497>
    (cherry picked from commit f5dc88910f4345260ca3b491d66c3fc0cd0fb452)
    
  • 488db14f
    by Sil Vilerino at 2023-03-08T18:00:15+00:00
    frontend/va: Keep track of some VP9 previous frame data for current frame use_prev_in_find_mvs_refs
    
    Fixes: c8e8ce83 ("d3d12: Add VP9 Decode support")
    
    Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21694>
    (cherry picked from commit 6fea823dc0a3accfc6e0cdae26ac88a08b806c61)
    
  • ca25ff5d
    by Sil Vilerino at 2023-03-08T18:00:15+00:00
    d3d12: VP9 Decode - Fix use_prev_in_find_mvs_refs calculation
    
    Fixes: c8e8ce83 ("d3d12: Add VP9 Decode support")
    
    Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21694>
    (cherry picked from commit fb82371558a5f8c0293079e2de292e7723c90915)
    
  • 3215dd37
    by Yogesh Mohan Marimuthu at 2023-03-08T18:00:15+00:00
    wsi/display: check alloc failure in wsi_display_alloc_connector()
    
    vulkancts test dEQP-VK.wsi.direct_drm.surface.create_simulate_oom is failing
    because in wsi_display_alloc_connector() function memory allocation for
    connector is not checked for return NULL. create_simulate_oom test simulates
    out of memory, hence memory allocation fails for connector and later when
    tried to dereference connector program will segfault.
    
    This patch fixes the dEQP-VK.wsi.direct_drm.surface.create_simulate_oom test
    segfault issue by checking if connector is NULL afer memory allocation.
    
    Cc: mesa-stable
    Reviewed-by: Eric Engestrom <eric@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21701>
    (cherry picked from commit af953616a10ad8b122b1d3906b855c0a5f9fbfa7)
    
  • 806f5706
    by Mike Blumenkrantz at 2023-03-08T18:00:15+00:00
    zink: disable queries for clear_texture()
    
    this otherwise can do weird things
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21628>
    (cherry picked from commit f7d1fff23fc6c316f591a4e934079dd707b1a996)
    
  • 6cc56aa7
    by Samuel Pitoiset at 2023-03-08T18:00:15+00:00
    radv: fix DCC decompress on GFX11
    
    The hardware requires one color output to be set by CB registers,
    otherwise the DCC decompression does nothing.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8127
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8175
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8370
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21629>
    (cherry picked from commit 4ec6850210d1a8ff2549df7800f414bc9b604edb)
    
  • 3c705ffa
    by Marek Olšák at 2023-03-08T18:00:15+00:00
    radeonsi: don't merge SET_* packets that have a different index in si_pm4_state
    
    Oops.
    
    Fixes: c8e2c6faf64 ("radeonsi: use SET_SH_REG_INDEX with index=3 for registers containing CU_EN")
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21641>
    (cherry picked from commit 3a26d2b1a7f81ae719037cd734ac776a3c6ab65b)
    
  • 6693d9bf
    by Lionel Landwerlin at 2023-03-08T18:00:15+00:00
    anv: pull Wa_14016118574 out of some loop not changing state
    
    The WA is meant to be here to apply some state that is not propagated
    properly inside the HW. But if you have a loop like :
    
    for ( ... ) {
      emit(3DPRIMITIVE, some param);
    }
    
    You're not really changing any state, just push more draws into the
    pipeline.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: f2645229c2 ("anv: implement Wa_14016118574")
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21660>
    (cherry picked from commit 6ee7a2ecfa11ba77af79583b529696de643af165)
    
  • 742628dc
    by Lionel Landwerlin at 2023-03-08T18:00:16+00:00
    anv: fix incorrect parameter
    
    cmd_buffer_update_dirty_vbs_for_gfx8_vb_flush takes a value RANDOM/SEQUENTIAL. Not a boolean.
    Fortunately this worked okay because true == RANDOM
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Reviewed-by: Ivan Briano <ivan.briano@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20497>
    (cherry picked from commit 4246a519f3b900fa64b722f76d0808ca899d668e)
    
  • 21680b8f
    by Gert Wollny at 2023-03-08T18:00:16+00:00
    r600/sfn: Fix atomic lowering
    
    Fixes: 56dedf052f4af1903a0d312eb9c7721c69f36c69
      r600/sfn: add r600 specific lowering pass for atomics and use it
    
    Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21684>
    (cherry picked from commit 9b09f244f071c67bceca40695ca72518fb370581)
    
  • 27aa0a3d
    by Mike Blumenkrantz at 2023-03-08T18:00:16+00:00
    zink: fix zink_resource_access_is_write()
    
    this was accurately returning whether the access had only write flags,
    but it was incorrectly returning false for READ|WRITE
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21583>
    (cherry picked from commit 5be506c16ece8c62b84e21a625db9d36bc489982)
    
  • 9bdc2549
    by Eric Engestrom at 2023-03-08T18:00:16+00:00
    .pick_status.json: Mark bb796f70a144e9c88ab46e6fb08be5895ca7a689 as denominated
    
  • e94375f2
    by Ruijing Dong at 2023-03-08T18:00:16+00:00
    raseonsi/vcn: fix a h264 decoding issue
    
    reason:
       some h264 streams have some strange pictures, from
       vaapi input these pictures don't have a reference frame,
       however, they are not intra only pictures, in MB layer
       these pictures are looking for some references, if they
       cannot find it. It could cause PF.
    
       when reference pictures exist, it will need to set used_for
       reference_flags, therefore if that is set, however the
       number of reference frames is zero, which is odd, it
       should be avoided.
    
    solution:
       In the above case,  to scan the ref list so that it will
       make at least one reference available to avoid crash, since
       this is not accurate enough, it could cause some artifacts.
       And in that case, it will need to be checked individually
       for another solution.
    
    closes: https://gitlab.freedesktop.org/drm/amd/-/issues/1462
    closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8401
    Cc: mesa-stable
    
    Tested-by: llyyr <llyyr.public@gmail.com>
    Reviewed-by: Leo Liu <leo.liu@amd.com>
    Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21732>
    (cherry picked from commit 0f3370eede23284c09abdaa46714d7c4c795ecd4)
    
  • 64d830c0
    by Mike Blumenkrantz at 2023-03-08T18:00:16+00:00
    zink: unbind fb on context destroy
    
    this ensures that batch refs are added for fb surfaces on unbind, which
    prevents stale batch tracking from persisting on resources
    after the context is destroyed
    
    fixes:
    *EGL.functional.render.multi_context*
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21727>
    (cherry picked from commit 62f1a8a3a62efb8370dc51a20244ab23bc60a3b8)
    
  • 4585f21d
    by Sam Edwards at 2023-03-08T18:00:16+00:00
    nouveau: Fix null dereference in nouveau_pushbuf_destroy
    
    This may happen if the Nouveau device fails to initialize before
    the pushbuf is set up; the abort logic will call this either way.
    
    Signed-off-by: Sam Edwards <CFSworks@gmail.com>
    Reviewed-by: Karol Herbst <kherbst@redhat.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21611>
    (cherry picked from commit 9de997bde67df43a9e10a05f9b48419ee4cfec25)
    
  • bd0217ca
    by Mike Blumenkrantz at 2023-03-08T18:00:16+00:00
    zink: only add deferred barrier on fb unbind when layout needs to change
    
    this otherwise may have been a surface that was never drawn to or
    already had its layout corrected, in which case a deferred barrier
    is not only unnecessary, it might be broken
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21739>
    (cherry picked from commit e0dfe058c4c86e23569d82adc75369d5930d8a1a)
    
  • ce2dba37
    by Mike Blumenkrantz at 2023-03-08T18:00:16+00:00
    zink: fix descriptor update flagging on null ssbo set
    
    this could unset the update flag if the last ssbo was null, which would
    be a bug if it could ever be triggered
    
    found by inspection
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21739>
    (cherry picked from commit 7145ccfa0596a2c4adb707f657161fe3ba5e09af)
    
  • c52cb739
    by Mike Blumenkrantz at 2023-03-08T18:00:17+00:00
    zink: propagate valid_buffer_range when replacing buffer storage
    
    this is otherwise unreliable
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21739>
    (cherry picked from commit a4b1ae1f03c422957cb16a6c57cec5e9f90eab95)
    
  • d8e120af
    by Karol Herbst at 2023-03-08T18:00:17+00:00
    rusticl/kernel: Images arg sizes also have to match the host pointer size
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8267
    Fixes: b0d698c5328 ("rusticl: correctly check global argument size")
    Signed-off-by: Karol Herbst <kherbst@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21604>
    (cherry picked from commit 4c24ff0a3417c47fad64b587625b88c9d1fc1fd3)
    
  • 58f6de78
    by Lionel Landwerlin at 2023-03-08T18:00:17+00:00
    nir: fix nir_ishl_imm
    
    Both GLSL & SPIRV have undefined values for shift > bitsize. But SM5
    says :
    
       "This instruction performs a component-wise shift of each 32-bit
        value in src0 left by an unsigned integer bit count provided by
        the LSB 5 bits (0-31 range) in src1, inserting 0."
    
    Better to not hard code the wrong behavior in NIR.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: e227bb9fd5 ("nir/builder: add ishl_imm helper")
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@colllabora.com>
    Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21720>
    (cherry picked from commit a278eeb71974a89b6dd7c0fa3dbfe97183aeb657)
    
  • 37192624
    by Samuel Pitoiset at 2023-03-08T18:00:17+00:00
    radv: fix incorrect stride for primitives generated query with GDS
    
    When the query pool uses GDS (for NGG), the stride is 40.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8412
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21650>
    (cherry picked from commit c119b19f98dcaccb8802fb14f24b4f9b7574fceb)
    
  • 0ffe21ae
    by Yogesh Mohan Marimuthu at 2023-03-08T18:00:17+00:00
    ac/surface: only adjust pitch if surf_pitch was modified
    
    Modifying pitch for all LINEAR surface isn't correct;
    the original change that modified surf_pitch was only
    intended for YUV textures.
    
    This fixes vkGetImageSubresourceLayout rowPitch return value
    for VK_FORMAT_BC3_UNORM_BLOCK + VK_IMAGE_TILING_LINEAR.
    
    Fixes: fcc499d5 (ac/surface: adjust gfx9.pitch[*] based on surf->blk_w)
    
    v2: add check for UYVY format (Pierre-Eric)
    v3: move blk_w division to above if check (Pierre-Eric)
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
    Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21595>
    (cherry picked from commit 347a5b79f974a99874e12ad1806850295995c823)
    
  • 15a2c3d1
    by Samuel Pitoiset at 2023-03-08T18:00:17+00:00
    radv: fix border color swizzle for stencil-only format on GFX9+
    
    Swizzle of 8-bit stencil format is defined as _x__ but the hw expects
    BC_SWIZZLE_XYZW.
    
    Fixes dEQP-VK.pipeline.monolithic.sampler.border_swizzle.*s8_uint*.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21482>
    (cherry picked from commit 7b2086d741920ec302d0e8830242f4555948583b)
    
  • 8292375d
    by Samuel Pitoiset at 2023-03-08T18:00:17+00:00
    radv: fix defining RADV_USE_WSI_PLATFORM
    
    RADV_USE_WSI_PLATFORM was unused in radv_CreateImage().
    
    Fixes: 2a5d7f4926c ("radv: fix missing implementation of creating images from swapchains")
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21763>
    (cherry picked from commit c87c34bbba3b0d0890c050d34f4b7165b29b7326)
    
  • acb42bea
    by Samuel Pitoiset at 2023-03-08T18:00:17+00:00
    radv: disable DCC with signedness reinterpretation on GFX11
    
    All formats should be compatible on GFX11 but for some weird reasons
    DCC with signedness reinterpretation doesn't work as expected, like
    R8_UINT<->R8_SINT. Note that RadeonSI also has issues with this.
    
    This might be a hardware bug on RDNA3.
    
    This fixes DCC issues with Cyberpunk and A Plague Tale: Requiem.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8020
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8371
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21755>
    (cherry picked from commit e6735409eefaec52ef78acecd3f3e7c310c63887)
    
  • 3dbe6c6d
    by Eric Engestrom at 2023-03-08T18:33:45+00:00
    docs: add release notes for 22.3.7
    
  • 127b1f0b
    by Eric Engestrom at 2023-03-08T18:37:09+00:00
    VERSION: bump for 22.3.7
    

30 changed files:

The diff was not included because it is too large.

Reply to: