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

[Git][xorg-team/lib/mesa][debian-unstable] 82 commits: docs: Update release calendar for 23.2.0-rc4



Title: GitLab

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

Commits:

  • 1b59c4d7
    by Dylan Baker at 2023-09-24T13:49:46-07:00
    docs: Update release calendar for 23.2.0-rc4
    
  • 47b531ce
    by Dylan Baker at 2023-09-24T13:55:47-07:00
    .pick_status.json: Mark fa6562b239f00f9f72c988459e252bdee072fd73 as denominated
    
  • 6bc35038
    by Mike Blumenkrantz at 2023-09-24T13:55:50-07:00
    zink: always add a per-prog ref for gpl libs
    
    previously non-separable progs had their libs owned exclusively by
    the shaders, which meant it was possible for a background compile job
    to crash while the context was being destroyed when accessing libs
    which no longer had active shaders
    
    fixes #9234
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25088>
    (cherry picked from commit fd297ecf98ee14f3eba08c0e1e2aa0f277e2aaac)
    
  • 01019b95
    by Dave Airlie at 2023-09-24T13:55:51-07:00
    llvmpipe: enable f16 paths on aarch64.
    
    Karol noticed luxmark didn't work, and this seems to fix it.
    
    Cc: mesa-stable
    Reviewed-by: Karol Herbst <kherbst@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25104>
    (cherry picked from commit 109a99e6914b124563dca7bb3b8c5eb276a1ad59)
    
  • 864a2063
    by Georg Lehmann at 2023-09-24T13:55:52-07:00
    nir/opt_algebraic: remove broken fddx/fddy patterns
    
    These patterns are broken in the following scenario:
    
    %1 = f2fmp %0
    %2 = fddx %1
    %3 = ... // non quad uniform
    if %3 {
       %4 = f2f32 %2
       ...
    }
    
    Which would turn into
    
    %3 = ...
    if %3 {
       %4 = fddx %0
       ...
    }
    
    Yet another example that shows why derivative instructions should be
    be intrinsics, not alu.
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Reviewed-by: Emma Anholt <emma@anholt.net>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25014>
    (cherry picked from commit 136a6982515f527a82bfbdeb19c6f5c9d7ce3cf2)
    
  • e1469b8a
    by David Rosca at 2023-09-24T13:55:52-07:00
    frontends/va: Flush after unmapping VAImageBufferType
    
    If application changed image data we need to flush on unmap to make the
    changes visible. This will also flush if the mapping was used only for
    reading, but we can't know that as vaMapBuffer doesn't have a parameter
    to specify if read or write is requested.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9774
    
    Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25102>
    (cherry picked from commit d6299ec258d4e991855f8c7bd0ee71f3c286234a)
    
  • c5fab24c
    by Konstantin Seurer at 2023-09-24T13:55:53-07:00
    radv: Don't use the depth image view for depth bias emission
    
    If the application records a secondary command buffer that inherits
    a render pass without specifying a framebuffer, we should still be able
    to emit the depth bias state properly.
    
    Fixes: 266b2cf ("radv: implement VK_EXT_depth_bias_control")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9588
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25018>
    (cherry picked from commit 28e1e33c32bd1c58ff20c7c9b5801f6c56a5734b)
    
  • ad390aa5
    by Mike Blumenkrantz at 2023-09-24T13:55:54-07:00
    zink: set is_xfb=false for all i/o variables
    
    this can affect streamout generation, even though it so far hasn't
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24950>
    (cherry picked from commit e87b24719f0b50fc1f012569b41651f06bbb88c4)
    
  • 8a6a4897
    by Jordan Justen at 2023-09-24T13:55:54-07:00
    intel/dev: Update device string for MTL PCI ID 0x7d55
    
    Ref: bspec 55420
    Cc: mesa-stable
    Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
    Acked-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25073>
    (cherry picked from commit ddc3c18e4aaa5b068e1c53147ba0cc1005f3cc68)
    
  • 6cfb0519
    by Mike Blumenkrantz at 2023-09-24T13:55:55-07:00
    nir/inline_uniforms: fix oob access with nir_find_inlinable_uniforms
    
    the array dimensionality needs to match nir_add_inlinable_uniforms even if
    only the first member is used
    
    Fixes: 0c0fb216dd6 ("nir/inline_uniforms: Allow possibility of more than one UBO")
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25063>
    (cherry picked from commit 39fca243bb914cea853e9d3502f1f38e6bf96ad4)
    
  • 0a6043c6
    by Erico Nunes at 2023-09-24T13:55:55-07:00
    lima: fix plbu block stride calculation
    
    For some specific texture sizes, notably some texture sizes with width
    4096, block stride calculation could end up calculating stride 256 which
    is an invalid value.
    In those specific cases, this could cause rendering artifacts or
    application/driver crashes.
    
    Cc: mesa-stable
    
    Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
    Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25084>
    (cherry picked from commit cb1c88d41f6dc213533f33f34e9224706f564849)
    
  • 2537864f
    by Xaver Hugl at 2023-09-24T13:55:56-07:00
    vulkan wsi: add support for PresentOptionAsyncMayTear
    
    This commit adds tearing support for Xwayland
    
    Signed-off-by: Xaver Hugl <xaver.hugl@gmail.com>
    Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19125>
    (cherry picked from commit 0a1ccd4a9a6c85bce2013d8ff843e96d151288c9)
    
  • 1c36f3c4
    by Samuel Pitoiset at 2023-09-24T13:55:57-07:00
    radv: fix emitting SQTT userdata when CAM is needed
    
    The third parameter of PKT3 is the predicate bit and this was wrong.
    PAL sets the RESET_FILTER_CAM bit when emitting SQTT userdata.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25158>
    (cherry picked from commit 6caae898dd40a4d986aad2eb6b3b705c989c95d9)
    
  • 75b75261
    by Samuel Pitoiset at 2023-09-24T13:55:57-07:00
    radv: fix capturing RGP on RDNA3 with more than one Shader Engine
    
    PKT3_RESET_FILTER_CAM_S seems required on GFX11. Otherwise, capturing
    with more than on SE can hang.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25156>
    (cherry picked from commit 2cc981a0cd548ecce1be16a92275d7a2a111e0fc)
    
  • 4d7b7927
    by Mike Blumenkrantz at 2023-09-24T13:55:58-07:00
    aux/tc: fix staging buffer sizing for texture_subdata
    
    this is the size of the src data, not the dst data
    
    Fixes: 51ad269198e ("aux/tc: handle stride mismatch during rp-optimized subdata")
    
    Acked-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25180>
    (cherry picked from commit b6bc1f85f45d1fea9e8a674dbfa1766b03ad5a9d)
    
  • 3c202526
    by Mike Blumenkrantz at 2023-09-24T13:55:58-07:00
    aux/tc: fix address calc for segmented texture subdata
    
    this fixes all dimension/array uses for the rp tracking path
    
    Fixes: 51ad269198e ("aux/tc: handle stride mismatch during rp-optimized subdata")
    
    Acked-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25180>
    (cherry picked from commit 5f73b8976bb21f8673c4696294c36a14534b345e)
    
  • 66e20bb8
    by Illia Polishchuk at 2023-09-24T19:51:21-07:00
    zink: move find_sampler_var from zink to nir core
    
    Avoid code duplication because it need to be used in following commits
    
    Fixes: 1a8dd84ec61 ("nir: Propagate the type sampler type change to the used variable.")
    
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    Signed-off-by: Illia Polishchuk <illia.a.polishchuk@globallogic.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25145>
    (cherry picked from commit 5a7044d0bc9376aa67d74b735aab425790d8a935)
    
  • 684ce435
    by Illia Polishchuk at 2023-09-24T19:51:22-07:00
    nir: fix invalid sampler search by texture id
    
    Sampler id cannot be mapped to a uniform object location
    
    Fixes: 1a8dd84ec61 ("nir: Propagate the type sampler type change to the used variable.")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9793
    
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    Signed-off-by: Illia Polishchuk <illia.a.polishchuk@globallogic.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25145>
    (cherry picked from commit b8a54c50a6a425e95a3ce72986a32b630729814a)
    
  • 7ca144b9
    by Yiwei Zhang at 2023-09-24T19:51:23-07:00
    venus: fix a device memory report leak
    
    Fixes: f70a08bc60f ("venus: handle device memory report requests")
    Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25176>
    (cherry picked from commit da16a76fe7dafa210c6191c968b29854a87e805b)
    
  • 6c828529
    by Hans-Kristian Arntzen at 2023-09-24T19:51:23-07:00
    wsi/x11: Fix potential deadlock in present ID.
    
    If we observe IDLE before COMPLETE, another queued image may have
    presented with present ID 0 which would break the check fixed in this
    commit. The original fix for present_id / signal_present_id split
    forgot to take this into account.
    
    Fixes: 32f7ff2c204b ("Fix present ID signal when IDLE comes before
    COMPLETE").
    
    Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
    Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25178>
    (cherry picked from commit 08fee190aa0b504c3730cc335b02d7bb86bf8208)
    
  • af918215
    by Dave Airlie at 2023-09-24T19:51:24-07:00
    radv: don't emit event code on video queues.
    
    I don't know if these can be done properly, but for now just don't
    emit the standard cp stuff since it hangs the GPU.
    
    "Fixes" dEQP-VK.video.synchronizat*
    
    Cc: mesa-stable
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25170>
    (cherry picked from commit 147c17c28c38f57ea91d2bde1198d783dae1424d)
    
  • 8ac453ea
    by Caio Oliveira at 2023-09-24T19:51:24-07:00
    compiler/types: Use right hash for function types
    
    No bug really materialized since function types
    aren't currently being used.
    
    Fixes: 26f456203ca ("compiler/types: Use hash table pre-hashed functions for type caching")
    Reviewed-by: Emma Anholt <emma@anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25160>
    (cherry picked from commit 247f940d3735b6532d4487cd7ff8c0729fb9ea37)
    
  • d3b68800
    by Dave Airlie at 2023-09-24T19:51:25-07:00
    spirv: use a pointer sized int type for opencl event_t
    
    llvm16 + opaque pointers uses a ptr to event for the opaque type,
    llvm 17 fixes this properly, but the fix doesn't look too backportable.
    
    Cc: mesa-stable
    Reviewed-by: Karol Herbst <kherbst@redhat.com>
    Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25165>
    (cherry picked from commit f423d91790a2341c14909a63e7083ac9b51076db)
    
  • 62c008d2
    by Mike Blumenkrantz at 2023-09-24T19:51:26-07:00
    glsl: check for xfb setting xfb info
    
    this otherwise hits the default buffer=0 path, which is invalid
    for drivers which don't support xfb
    
    fixes #9763
    
    cc: mesa-stable
    
    Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25082>
    (cherry picked from commit 06af083b9301216f0d764e1753406e8fb66b3277)
    
  • 2bc31ef0
    by Erik Faye-Lund at 2023-09-24T19:51:26-07:00
    panfrost: delete stale editorconfig file
    
    We no longer use 8-space indent in panfrost, so let's remove the
    needless .editorconfig, and instead inherit the 3-space indent from the
    toplevel .editorconfig.
    
    Fixes: 0afd691f296 ("panfrost: clang-format the tree")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25147>
    (cherry picked from commit 210f1e14d5a1f3c9cb6979c42452b72c65488cf2)
    
  • dc504299
    by Sil Vilerino at 2023-09-24T19:51:28-07:00
    aux/tc: Add ASSERTED to unreferenced release build variable
    
    Fixes MSVC build error src/gallium/auxiliary/util/u_threaded_context.c(3184): error C4189: 'size': local variable is initialized but not referenced
    
    Fixes: 51ad269198e ("aux/tc: handle stride mismatch during rp-optimized subdata")
    
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25203>
    (cherry picked from commit d48f2469bea263e114ae125abb742a7422ce8f71)
    
  • 814b8bf5
    by Mike Blumenkrantz at 2023-09-24T19:51:29-07:00
    aux/tc: fix renderpass tracking fb state clobber scenario
    
    in a stream like:
    * set fb state (A)
    * flush
    * set fb state (B)
    * draw -> driver query
    * flush
    
    the "driver query" should return the tc info corresponding to the most
    recent fb state (B). previously this would increment to C because
    the flag for incrementing at the start of a batch was set
    
    Fixes: 07017aa137b ("util/tc: implement renderpass tracking")
    
    Acked-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25206>
    (cherry picked from commit 9399165bd4e01d7842440d306d82351b83f1b0a9)
    
  • 41cee21f
    by Dave Airlie at 2023-09-24T19:51:30-07:00
    radv/video: take db alignment into account when allocating images.
    
    Make sure to take the db alignment into account when sizing the underlying
    images.
    
    Fixes a 360p sample from Lynne.
    
    Cc: mesa-stable
    Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
    Reviewed-by: Lynne <dev@lynne.ee>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25168>
    (cherry picked from commit 3740b6f599b098b1cd3fddaec9938af681e8378c)
    
  • 1b614a22
    by Samuel Pitoiset at 2023-09-24T19:51:40-07:00
    radv: set THREAD_TRACE_MARKER_ENABLE for mesh/task draws
    
    PAL does that.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25144>
    (cherry picked from commit 312103e0ffb6129427feee2ece1db81fc57862a6)
    
  • 3e6c9dd7
    by Daniel Schürmann at 2023-09-24T19:51:43-07:00
    aco/insert_exec_mask: set Exact mode after p_discard_if when necessary
    
    Fixes: 5e9df85b1a4504c5b4162e77e139056dc80accc6 ('aco: optimize discard_if when WQM is not needed afterwards')
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25038>
    (cherry picked from commit 0907b53740a456d769d7ad26f071d7610abb9918)
    
  • c617870e
    by Ruijing Dong at 2023-09-24T19:51:43-07:00
    radeonsi/vcn: change max_poc to fixed value for hevc encoder.
    
    problem: max_poc means the number of bits used in poc lsb
             in slice header, and it should not be related to GOP
    	 size. When large GOP size used, it could generate
    	 corrupted video, as the POC could not be correctly
    	 decoded.
    
    solution: use fixed value of max_poc (16) for now.
    
    Cc: mesa-stable
    Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
    Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25214>
    (cherry picked from commit fb0f51bc642be3d7d96fa0a582185e46f2649f37)
    
  • 3fac6fa0
    by Mike Blumenkrantz at 2023-09-24T19:51:46-07:00
    aux/tc: fix rp info handling around tc_sync calls
    
    if a set_framebuffer_state call has occurred but no draws have been
    triggered, the rp info must be preserved for the driver to (eventually)
    use after the sync
    
    Fixes: 07017aa137b ("util/tc: implement renderpass tracking")
    
    Acked-by: Marek Olšák <marek.olsak@amd.com>
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25227>
    (cherry picked from commit 81dd39de0198d1cd4497c7553da5e2347528e2a2)
    
  • 7932c7a0
    by Mike Blumenkrantz at 2023-09-24T19:51:47-07:00
    aux/tc: don't use pipe_buffer_create_with_data() for rp-optimized subdata
    
    this function doesn't use the correct tc map flags, which causes
    drivers to (potentially) use the wrong slab for transfer allocation
    and then crash
    
    Fixes: 51ad269198e ("aux/tc: handle stride mismatch during rp-optimized subdata")
    
    Acked-by: Marek Olšák <marek.olsak@amd.com>
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25227>
    (cherry picked from commit a5be0385c7c7f3eb380c4677b17b012ab9640ce0)
    
  • 8c6638a4
    by Mike Blumenkrantz at 2023-09-24T19:51:47-07:00
    zink: flag db maps as unsynchronized
    
    these otherwise can be created using the wrong slab
    
    Fixes: 98c411a2a19 ("zink: add PERSISTENT for db buffer maps")
    
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25227>
    (cherry picked from commit b73ebc6bfc3ab6efa2d2ae497d155e8326fad542)
    
  • 1b1d78da
    by Mike Blumenkrantz at 2023-09-24T19:51:48-07:00
    lavapipe: clamp cache uuid size
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25232>
    (cherry picked from commit dd6a7a8e61524ea1b933ca56c54bc49cb3306185)
    
  • 9eb180b3
    by Sviatoslav Peleshko at 2023-09-24T19:51:49-07:00
    intel/fs: Check if the whole ubo load range is in the push const range
    
    Before this, we were checking only the beginning of the ubo range, so
    partially overlapping loads were trying to load undefined data.
    
    Fixes: b2da1238 ("i965: Use pushed UBO data in the scalar backend.")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9748
    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/25111>
    (cherry picked from commit b1a63d5418f80d3db33f009d14729286f1877ce6)
    
  • 8ddfe6b7
    by Connor Abbott at 2023-09-24T19:51:49-07:00
    tu: Fix per-view viewport state propagation
    
    We no longer use viewport::per_view_viewport, it's part of the program
    state instead, but we forgot to delete it and rewrite all users.
    
    Fixes: 97da0a77341 ("tu: Rewrite to use common Vulkan dynamic state")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25225>
    (cherry picked from commit 749e1de9d33694d7be5190f03fe11a204694e4f4)
    
  • d86619a4
    by Connor Abbott at 2023-09-24T19:51:50-07:00
    tu: Fix assert in FDM state emission
    
    Making the sub_cs not writeable switches the BO we're emitting to, which
    causes an assert failure in tu_cs_end_sub_stream() because it looks like
    we have a mismatched start/end. Just make it not writeable later.
    
    Fixes: 97da0a77341 ("tu: Rewrite to use common Vulkan dynamic state")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25225>
    (cherry picked from commit 64ed3576993f407425b8f37d1e2299959f9962a7)
    
  • 80b09c3b
    by Mike Blumenkrantz at 2023-09-25T09:30:52-07:00
    tu: handle unused color attachments without crashing
    
    if the format is not set then this attachment must be ignored
    
    Fixes: 97da0a77341 ("tu: Rewrite to use common Vulkan dynamic state")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25121>
    (cherry picked from commit 047213fcbaffda7e769ed982bb1113c4383b5ee2)
    
  • ad008b8a
    by Mike Blumenkrantz at 2023-09-25T09:30:53-07:00
    zink: propagate rp_tc_info_updated across unordered blits
    
    this otherwise breaks rp optimizing
    
    Fixes: 3a9f7d70383 ("zink: implement unordered u_blitter calls")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25121>
    (cherry picked from commit 267b997abf11fa4ef02d9ee11c1f2fc39f86c1c7)
    
  • 35a67658
    by Samuel Holland at 2023-09-25T09:30:54-07:00
    Android.mk: Allow building only Vulkan drivers
    
    Android bundles ANGLE for implementing OpenGL ES and EGL on top of
    Vulkan. When using ANGLE, mesa is only needed for its Vulkan drivers.
    
    Cc: mesa-stable
    Acked-by: Mauro Rossi <issor.oruam@gmail.com>
    Reviewed-by: Roman Stratiienko <r.stratiienko@gmail.com>
    Change-Id: I034a0af52f9216bc5f1322f584bc591c90222327
    Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24007>
    (cherry picked from commit 599f47f11c6d38849e51d1680f08351d348ffe2e)
    
  • 8f4f86a9
    by Samuel Holland at 2023-09-25T09:30:54-07:00
    Android.mk: Explicitly enable/disable LLVM support
    
    The AMD Vulkan driver uses LLVM by default, but it is possible to build
    the driver without the LLVM dependency. In this case, we must explicitly
    disable LLVM support, or else meson will die after failing to find LLVM.
    
    The Android build system already knows when to link libLLVM, so forward
    that information to meson.
    
    Cc: mesa-stable
    Acked-by: Mauro Rossi <issor.oruam@gmail.com>
    Reviewed-by: Roman Stratiienko <r.stratiienko@gmail.com>
    Change-Id: I7489d3811625b390aaaf2e84e666b4a8d98328b0
    Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24007>
    (cherry picked from commit ec32619cb0475016b6d3519b999461e17acdf04c)
    
  • 72ab9d28
    by Samuel Holland at 2023-09-25T09:30:55-07:00
    Android.mk: Only link LLVM for radeonsi, not amd_vk
    
    When building for Android, avoid the LLVM dependency if possible.
    
    Cc: mesa-stable
    Acked-by: Mauro Rossi <issor.oruam@gmail.com>
    Reviewed-by: Roman Stratiienko <r.stratiienko@gmail.com>
    Change-Id: Idda03f954b4b5326e23a848e541411b60fcef063
    Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24007>
    (cherry picked from commit 497aecb210094d83f3b3be3a59f7210f610c33a6)
    
  • de15f2ae
    by Pierre-Eric Pelloux-Prayer at 2023-09-25T09:30:55-07:00
    st/mesa: check renderbuffer before using it
    
    rb being NULL is only checked for in the caller if no-error isn't
    used.
    
    cc: mesa-stable
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9747
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25209>
    (cherry picked from commit 63a3a9b23b0a042fb751ed8f4e31bda25cf2ee23)
    
  • 17ad8d42
    by Rhys Perry at 2023-09-25T09:30:56-07:00
    aco/optimizer_postRA: check overwritten_subdword in is_overwritten_since()
    
    Fixes crash for
    dEQP-VK.mesh_shader.ext.in_out.with_f16.permutation_0.mesh_only and
    similar tests on GFX11.
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
    Fixes: 3d29779a25a9 ("aco/optimizer_postRA: Distinguish overwritten untrackable and subdword.")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25223>
    (cherry picked from commit ac48334ecd307054bb4176089898c6e19e32fc6f)
    
  • d5a468dc
    by Rhys Perry at 2023-09-25T09:30:57-07:00
    aco: check logical_phi_info at p_logical_end when eliminating exec writes
    
    This is when the copies actually happen, not at the branch.
    
    fossil-db (gfx1100):
    Totals from 1 (0.00% of 79332) affected shaders:
    Instrs: 424 -> 423 (-0.24%)
    CodeSize: 2172 -> 2168 (-0.18%)
    Latency: 2899 -> 2896 (-0.10%)
    Copies: 24 -> 23 (-4.17%)
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25244>
    (cherry picked from commit 8d5bd3ca48d9aa5dfe42a7a7c079d25478c005a2)
    
  • 28642b50
    by Rhys Perry at 2023-09-25T09:30:57-07:00
    aco: remove unused p_logical_end check when optimizing branching sequence
    
    I don't see why a p_logical_end is expected or required. It might not be
    present in some situations, which causes an assertion failure:
     s2: %19646:s[0-1] = p_reload %19701:v[8], 11
     s2: %0:exec,  s1: %8817:scc = s_andn2_b64 %19646:s[0-1], %0:exec
     s2: %8818:s[20-21] = p_cbranch_z %0:exec BB1116, BB1114
    
    No fossil-db changes (gfx1100).
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25244>
    (cherry picked from commit 6dd751b3b94599f9948e86ec78e2c08163353f96)
    
  • 32ff8491
    by Yiwei Zhang at 2023-09-25T09:30:58-07:00
    vulkan/android: add missing AHARDWAREBUFFER_USAGE_GPU_DATA_BUFFER usage
    
    An AHB backing a Vkbuffer requires AHARDWAREBUFFER_USAGE_GPU_DATA_BUFFER
    usage bit, which is missed from the original ANV and RADV Android
    frontends as well as the common VK Android refactor.
    
    Cc: mesa-stable
    Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
    Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25263>
    (cherry picked from commit cd0b86fce1fa8cef655a42bfc873dac2633c4615)
    
  • f35d00a7
    by Tapani Pälli at 2023-09-25T09:30:58-07:00
    iris: avoid issues with undefined clip distance
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9797
    Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
    Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25177>
    (cherry picked from commit d6d73aae4f833d1e5d7c1bef68a8db3915ec666b)
    
  • e4faebcc
    by Tapani Pälli at 2023-09-25T09:30:59-07:00
    crocus: avoid issues with undefined clip distance
    
    Cc: mesa-stable
    Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
    Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25177>
    (cherry picked from commit c773794943e950cb64b06c86d331298093ed61d3)
    
  • 3a6ddfd6
    by lorn10 at 2023-09-25T09:30:59-07:00
    docs: Update Clover's env variable documentation
    
    Fixes: 981bc603b46c ("clover: implement CLOVER_DEVICE_TYPE like RUSTICL_DEVICE_TYPE")
    
    Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21657>
    (cherry picked from commit 00aa8816a1a9f501515a40d63c7d0b4c4dda3e31)
    
  • 20de808c
    by Pierre-Eric Pelloux-Prayer at 2023-09-25T09:31:03-07:00
    radeonsi: emit framebuffer state after allocating cmask
    
    tex->cmask_base_address_reg and tex->cb_color_info are used in
    si_emit_framebuffer_state so we have to re-emit the state when
    they're modified.
    
    It's not done in si_alloc_separate_cmask because it cannot
    update framebuffer.dirty_cbufs.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9830
    Cc: mesa-stable
    Reviewed-by: Yogesh Mohan Marimuthu <yogesh.mohanmarimuthu@amd.com>
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25317>
    (cherry picked from commit 60a7c9688cfb184f45ce7bcc132dc2da286ef95e)
    
  • 99f8655d
    by Konstantin Seurer at 2023-09-25T09:31:04-07:00
    aco/spill: Make sure that offset stays in bounds
    
    If a shader spills a lot, the offset can be above the HW limit.
    
    cc: mesa-stable
    
    Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24652>
    (cherry picked from commit 24555cdbbd93cd0eb56d7da7cc60dc43adc9b9f1)
    
  • e65fc123
    by Dylan Baker at 2023-09-25T09:37:54-07:00
    .pick_status.json: Update to f4fecdad724edf8187d22928ed844af7fd84654d
    
  • 34ae85f5
    by Mike Blumenkrantz at 2023-09-25T11:27:06-07:00
    zink: move swapchain fence to swapchain object
    
    this is more accurate in terms of usage/ownership and avoids potential
    illegal fence usage in the scenario where multiple async presents are
    in flight
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25288>
    (cherry picked from commit 2b7b1059e418359c6445833e12dea27842810cc6)
    
  • 0e3f799b
    by Mike Blumenkrantz at 2023-09-25T11:27:07-07:00
    zink: avoid UAF on wayland async present with to-be-retired swapchain
    
    wayland surfaces are likely to become unlinked in WSI implementations upon
    retiring a swapchain, requiring the pending present to complete
    in order to avoid invalid access
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25288>
    (cherry picked from commit aaabb5b0f209dfad32ff108a49f39871e688444f)
    
  • ab94478a
    by Mike Blumenkrantz at 2023-09-25T11:27:08-07:00
    zink: always trace_screen_unwrap in acquire
    
    it's possible for acquire to be called from the frontend, in which
    case the screen will still be trace-wrapped
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25288>
    (cherry picked from commit 207b37bfd9b773043819c2cea6eaf57557bba57d)
    
  • 14783f1d
    by Karmjit Mahil at 2023-09-25T11:27:08-07:00
    pvr: Fix `for` loop itarator usage
    
    The `i` iteration variable was being used instead of `k` when
    appending new mappings, and getting the current source rect.
    
    dEQP test fixed:
      dEQP-VK.pipeline.monolithic.image.suballocation.sampling_type
        .combined.view_type.3d.format.*.count_1.
        .{3x3x3,5x5x5,...(odd dimensions)}
    
    Fixes: 060c3db4efd6 ("pvr: Complete pvr_generate_custom_mapping()")
    
    Reported-by: James Glanville <james.glanville@imgtec.com>
    Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
    Reviewed-by: Frank Binns <frank.binns@imgtec.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25321>
    (cherry picked from commit bf17e4fe330379408ebaed7a2509cd603edd8917)
    
  • 52fbebd9
    by Karmjit Mahil at 2023-09-25T11:27:09-07:00
    pvr: Fix dynamic desc offset storage
    
    The index at which the dynamic descriptor offsets were being
    stored was incorrect, leading to some offsets not being stored and
    thus `0` being applied as the offset to the descriptors instead.
    
    dEQP test fixed:
      dEQP-VK.binding_model.shader_access.{primary,secondary}_cmd_buf
        .uniform_buffer_dynamic
        .{vertex,fragment,compute,vertex_fragment}
        .multiple_discontiguous_descriptor_sets
        .*_descriptor.offset_view_{,non}zero_dynamic_nonzero
    
    Fixes: aa791961a82e ("pvr: Add support for dynamic buffers descriptors")
    Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
    Reviewed-by: Frank Binns <frank.binns@imgtec.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25320>
    (cherry picked from commit feafb8a256b67d816c1cb8fdf258c75a29245c3f)
    
  • 136be4a6
    by David Rosca at 2023-09-25T11:27:09-07:00
    frontends/va: Process VAEncSequenceParameterBufferType first in vaRenderPicture
    
    The encoder is created in handleVAEncSequenceParameterBufferType and it
    also sets some default parameters, so we need to make sure to handle
    this buffer first because application may have already set those
    parameters from earlier buffers.
    
    This fixes setting HRD parameters with gstreamer vah264enc/vah265enc
    when PIPE_VIDEO_CAP_ENC_QUALITY_LEVEL is supported.
    
    Cc: mesa-stable
    Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25355>
    (cherry picked from commit c970a9b6634d22d8b9b7567aff8708dc58ba9e81)
    
  • 8d5d8757
    by David Rosca at 2023-09-25T11:27:10-07:00
    frontends/va: Set default rate control values once when creating encoder
    
    Move setting the default values from getEncParamPresetH264/5 as this
    function is called on each frame which would result in overwriting
    values set by application.
    
    This fixes setting HRD parameters and max_qp/min_qp when
    PIPE_VIDEO_CAP_ENC_QUALITY_LEVEL is not supported.
    
    Cc: mesa-stable
    Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25355>
    (cherry picked from commit dd2ef9a0e4c706e3139f48d16fc8a617e58717d0)
    
  • 739d44b0
    by Lionel Landwerlin at 2023-09-25T11:27:10-07:00
    anv: fix utrace timestamp buffer copies
    
    Fixes: 521c216efc ("anv: use COMPUTE_WALKER post sync field to track compute work")
    Acked-by: Emma Anholt <emma@anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24744>
    (cherry picked from commit e0f420c3348417d980d3bed27b20debafd5b6aef)
    
  • 94d14d47
    by Lionel Landwerlin at 2023-09-25T11:27:11-07:00
    intel: don't assume Linux minor dev node
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable
    Acked-by: Emma Anholt <emma@anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24744>
    (cherry picked from commit a851dc5e3c08763151d110aab5f58949e9ce4d3f)
    
  • 265a822e
    by Rhys Perry at 2023-09-25T11:27:12-07:00
    aco: reset prefetch in the correct block after removing the exit
    
    fossil-db (navi31):
    Totals from 279 (0.35% of 79332) affected shaders:
    (no stat changes)
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
    Fixes: c778803d673f ("aco/assembler: change prefetch mode on GFX10.3+ during loops if beneficial")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25312>
    (cherry picked from commit 21db2e701746fca5d5be0b7135a1bd6c7345e789)
    
  • 42cef07f
    by Dylan Baker at 2023-09-25T12:59:24-07:00
    zink/ci: mark unexpcted pass as expected
    
  • efe981f5
    by Lionel Landwerlin at 2023-09-25T21:13:53+00:00
    blorp: switch blorp_update_clear_color to early return
    
    Avoid even going to the function if we don't need to.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
    (cherry picked from commit c94bd5611438fe8b5af9386d7a6511136c80b126)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25377>
    
  • 4788aec2
    by Lionel Landwerlin at 2023-09-25T21:13:53+00:00
    blorp: update and move fast clear PIPE_CONTROLs to drivers
    
    Before this patch, when updating the indirect clear color, BLORP only
    invalidated the texture cache on gfx11. The hardware docs state that
    the texture cache invalidation is also needed on gfx12 however. Add
    this invalidation for gfx12 and move the fast-clear related cache
    invalidations to the drivers for clarity and performance.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5850
    Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
    (cherry picked from commit 87149cc545afdacb339a933d47ded5c1adf8f429)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25377>
    
  • a2005ce2
    by Lionel Landwerlin at 2023-09-25T21:13:53+00:00
    iris: ensure stalling pipe control before fast clear
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: 87149cc545 ("blorp: update and move fast clear PIPE_CONTROLs to drivers")
    Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
    (cherry picked from commit aebe58458611e0bb585a5bce8e16c1175783f3cc)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25377>
    
  • 6395f222
    by Matt Turner at 2023-09-25T21:13:53+00:00
    Revert "intel/fs: only avoid SIMD32 if strictly inferior in throughput"
    
    This reverts commit 6b494745be0900a67004d6f3e4b730c3cd67da79.
    
    The logic is not entirely correct: the comparison is between two
    static-analysis estimates of a dynamic system with variables that aren't
    captured by the shader source, so using ">" will always have greater potential
    to cause regressions whenever the performance difference between the two builds
    is something not captured by the static model, no matter how much the model is
    improved.
    
    Reference: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9262
    (cherry picked from commit d142c845d05732f7858839493e0dba6a1fa5d6c0)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25377>
    
  • 201782d0
    by Ian Romanick at 2023-09-25T21:13:53+00:00
    intel/fs: Always do opt_algebraic after opt_copy_propagation makes progress
    
    opt_copy_propagation can create invalid instructions like
    
        shl(8) vgrf96:UD, 2d, 8u
    
    These instructions will be cleaned up by opt_algebraic.  The irony is
    opt_algebraic converts these to simple mov instructions that
    opt_copy_propagation should clean up.  I don't think we want a loop like
    
       do {
          progress = false;
          if (OPT(opt_copy_propagation)) {
             OPT(opt_algebraic);
             OPT(dead_code_eliminate);
          }
       } while (progress);
    
    But maybe we do?
    
    Maybe this would be sufficient:
    
       while (OPT(opt_copy_propagation))
          OPT(opt_algebraic);
       OPT(dead_code_eliminate);
    
    No shader-db or fossil-db changes (yet) on any Intel platform.  This is
    expected.
    
    v2: Do opt_algebraic immediately after every call to
    opt_copy_propagation instead of being clever. Suggested by Lionel.
    
    Tested-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    (cherry picked from commit 56e6186dcf0b664e1595eaee7878a40c65857010)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25377>
    
  • 41fe60cf
    by Ian Romanick at 2023-09-25T21:13:53+00:00
    intel/fs: Constant fold SHL
    
    This is a modified version of a commit originally in !7698. This version
    add the changes to brw_fs_copy_propagation. If the address passed to
    fs_visitor::swizzle_nir_scratch_addr is a constant, that function will
    generate SHL with two constant sources.
    
    DG2 uses a different path to generate those addresses, so the constant
    folding can't occur there yet. That will be addressed in the next
    commit.
    
    What follows is the commit change history from that older MR.
    
    v2: Previously this commit was after `intel/fs: Combine constants for
    integer instructions too`.  However, this commit can create invalid
    instructions that are only cleaned up by `intel/fs: Combine constants
    for integer instructions too`.  That would potentially affect the
    shader-db results of each commit, but I did not collect new data for
    the reordering.
    
    v3: Fix masking for W/UW and for Q/UQ types. Add an assertion for
    !saturate. Both suggested by Ken. Also add an assertion that B/UB types
    don't matically come back.
    
    v4: Fix sources count. See also ed3c2f73dbb ("intel/fs: fixup sources
    number from opt_algebraic").
    
    v5: Fix typo in comment added in v3. Noticed by Marcin. Fix a typo in a
    comment added when pulling this commit out of !7698. Noticed by Ken.
    
    shader-db results:
    
    DG2
    No changes.
    
    Tiger Lake, Ice Lake, and Skylake had similar results (Ice Lake shown)
    total instructions in shared programs: 20655696 -> 20651648 (-0.02%)
    instructions in affected programs: 23125 -> 19077 (-17.50%)
    helped: 7 / HURT: 0
    
    total cycles in shared programs: 858436639 -> 858407749 (<.01%)
    cycles in affected programs: 8990532 -> 8961642 (-0.32%)
    helped: 7 / HURT: 0
    
    Broadwell and Haswell had similar results. (Broadwell shown)
    total instructions in shared programs: 18500780 -> 18496630 (-0.02%)
    instructions in affected programs: 24715 -> 20565 (-16.79%)
    helped: 7 / HURT: 0
    
    total cycles in shared programs: 946100660 -> 946087688 (<.01%)
    cycles in affected programs: 5838252 -> 5825280 (-0.22%)
    helped: 7 / HURT: 0
    
    total spills in shared programs: 17588 -> 17572 (-0.09%)
    spills in affected programs: 1206 -> 1190 (-1.33%)
    helped: 2 / HURT: 0
    
    total fills in shared programs: 25192 -> 25156 (-0.14%)
    fills in affected programs: 156 -> 120 (-23.08%)
    helped: 2 / HURT: 0
    
    No shader-db changes on any older Intel platforms.
    
    fossil-db results:
    
    DG2
    Totals:
    Instrs: 197780415 -> 197780372 (-0.00%); split: -0.00%, +0.00%
    Cycles: 14066412266 -> 14066410782 (-0.00%); split: -0.00%, +0.00%
    
    Totals from 16 (0.00% of 668055) affected shaders:
    Instrs: 16420 -> 16377 (-0.26%); split: -0.43%, +0.17%
    Cycles: 220133 -> 218649 (-0.67%); split: -0.69%, +0.01%
    
    Tiger Lake, Ice Lake and Skylake had similar results. (Ice Lake shown)
    Totals:
    Instrs: 153425977 -> 153423678 (-0.00%)
    Cycles: 14747928947 -> 14747929547 (+0.00%); split: -0.00%, +0.00%
    Subgroup size: 8535968 -> 8535976 (+0.00%)
    Send messages: 7697606 -> 7697607 (+0.00%)
    Scratch Memory Size: 4380672 -> 4381696 (+0.02%)
    
    Totals from 6 (0.00% of 662749) affected shaders:
    Instrs: 13893 -> 11594 (-16.55%)
    Cycles: 5386074 -> 5386674 (+0.01%); split: -0.42%, +0.43%
    Subgroup size: 80 -> 88 (+10.00%)
    Send messages: 675 -> 676 (+0.15%)
    Scratch Memory Size: 91136 -> 92160 (+1.12%)
    
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    (cherry picked from commit 61c786bad51c48759ea4d2e8c405e5f99abb69a7)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25377>
    
  • 3fd835f6
    by Ian Romanick at 2023-09-25T21:13:53+00:00
    intel/fs: Constant fold OR and AND
    
    The path taken in fs_visitor::swizzle_nir_scratch_addr for DG2 generates
    some AND and OR instructions before the SHL. This commit folds those so
    the whold calculation becomes a constant (like on older platforms).
    
    v2: Fix return type of src_as_uint. Noticed by Marcin.
    
    shader-db results:
    
    DG2
    total instructions in shared programs: 23190475 -> 23179540 (-0.05%)
    instructions in affected programs: 36026 -> 25091 (-30.35%)
    helped: 7 / HURT: 0
    
    total cycles in shared programs: 841196807 -> 841142563 (<.01%)
    cycles in affected programs: 1660670 -> 1606426 (-3.27%)
    helped: 7 / HURT: 0
    
    No shader-db changes on any older Intel platforms.
    
    fossil-db results:
    
    DG2
    Totals:
    Instrs: 197780372 -> 197773966 (-0.00%)
    Cycles: 14066410782 -> 14066399378 (-0.00%); split: -0.00%, +0.00%
    Subgroup size: 8438104 -> 8438112 (+0.00%)
    Send messages: 8049445 -> 8049446 (+0.00%)
    Scratch Memory Size: 14263296 -> 14264320 (+0.01%)
    
    Totals from 9 (0.00% of 668055) affected shaders:
    Instrs: 24547 -> 18141 (-26.10%)
    Cycles: 1984791 -> 1973387 (-0.57%); split: -0.98%, +0.40%
    Subgroup size: 88 -> 96 (+9.09%)
    Send messages: 867 -> 868 (+0.12%)
    Scratch Memory Size: 69632 -> 70656 (+1.47%)
    
    No fossil-db changes on any older Intel platforms.
    
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    (cherry picked from commit cb0de0a1d3420ddf9da56b24b5dd09205b8574ea)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25377>
    
  • 3a257694
    by Paulo Zanoni at 2023-09-26T11:28:50-04:00
    iris: assert bufmgr->bo_deps_lock is held
    
    This is the only place that touches bo->deps but does not explicitly
    lock it and is not a setup/teardown function where locking won't help
    anything.
    
    I'm confident we won't hit this assertion, but I've recently had this
    lock as the suspect of a bug and had to check the callers to see if we
    could be calling from any unlocked place. Having the assert helps
    increasing our confidence.
    
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
    (cherry picked from commit 762b9aad01c9bdc78e10f7bf53d750942322b289)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25404>
    
  • 2e4c0486
    by Paulo Zanoni at 2023-09-26T11:29:36-04:00
    iris: avoid stack overflow in iris_bo_wait_syncobj()
    
    Keep most cases using the stack as it's cheaper, but fall back to the
    heap when the size gets too big.
    
    This should fix a stack overflow reported by @rhezashan for a case
    where we had lots of iris_screens.
    
    Credits to Matt Turner and José Roberto de Souza for their work on
    this issue, which led us to find its root cause.
    
    Cc: mesa-stable
    Reported-by: rheza shandikri (@rhezashan in gitlab)
    Credits-to: José Roberto de Souza <jose.souza@intel.com>
    Credits-to: Matt Turner <mattst88@gmail.com>
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
    (cherry picked from commit 3cec15dd142b47c33b9e266a9b9f8e2c6540fa99)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25404>
    
  • 0f28940f
    by Paulo Zanoni at 2023-09-26T11:29:51-04:00
    iris: assert(bo->deps) after realloc()
    
    Iris in general doesn't really like checking the return value of its
    allocations, but in some places it does assert that those pointers are
    non-NULL. We've recently investigated a bug that could have been
    coming from a failed bo->deps realloc(), so add the assert() here to
    help give us more confidence over things the next time we're debugging
    issues.
    
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
    (cherry picked from commit 7c538b5ad8ef7b86164080c1639d993b7d7bdfb9)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25404>
    
  • 23873c71
    by Timo Aaltonen at 2023-09-28T15:32:17+03:00
    control: Bump directx-headers-dev build-dep.
    
  • 844168b3
    by Dylan Baker at 2023-09-28T14:08:12-07:00
    docs: truncate new_features.txt
    
  • ddc41d46
    by Dylan Baker at 2023-09-28T14:11:23-07:00
    docs: add release notes for 23.2.1
    
  • 49a47f18
    by Dylan Baker at 2023-09-28T14:11:25-07:00
    VERSION: update to 23.2.1
    
  • fac1c1d3
    by Timo Aaltonen at 2023-09-29T08:33:33+03:00
    Merge branch 'upstream-unstable' into debian-unstable
    
  • e85d762a
    by Timo Aaltonen at 2023-09-29T08:35:31+03:00
    version bump
    
  • 4b14b3a2
    by Timo Aaltonen at 2023-09-29T08:38:11+03:00
    release to sid
    

30 changed files:

The diff was not included because it is too large.

Reply to: