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

[Git][xorg-team/lib/mesa][debian-experimental] 57 commits: .pick_status.json: Update to e64a97694ac9dc97f65e1a8e91a5c9789109fd2c



Title: GitLab

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

Commits:

  • 30a1ebe0
    by Eric Engestrom at 2023-10-30T15:46:58+00:00
    .pick_status.json: Update to e64a97694ac9dc97f65e1a8e91a5c9789109fd2c
    
  • a0690566
    by Lionel Landwerlin at 2023-10-30T15:47:02+00:00
    intel/fs: fix dynamic interpolation mode selection
    
    We can end up in situation where we are dispatched with a multisample
    framebuffer but not at per-sample. In this case we would request the
    at_sample value with the wrong message configuration.
    
    Relying on the BRW_WM_MSAA_FLAG_MULTISAMPLE_FBO flag superseeds
    BRW_WM_MSAA_FLAG_PERSAMPLE_DISPATCH.
    
    Fixes piglit tests :
    
    spec@arb_gpu_shader5@arb_gpu_shader5-interpolateatsample*
    
    With Zink on Anv
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: 68027bd38e ("intel/fs: implement dynamic interpolation mode for dynamic persample shaders")
    Reviewed-by: Emma Anholt <emma@anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25854>
    (cherry picked from commit 439b0e86884eba55a4c25add9fe2763af1782b9f)
    
  • e886ef76
    by Neha Bhende at 2023-10-30T15:47:03+00:00
    ntt: lower indirect tesslevels in ntt
    
    Tessellation shader which are using indirect
    addressing for tesslevels e.g
      gl_TessLevelOuter[gl_InvocationID] = tessLevelOuter;
    are crashing because gl_TessLevelOuter is now a
    compact array variable and nir expects a constant
    array index into the compact array variable.
    
    This patch handles such cases.
    
    This fixes MR 21940
    Fixes: 84006587d7e5 ("glsl: Delete the lower_tess_level pass.")
    
    Tested with glretrace
    
    Reviewed-by: Charmaine Lee <charmainel@vmware.com>
    Reviewed-by: Emma Anholt <emma@anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25773>
    (cherry picked from commit 8cfb46e27dfb12acdb1a00f7687a43899d770cca)
    
  • aac2d7f1
    by Mike Blumenkrantz at 2023-10-30T15:47:04+00:00
    zink: don't block large vram allocations
    
    I think this was masking some other problem that has long since been fixed
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25893>
    (cherry picked from commit ac6139ad73f55595cb089d848d080f8e84689c34)
    
  • e0b43625
    by Lionel Landwerlin at 2023-10-30T15:47:08+00:00
    anv/meson: add missing dependency on the interface header
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: db335d9b73 ("anv: factor out host/gpu internal shaders interfaces")
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25905>
    (cherry picked from commit ce5472137fb57348da59c32944e4b126a8ae795c)
    
  • e3bef4df
    by Samuel Pitoiset at 2023-10-30T15:47:09+00:00
    ac/gpu_info: remove bogus assertion about number of COMPUTE/SDMA queues
    
    For example, my polaris10 GPU now returns 3 compute queues.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25876>
    (cherry picked from commit 4f8a2253875fdb677beb85c91ecb033cbf231fc7)
    
  • c9040f48
    by Corentin Noël at 2023-10-30T15:47:10+00:00
    mesa/bufferobj: ensure that very large width+offset are always rejected
    
    In the case width+offset is triggering an integer overflow, the checks in place
    are not working as the comparison will fail.
    
    Cc: mesa-stable
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25909>
    (cherry picked from commit e95c9b0515b85f65e00d47a152a881cc232a0d92)
    
  • c23ba4e8
    by Ian Romanick at 2023-10-30T15:47:12+00:00
    nir/split_vars: Don't split arrays of cooperative matrix types
    
    glsl_type_is_vector_or_scalar would more accruately be called "can be an
    r-value that isn't an array, structure, or matrix. This optimization
    pass really shouldn't do anything to cooperative matrices. These
    matrices will eventually be lowered to something else (dependent on the
    backend), and that thing may (or may not) be handled by this or another
    pass.
    
    Fixes: 2d0f4f2c17b ("compiler/types: Add support for Cooperative Matrix types")
    Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25871>
    (cherry picked from commit 18d8a96a00a1666fcf202ae89aee6344d295687e)
    
  • 4a30434a
    by Sil Vilerino at 2023-10-30T15:47:12+00:00
    d3d12: d3d12_video_buffer_create_impl - Fix resource importing
    
    Only align resource dimensions on creation, not when importing existing D3D resource object.
    Otherwise importing the resource fails since the resource descriptor does not match the aligned
    dimensions passed in the template.
    
    Fixes: 62fded5e4f8 ("d3d12: Allocate d3d12_video_buffer with higher alignment for compatibility")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25913>
    (cherry picked from commit dfb95160266e1be49edc08863c4c760c3f774f9a)
    
  • eb6e3a2a
    by Alyssa Rosenzweig at 2023-10-30T15:47:13+00:00
    hasvk: Support builiding on non-Intel
    
    Should help Eric build test releases on their MacBook :-)
    
    Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
    Cc: mesa-stable
    Reviewed-by: Eric Engestrom <eric@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25882>
    (cherry picked from commit c8192c1c93ec4a988c14c038f7efcf2343c1f62a)
    
  • b42d8248
    by Alyssa Rosenzweig at 2023-10-30T15:47:13+00:00
    crocus: Support building on non-Intel
    
    Ditto.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
    Cc: mesa-stable
    Reviewed-by: Eric Engestrom <eric@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25882>
    (cherry picked from commit 2552ac360d25e6e5f52c0877228540aeb012c858)
    
  • 048a358b
    by Alyssa Rosenzweig at 2023-10-30T15:47:14+00:00
    meson: Add vulkan-drivers=all option
    
    To build-test everything, helpful to check common code changes before pounding
    CI.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
    Cc: mesa-stable
    Reviewed-by: Eric Engestrom <eric@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25882>
    (cherry picked from commit b70e948886976d2fb17b3191c9116c1babe25810)
    
  • a5bcd8b8
    by Alyssa Rosenzweig at 2023-10-30T15:47:14+00:00
    meson: Add gallium-drivers=all option
    
    Again, useful to lint common code changes and for our macbook-wielding rel
    manager <3
    
    Omits i915g due to dependency hell, everything else builds on fedora asahi.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
    Cc: mesa-stable
    Reviewed-by: Eric Engestrom <eric@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25882>
    (cherry picked from commit ef4aa24a15a7a84b6deda058f710e5f4c52e3984)
    
  • 0144e4d0
    by Mike Blumenkrantz at 2023-10-30T15:47:21+00:00
    zink: add copy box locking
    
    this can technically be accessed by multiple threads, so ensure
    access is serialized
    
    backport-to: 23.3
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25924>
    (cherry picked from commit 782481c429100ebc8df68ca54e4f34722eced1c8)
    
  • 8a7498e1
    by Faith Ekstrand at 2023-10-30T15:47:22+00:00
    nir/lower_bit_size: Fix subgroup lowering for floats
    
    Using u2u is always correct for integers, including signed integers,
    because we're doing a down-cast.  It's wrong for floats, though.
    
    Fixes: f95665cfebbd ("nir/lower_bit_size: Add support for lowering subgroup ops")
    Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
    Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25894>
    (cherry picked from commit 5979e74177eb3013ca7e78867295e9a015e6c8ed)
    
  • da8fcbae
    by Mike Blumenkrantz at 2023-10-30T15:47:23+00:00
    zink: emit SpvCapabilitySampleRateShading with SampleId
    
    required by spec
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25914>
    (cherry picked from commit 7035b5a8e858ca4c4773baefdd62bf19e7e3ffe6)
    
  • dea50199
    by Mike Blumenkrantz at 2023-10-30T15:47:24+00:00
    zink: always set VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT for usermem
    
    required by spec
    
    backport-to: 23.3
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25914>
    (cherry picked from commit 009d4a5fda58d5bb4c642fe711e19cb91c4bc1f4)
    
  • c7822e2b
    by Mike Blumenkrantz at 2023-10-30T15:47:25+00:00
    zink: clamp resolve extents to src/dst geometry
    
    exceeding src/dst extents is illegal
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25914>
    (cherry picked from commit e8b2680045b68334f3c82fada27a4edfe83bad22)
    
  • 1e7a25df
    by Mike Blumenkrantz at 2023-10-30T15:47:29+00:00
    zink: only emit xfb execution mode for last vertex stage
    
    this is otherwise illegal
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25914>
    (cherry picked from commit 694ebe8c7228aa5a2c427cd33b0d6fdf3360174d)
    
  • 08ad7e3e
    by Mike Blumenkrantz at 2023-10-30T15:47:29+00:00
    aux/u_transfer_helper: set rendertarget bind for msaa staging resource
    
    this matches other resources created with staging blit-like mechanics
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25914>
    (cherry picked from commit 87e3720b66aeef08351dc578863360c587514d53)
    
  • 199f9783
    by Mike Blumenkrantz at 2023-10-30T15:47:30+00:00
    zink: unset explicit_xfb_buffer for non-xfb shaders
    
    this catches duplicated xfb when generated geometry shaders are used
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25914>
    (cherry picked from commit df74ea771782966009def93339d0f4a1d94d12a1)
    
  • 7b731ab6
    by Mike Blumenkrantz at 2023-10-30T15:47:31+00:00
    mesa/st/texture: match width+height for texture downloads of cube textures
    
    some drivers require this
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25914>
    (cherry picked from commit ee1039877c14b9671e08342585bd0e2f4a6decb6)
    
  • 336e6df3
    by Karol Herbst at 2023-10-30T15:47:31+00:00
    rusticl/device: restrict image_buffer_size
    
    It's pointless to advertise more than CL_DEVICE_MAX_MEM_ALLOC_SIZE and
    also the CTS tests against this.
    
    Cc: mesa-stable
    Signed-off-by: Karol Herbst <kherbst@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25837>
    (cherry picked from commit 9b6ac56d72d6d74cfe85ed9caff663f841dd6def)
    
  • bcfdd747
    by Karol Herbst at 2023-10-30T15:47:32+00:00
    rusticl/device: restrict param_max_size further
    
    It's kinda pointless to have it too big, it also causes weird shaders to
    be generated and causes stack overflows in `nir_opt_gcm`.
    
    Nothing needs big values here anyway.
    
    Cc: mesa-stable
    Signed-off-by: Karol Herbst <kherbst@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25837>
    (cherry picked from commit 694001eef70e220c709523cd71aad4b7b7c6c8db)
    
  • 65bd87bd
    by Karol Herbst at 2023-10-30T15:47:32+00:00
    rusticl/mem: properly set pipe_image_view::access
    
    Cc: mesa-stable
    Signed-off-by: Karol Herbst <kherbst@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25837>
    (cherry picked from commit abd8ef84ff4034a8f159f4743dc025dbfde8b837)
    
  • f9337e1c
    by Karol Herbst at 2023-10-30T15:47:33+00:00
    zink: lower fisnormal as it requires the Kernel Cap
    
    I didn't check if it's a valid vulkan SPIR-V opcode and turns out it isn't
    
    Fixes: 82eed326f47 ("zink: support more nir opcodes")
    Signed-off-by: Karol Herbst <kherbst@redhat.com>
    Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25837>
    (cherry picked from commit 01b6ccccc6af3111da4466d083335ed5f0646a5e)
    
  • 77eb71a6
    by Karol Herbst at 2023-10-30T15:48:27+00:00
    radv: fix buffers in vkGetDescriptorEXT with size not aligned to 4
    
    The range alignment didn't happen through GetDescriptorEXT as it called
    write_buffer_descriptor directly. So simply move the align
    from write_buffer_descriptor_impl into write_buffer_descriptor.
    
    Fixes: 46e0c77582d ("radv: implement VK_EXT_descriptor_buffer")
    Signed-off-by: Karol Herbst <kherbst@redhat.com>
    Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25837>
    (cherry picked from commit 1c619b668d69c66521d1da8edd97e518d6d61857)
    
  • 423202ca
    by Karol Herbst at 2023-10-30T15:48:28+00:00
    rusticl/queue: Only take a weak ref to the last Event
    
    This resolves a memory leak when the application drops its last reference
    to the queue, but never waits explicitly.
    
    The problem was, that the queue was refed by QueueState::last and that ref
    only gets dropped on a blocking wait. This is problematic as non user
    Event objects also hold a ref on the Queue they are created on, therefore
    causing a cyclic ref relation.
    
    In order to resolve it, just use a weak reference. A failure of upgrading
    the Weak ref is not an issue as in this case we'd only wait on an already
    destroyed or processed event. The worker thread already makes sure
    everything stays in sync.
    
    Fixes: 5b3ff7e3f3d ("rusticl/queue: overhaul of the queue+event handling")
    Signed-off-by: Karol Herbst <kherbst@redhat.com>
    Reviewed-by: @LingMan <18294-LingMan@users.noreply.gitlab.freedesktop.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25926>
    (cherry picked from commit 9a3af6e1d8a88ff5c919d33966e97168fe780a86)
    
  • e8e6ad56
    by Mike Blumenkrantz at 2023-10-30T15:48:29+00:00
    zink: add more locking for compute pipelines
    
    if multiple contexts are accessing this all at once then this needs
    more locking to avoid unsynchronized cache access
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25929>
    (cherry picked from commit f8909e7d55e86c7db55f4b9482f94c993f5e2529)
    
  • 2ee4ef99
    by Mike Blumenkrantz at 2023-10-30T15:48:29+00:00
    radv: correctly return oom from the device when failing to create a cs
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25927>
    (cherry picked from commit c4283e32e3e8d96987358620aa43483a79eea08b)
    
  • ede1cdbc
    by Mike Blumenkrantz at 2023-10-30T15:48:30+00:00
    zink: check for cbuf0 writes before setting A2C
    
    VUID-vkCmdDrawMultiIndexedEXT-alphaToCoverageEnable-08919 requires
    a cbuf0 write for A2C to be active
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25938>
    (cherry picked from commit 736577871b939573af400e4e64ebfe18863d49af)
    
  • 39f9dc50
    by Caio Oliveira at 2023-10-30T15:48:31+00:00
    anv: Fix leak when compiling internal kernels
    
    Cc: mesa-stable
    Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Tested-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25928>
    (cherry picked from commit 9d73bfc9cdd127a52d07bf8b60e66c5a9495890e)
    
  • 62c4a227
    by Marek Olšák at 2023-10-30T15:48:31+00:00
    radeonsi: initialize perfetto in the right place
    
    Compute contexts don't execute the second half of the function.
    
    Fixes: a164e147e91 - radeonsi: Add perfetto support in radeonsi
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10043
    
    Tested-by: Mike Lothian <mike@fireburn.co.uk>
    Tested-by: Karol Herbst <kherbst@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25873>
    (cherry picked from commit 276b9b13cf4d073c8a6faa18f41952d2f826679d)
    
  • 5e690f40
    by Karol Herbst at 2023-10-30T15:48:32+00:00
    rusticl/mesa: pass PIPE_BIND_LINEAR in resource_create_texture_from_user
    
    Host pointer allocations are all linear laid out, so just tell the drivers
    in case they don't assume this implicitly.
    
    Fixes: 71a9af49107 ("rusticl/mem: support read/write/copy ops for images")
    Signed-off-by: Karol Herbst <kherbst@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25937>
    (cherry picked from commit 7f08036abc5dd361b2161660f2f7efce8df86056)
    
  • 8986b7f9
    by Karol Herbst at 2023-10-30T15:48:33+00:00
    zink: deallocate global_bindings array
    
    Fixes: a6e9e0f0d77 ("zink: add set_global_binding")
    Signed-off-by: Karol Herbst <kherbst@redhat.com>
    Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25937>
    (cherry picked from commit 2f34a1db5883a2e5178371d8295f711bd754a1e1)
    
  • 8a50c841
    by Iago Toral Quiroga at 2023-10-30T15:48:35+00:00
    v3d,v3dv: fix MMU error from hardware prefetch after ldunifa
    
    ldunifa works exactly the same as ldunif: the hw will prefetch the
    next 4 bytes after a read, so if a buffer is exactly a multiple of
    a page size and a shader uses ldunifa to read exactly the last 4 bytes
    the prefetch will read out of bounds and spam the error on the kernel
    log. Avoid that by allocating extra bytes in this scenario.
    
    Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25752>
    (cherry picked from commit 82bef62c17c79b298601fd565ce558c5282a88b7)
    
  • c03932b6
    by Samuel Pitoiset at 2023-10-30T15:49:44+00:00
    radv: fix a synchronization issue with primitives generated query on RDNA1-2
    
    Only RDNA1-2 are affected because RADV needs to handle the legacy vs
    NGG path for this query, and the NGG results are stored with 2 extra
    64-bit values.
    
    Fixes flakes with
    dEQP-VK.transform_feedback.primitives_generated_query.* since VKCTS
    1.3.7.0.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25862>
    (cherry picked from commit 7d96fe853e1b007293054645caf54ade77a77c90)
    
  • 21798650
    by Danylo Piliaiev at 2023-10-30T15:49:45+00:00
    tu: Fix reading of stale (V)PC_PRIMITIVE_CNTL_0
    
    PC_PRIMITIVE_CNTL_0 is not set in a draw state and may be changed
    by 3d blits, so we have to re-emit it a the start of a renderpass.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9941
    
    Fixes: 7be8d0f7f490ea58c89798efca7e45b84dc395da
    ("tu: Use common dirty tracking for PC_PRIMITIVE_CNTL_0")
    
    Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25918>
    (cherry picked from commit cdbb8b541266b1095c9565eef6d115adac73c1aa)
    
  • 7b81db9f
    by Eric Engestrom at 2023-10-31T14:33:11+00:00
    .pick_status.json: Update to 4cdd094ae1e97d857a6b9dbc291d7bbe6ea266ac
    
  • d282666f
    by Lionel Landwerlin at 2023-10-31T14:33:13+00:00
    anv: fix corner case of mutable descriptor pool creation
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: 63e91148b7 ("anv: Enable VK_VALVE_mutable_descriptor_type")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10065
    Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25958>
    (cherry picked from commit cdca0b2ce4d603d4f5914d7a1e37923a6a959541)
    
  • aab94295
    by Juston Li at 2023-10-31T14:33:14+00:00
    venus: add helper function to get cmd handle
    
    rename previous vn_get_cmd_handle as that was getting cmd
    handles from the temp storage cmd_handle buffer.
    
    Cc: 23.3 <mesa-stable>
    Signed-off-by: Juston Li <justonli@google.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25413>
    (cherry picked from commit 2ea6f935ce554c5a1666648a284406db8edc3cc7)
    
  • 0bf24452
    by Juston Li at 2023-10-31T14:33:15+00:00
    venus: refactor out common cmd feedback functions
    
    defered query feedback cmds have similaries with timeline semaphore
    feedback so refactor out some common functions for reuse
    
    Cc: 23.3 <mesa-stable>
    Signed-off-by: Juston Li <justonli@google.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25413>
    (cherry picked from commit 99807b3db65e107fc35f9419979600fcec7b8230)
    
  • 49aa21e3
    by Juston Li at 2023-10-31T14:33:15+00:00
    venus: support deferred query feedback recording
    
    Add function to alloc a cmd buffer and record all the deferred query
    feedback cmds into it at submission time.
    
    Cc: 23.3 <mesa-stable>
    Signed-off-by: Juston Li <justonli@google.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25413>
    (cherry picked from commit 6dcf033dc30e52c1557999bf7588cf0e1c5dcc8c)
    
  • 62ea10c0
    by Juston Li at 2023-10-31T14:33:16+00:00
    venus: track/recycle appended query feedback cmds
    
    Link the query feedback cmd lifecycle to a cmd in the batch so that when
    that last cmd gets reset/freed, we assert its safe to reset the query
    feedback cmd. The cmd is then placed on the free list for reuse.
    
    Some edge cases if the the last cmd is simultaneous or gets resubmitted.
    
    Cc: 23.3 <mesa-stable>
    Signed-off-by: Juston Li <justonli@google.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25413>
    (cherry picked from commit d2a626787e559dad9105243be9e5043c9230853c)
    
  • a33f38d2
    by Juston Li at 2023-10-31T14:33:16+00:00
    venus: append query feedback at submission time
    
    Cc: 23.3 <mesa-stable>
    Signed-off-by: Juston Li <justonli@google.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25413>
    (cherry picked from commit 7fbf608f2dac486b23030d3b48dd10bb453d9eb8)
    
  • 69e6b030
    by Juston Li at 2023-10-31T14:33:28+00:00
    venus: switch to unconditionally deferred query feedback
    
    All commands that make queries available have feedback cmds batched
    and stored during recording. At submission time, for each batch
    (SubmitInfo) these feedback cmds are recorded in a cmd buffer that is
    appended after the last original cmd buffer (but before
    semaphore/fence feedback).
    
    Query reset cmds are deferred as well and also remove any prior feedback
    cmds for queries its resetting within the batch.
    
    Cc: 23.3 <mesa-stable>
    Signed-off-by: Juston Li <justonli@google.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25413>
    (cherry picked from commit 5b24ab91e43a54b4f4081db52ebf6653b97e72bb)
    
  • 4e4cd706
    by Eric Engestrom at 2023-11-01T12:48:13+00:00
    .pick_status.json: Update to e4a1bc70dd739ca8addddc940af08312b038e288
    
  • 14fac520
    by Karol Herbst at 2023-11-01T12:48:16+00:00
    rusticl/mesa/screen: do not derefence the entire pipe_screen struct
    
    Apparently the dereferences made tsan report data races on the pipe_screen
    object.
    
    Cc: mesa-stable
    Signed-off-by: Karol Herbst <kherbst@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25944>
    (cherry picked from commit f7830240acc43280154dacd0ab075dcaa0051da8)
    
  • 3cb82751
    by Samuel Pitoiset at 2023-11-01T12:48:16+00:00
    radv: bind the non-dynamic graphics state from the pipeline unconditionally
    
    The following sequence is valid (although weird) but many other drivers
    (including RADV) were broken:
        - bind pipeline with some static state
        - set state command for that static state (to a bad value)
        - bind the same pipeline again
        - draw
    
    Fixes new dEQP-VK.dynamic_state.*.double_static_bind.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25954>
    (cherry picked from commit e4a1bc70dd739ca8addddc940af08312b038e288)
    
  • 4ac0a878
    by Eric Engestrom at 2023-11-01T14:52:52+00:00
    .pick_status.json: Update to faed5d647f2416bb0ce3a9d33a3955169c70dc52
    
  • 18397e51
    by Samuel Pitoiset at 2023-11-01T14:52:54+00:00
    radv: fix compute shader invocations query on compute queue on GFX6
    
    Looks like GFX6 always writes the number of compute shader invocations
    at offset 0 when used on compute queue.
    
    This fixes dEQP-VK.query_pool.statistics_query.*_cq on GFX6.
    
    Fixes: a9945216ba2 ("radv: fix COMPUTE_SHADER_INVOCATIONS query on compute queue")
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25957>
    (cherry picked from commit 9a0a77cb53d0d31c7a090d06ac905d69e9c1131c)
    
  • 2b66b230
    by Samuel Pitoiset at 2023-11-01T14:52:55+00:00
    radv: emit COMPUTE_PIPELINESTAT_ENABLE for CS invocations on ACE
    
    This register seems needed to enable compute shader shader invocations
    on GFX7. On GFX8+ it's working fine without emitting this register but
    I think it doesn't hurt.
    
    This fixes dEQP-VK.query_pool.statistics_query.*_cq on GFX7.
    
    Fixes: a9945216ba2 ("radv: fix COMPUTE_SHADER_INVOCATIONS query on compute queue")
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25957>
    (cherry picked from commit 17daa08dff0cf9479b27ed7402de61336607ec10)
    
  • c97af690
    by Eric Engestrom at 2023-11-01T17:27:10+00:00
    VERSION: bump for 23.3.0-rc2
    
  • 3f18f50c
    by Timo Aaltonen at 2023-11-02T15:39:06+02:00
    Merge branch 'upstream-experimental' into debian-experimental
    
  • b31648ae
    by Timo Aaltonen at 2023-11-02T15:40:52+02:00
    version bump
    
  • 04e88d74
    by Timo Aaltonen at 2023-11-02T15:59:06+02:00
    control, rules: Drop kfreebsd.
    
  • 16e5f832
    by Timo Aaltonen at 2023-11-02T15:59:24+02:00
    release to experimental
    

30 changed files:

The diff was not included because it is too large.

Reply to: