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

[Git][xorg-team/lib/mesa][debian-experimental] 87 commits: docs: add release notes for 23.1.0



Title: GitLab

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

Commits:

  • 54a40ff0
    by Eric Engestrom at 2023-05-25T14:06:09+01:00
    docs: add release notes for 23.1.0
    
  • fb8f72b2
    by Eric Engestrom at 2023-05-25T14:06:09+01:00
    .pick_status.json: Update to 5be8acc1b53382a8692b7115b37469fa6c435103
    
  • 919f9f21
    by Timur Kristóf at 2023-05-25T14:06:09+01:00
    aco: Initialize vcmpx field in get_cmp_info.
    
    Fixes: 578d0a19341a5df2be555e19396a20c81d79c7a9
    Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
    Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22885>
    (cherry picked from commit dc676ed71150cf8c3d84ece8cadb7ddefae6c90f)
    
  • 6f44624f
    by Mike Blumenkrantz at 2023-05-25T14:06:10+01:00
    zink: disable always zs feedback loop on radv
    
    this shouldn't have been enabled
    
    Fixes: 56fb2580642 ("zink: replace mixed_zs with zs feedback loops")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22946>
    (cherry picked from commit 9af6f2574165bdba5eeea8179842723efcc6fae3)
    
  • c8b7a219
    by Jiadong Zhu at 2023-05-25T14:06:10+01:00
    ac: enable SHADOW_GLOBAL_CONFIG for preemptible ib
    
    SHADOW_GLOBAL_CONFIG is mandatory for mid command buffer preemmption.
    
    Fixes: 69014d8c94f (radeonsi: implement CP register shadowing)
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22916>
    (cherry picked from commit 3cfdcabc781a6ee1b9221190ae577ae57c50b729)
    
  • 2510200d
    by Daniel Schürmann at 2023-05-25T14:06:10+01:00
    vulkan/pipeline_cache: don't log warnings for internal caches
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22850>
    (cherry picked from commit d3f06cf5ce0764b37a03a0f2bfbb109a4d75884d)
    
  • 0dff70ec
    by Daniel Schürmann at 2023-05-25T14:06:10+01:00
    vulkan/pipeline_cache: don't log warnings for client-invisible caches
    
    Fixes: d3f06cf5ce0764b37a03a0f2bfbb109a4d75884d ('vulkan/pipeline_cache: don't log warnings for internal caches')
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22986>
    (cherry picked from commit 8bfd18b8c51f5e0170b9171cefbcb588a8b93d9e)
    
  • a3f2e71c
    by Tapani Pälli at 2023-05-25T14:06:10+01:00
    egl/loader: move crtc resource infrastructure as common helper
    
    Patch moves (and renames) the infrastructure to fix compilation
    failures when dri3 is not enabled in the build.
    
    Fixes: 3170b63314f ("loader: Add infrastructure for tracking active CRTC resources");
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8476
    Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22897>
    (cherry picked from commit 5a7520d2529204c5b9eaeaf17675a7fe1d7c1852)
    
  • c8c7dd03
    by Lionel Landwerlin at 2023-05-25T14:06:10+01:00
    anv: fixup workaround 16011411144
    
    We're missing it for the memcpy with streamout
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: 5cc4075f95 ("anv, iris: Add Wa_16011411144 for DG2")
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22930>
    (cherry picked from commit 73814050959ee5127328865e64c2faa5401daba2)
    
  • f93ea427
    by Matt Turner at 2023-05-25T14:06:10+01:00
    intel: Disable shader cache when executing intel_clc during the build
    
    With the shader cache enabled, intel_clc attempts to write to ~/.cache.
    Many distributions' build systems limit file-system access, and will
    kill the process thus causing the build to fail.
    
    Fixes: 639665053fa ("anv/grl: Build OpenCL kernels")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22968>
    (cherry picked from commit 435a6079099cce08ead5f7d5f305694bbf466717)
    
  • 3839f0b1
    by Samuel Pitoiset at 2023-05-25T14:06:10+01:00
    radv: re-emit fragment shading rate state when PA_CL_VRS_CNTL changes
    
    Found by inspection.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22942>
    (cherry picked from commit be0ba9a1c000315a5fae1fc6ffced9502a1a7f1c)
    
  • 8fe0aea5
    by Tapani Pälli at 2023-05-25T14:06:10+01:00
    anv: handle missing astc for gfx125 in CreateImageView
    
    Cc: mesa-stable
    Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22818>
    (cherry picked from commit b0b6811b9bc7af16a180591cb7ed54a1205755ac)
    
  • cc47a898
    by Georg Lehmann at 2023-05-25T14:06:10+01:00
    aco/vn: compare all valu modifers
    
    Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
    Fixes: 9b4ea9ff901 ("aco/vn: hash opsel for VOP12C")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22698>
    (cherry picked from commit 7c5e8dedab5610f3d17afead47827e17d3704e63)
    
  • 2db29078
    by Mike Blumenkrantz at 2023-05-25T14:06:10+01:00
    zink: disable have_EXT_vertex_input_dynamic_state without EDS2
    
    this is disabled already in the draw paths but not the pipeline paths
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22996>
    (cherry picked from commit 6debee51f38702de1931c4143c6882cce8b22b58)
    
  • 1fa4d3af
    by Mike Blumenkrantz at 2023-05-25T14:06:10+01:00
    zink: disable dynamic state exts if the previous ones aren't present
    
    this would be weird if a driver did it
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22996>
    (cherry picked from commit d5cf6f7d2f9f399b08bac00f06be0470b8e0efb6)
    
  • 24e1a5eb
    by Yiwei Zhang at 2023-05-25T14:06:10+01:00
    pipe-loader: avoid undefined memcpy behavior
    
    If either dest or src is an invalid or null pointer, the behavior is
    undefined, even if count is zero.
    
    Cc: mesa-stable
    Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
    Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22979>
    (cherry picked from commit 5b31039033114bb8e0de25b87119e8d97186bced)
    
  • 8604d588
    by Yiwei Zhang at 2023-05-25T14:06:10+01:00
    lvp: avoid accessing member of NULL ptr for global entries
    
    Cc: mesa-stable
    Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
    Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22979>
    (cherry picked from commit aa57e8ef18e452b6ff7bd1dff99bc784ccce8818)
    
  • d924281c
    by Rhys Perry at 2023-05-25T14:06:10+01:00
    aco/gfx11: fix VMEM/DS->VALU WaW/RaW hazard
    
    Previously, we could safely read/write unused lanes of VMEM/DS
    destination VGPRs without waiting for the load to finish. That doesn't
    seem to be the case on GFX11.
    
    fossil-db (gfx1100):
    Totals from 6698 (4.94% of 135636) affected shaders:
    Instrs: 11184274 -> 11199420 (+0.14%); split: -0.00%, +0.14%
    CodeSize: 57578344 -> 57638928 (+0.11%); split: -0.00%, +0.11%
    Latency: 198348808 -> 198382472 (+0.02%); split: -0.00%, +0.02%
    InvThroughput: 24376324 -> 24378439 (+0.01%); split: -0.00%, +0.01%
    VClause: 192420 -> 192559 (+0.07%)
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8722
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8239
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22965>
    (cherry picked from commit 88f6d7f4bdf90bcfdb17e4aadddec3c855a12b13)
    
  • 95053266
    by Filip Gawin at 2023-05-25T14:06:10+01:00
    glx: fix build with APPLEGL
    
    fixes: 1eab7e69e2ba84244f551f6901f4307a687a9504
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8885
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22621>
    (cherry picked from commit 4a379f7637a940cb9bcefa95203bdaecda934f95)
    
  • 41ba7bb4
    by antonino at 2023-05-25T14:06:11+01:00
    nir: use `nir_variable_clone` in `nir_create_passthrough_gs`
    
    Some stream out properties where not being copied causing problems in
    zink.
    
    Use the appropiate helper instead of copying fields by hand.
    
    Fixes: d0342e28b32 ("nir: Add helper to create passthrough GS shader")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22871>
    (cherry picked from commit 78d59ef4b1f3c8e16163b118c220fc40144db6e0)
    
  • 287e69f7
    by antonino at 2023-05-25T14:06:11+01:00
    nir: don't create invalid inputs in `nir_create_passthrough_gs`
    
    The helper was creating input locations for some builtin bariables.
    
    This caused validation errors in zink because those builtins can't be
    used as input.
    
    Fixes: d0342e28b32 ("nir: Add helper to create passthrough GS shader")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22871>
    (cherry picked from commit 83692bfe3013ace7a98ab59cdcbbae878b9c5758)
    
  • a9d381ca
    by antonino at 2023-05-25T14:06:11+01:00
    zink: don't replace non generated gs
    
    Zink replaced the gs emulation shader when the primitive type changes,
    however it didn't check whether the gs being replaced was generated.
    
    Fixes: eedbf9046e7 ("zink: handle switching between primitives")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22871>
    (cherry picked from commit a4113fd0210129e997331e57b994e346f1c3d76e)
    
  • 475df98f
    by antonino at 2023-05-25T14:06:11+01:00
    nir: handle interface blocks in `copy_vars`
    
    Fixes: 99121c9b779 ("nir/gs: fix array type copying for passthrough gs")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22871>
    (cherry picked from commit 8f22669f9b0417b3195d43721eacad8b7e92d3d5)
    
  • 649681e8
    by antonino at 2023-05-25T14:06:11+01:00
    zink: handle interface blocks in `copy_vars`
    
    Fixes: edaf49160e5 ("zink: fix array copying in pv lowering")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22871>
    (cherry picked from commit 474d93719e15730152407c7fa8cc299dcee758ea)
    
  • d1463646
    by antonino at 2023-05-25T14:06:11+01:00
    nir: make var arrays large enough in `nir_create_passthrough_gs`
    
    Because each location has 4 possible different values for location_frac
    the arrays need to br 4x the size.
    
    Fixes: d0342e28 ("nir: Add helper to create passthrough GS shader")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22871>
    (cherry picked from commit b5818e2e4f7d21ddd257fa00499520684fc0f87e)
    
  • dc9bb777
    by antonino at 2023-05-25T14:06:11+01:00
    zink: don't create invalid inputs in `zink_create_quads_emulation_gs`
    
    The helper was creating input locations for some builtin bariables.
    
    This caused validation errors in zink because those builtins can't be
    used as input.
    
    Fixes: e2220ee55e4 ("zink: filled quad emulation gs generation function")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22871>
    (cherry picked from commit 71107b6dc8e97c1b99e748e540e4f01a666e1703)
    
  • 22672fb6
    by Mike Blumenkrantz at 2023-05-25T14:06:11+01:00
    zink: don't leak swapchain readback semaphores
    
    these are considered usable after the queue goes idle, so add them
    back into the cache
    
    Fixes: e9f18f64b9e ("zink: also cache swapchain semaphores")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23033>
    (cherry picked from commit cd0454646fb07eb5cc673f3855d0e1c2b4c8032f)
    
  • 8d84a70e
    by Mike Blumenkrantz at 2023-05-25T14:06:11+01:00
    zink: destroy current batch state after all other batch states
    
    some resources may not be destroyed immediately and may instead be
    queued for deletion onto the current batch state, so ensure that the
    current state is the last one to be destroyed so that all deferred resources
    are also destroyed
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23033>
    (cherry picked from commit 58532057c56bfecad38bf589ee17139ab5757306)
    
  • 2bfaca87
    by Mike Blumenkrantz at 2023-05-25T14:06:11+01:00
    zink: only add feedback loop usage bit if extension is supported
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22960>
    (cherry picked from commit 8d58fa5787a7e413a2dbd83f076fbe495742b37d)
    
  • 4afab8f6
    by Mike Blumenkrantz at 2023-05-25T14:06:11+01:00
    zink: flag batch usage on swapchain images
    
    while swapchains themselves are protected against early deletion
    during presentation, there is nothing protecting them from
    deletion while they are rendering if a swapchain updates
    while rendering but before presentation
    
    to address this, add batch usage to swapchains which can be
    checked during pruning to ensure a rendering swapchain isn't
    pruned
    
    Fixes: dc8c9d20568 ("zink: prune old swapchains on present")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22962>
    (cherry picked from commit 47d9eaa0f1b9bf4215e15bcf446a35a1bd4c0215)
    
  • ff867ea1
    by Tapani Pälli at 2023-05-25T14:06:11+01:00
    mesa: set a type for depth fallback texture
    
    Otherwise we will later attempt to figure out format with type GL_NONE
    which is not handled by _mesa_format_from_format_and_type.
    
    Fixes: 0c6e56c391a ("mesa: (more) correctly handle incomplete depth textures")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9012
    Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
    Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23013>
    (cherry picked from commit cd406eae7dbf25de997e708f2719a478114f0d58)
    
  • 5e8b812b
    by Patrick Lerda at 2023-05-25T14:06:11+01:00
    crocus: fix scratch_bos memory leak
    
    This change is inspired from iris_destroy_context().
    
    For instance, this issue is triggered with
    "piglit/bin/glsl-1.50-gs-max-output -scan 1 20 -auto -fbo":
    Direct leak of 320 byte(s) in 2 object(s) allocated from:
        #0 0x7f34fc769987 in calloc (/usr/lib64/libasan.so.6+0xb1987)
        #1 0x7f34f4fa168a in bo_calloc ../src/gallium/drivers/crocus/crocus_bufmgr.c:288
        #2 0x7f34f4fa168a in alloc_fresh_bo ../src/gallium/drivers/crocus/crocus_bufmgr.c:350
        #3 0x7f34f4fa168a in bo_alloc_internal ../src/gallium/drivers/crocus/crocus_bufmgr.c:419
        #4 0x7f34f4fe50a9 in crocus_get_scratch_space ../src/gallium/drivers/crocus/crocus_program.c:2678
        #5 0x7f34f55e8954 in crocus_upload_dirty_render_state ../src/gallium/drivers/crocus/crocus_state.c:6871
        #6 0x7f34f55e8954 in crocus_upload_render_state ../src/gallium/drivers/crocus/crocus_state.c:7812
        #7 0x7f34f5d9f680 in crocus_simple_draw_vbo ../src/gallium/drivers/crocus/crocus_draw.c:332
        #8 0x7f34f5d9f680 in crocus_draw_vbo ../src/gallium/drivers/crocus/crocus_draw.c:438
        #9 0x7f34f1d2eeba in tc_call_draw_single ../src/gallium/auxiliary/util/u_threaded_context.c:3735
        #10 0x7f34f1d12e03 in batch_execute ../src/gallium/auxiliary/util/u_threaded_context.c:394
        #11 0x7f34f1d12e03 in tc_batch_execute ../src/gallium/auxiliary/util/u_threaded_context.c:445
        #12 0x7f34f1d22c9a in _tc_sync ../src/gallium/auxiliary/util/u_threaded_context.c:680
        #13 0x7f34f1d238f8 in tc_texture_map ../src/gallium/auxiliary/util/u_threaded_context.c:2754
        #14 0x7f34f120b9d9 in pipe_texture_map_3d ../src/gallium/auxiliary/util/u_inlines.h:579
        #15 0x7f34f120b9d9 in st_ReadPixels ../src/mesa/state_tracker/st_cb_readpixels.c:530
        #16 0x7f34f10d7355 in read_pixels ../src/mesa/main/readpix.c:1178
        #17 0x7f34f10d7355 in _mesa_ReadnPixelsARB ../src/mesa/main/readpix.c:1195
        #18 0x7f34f10d7e10 in _mesa_ReadPixels ../src/mesa/main/readpix.c:1210
    
    Fixes: f3630548f1da ("f3630548f1da crocus: initial gallium driver for Intel gfx 4-7")
    Signed-off-by: Patrick Lerda <patrick9876@free.fr>
    Reviewed-by: Filip Gawin <filip.gawin@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23019>
    (cherry picked from commit 6ee0bba3ae6777aa8df911301e5ff0a955ebce73)
    
  • 92072dc2
    by MrRobbin at 2023-05-25T14:06:11+01:00
    zink: Move the workaround before the EDS setting.
    
     Then we can guarantee the settings correct, otherwise the  'screen->info.have_EXT_extended_dynamic_state3 = false' and 'screen->info.have_EXT_vertex_input_dynamic_state = false'
     will be enable, but actually we should disable it when 'have_EXT_extended_dynamic_state2 = false'.
    
    Fixes: d5cf6f7d2f9 ("zink: disable dynamic state exts if the previous ones aren't present")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23046>
    (cherry picked from commit 47f080194956a1da3beca5800b3bf7f85cb8b36c)
    
  • a8f93f86
    by Konstantin Seurer at 2023-05-25T14:06:11+01:00
    nir/lower_shader_calls: Remat derefs earlier
    
    spill_ssa_defs_and_lower_shader_calls can insert phis as well which can
    make nir_opt_shrink_stores crash.
    
    Fixes: 200e551c ("nir/lower_shader_calls: Remat derefs before lowering resumes")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9003
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23007>
    (cherry picked from commit 40653f078390639e75cb7a9e616a3bcc8a45e959)
    
  • d984d8a2
    by Erik Faye-Lund at 2023-05-25T14:06:11+01:00
    aco: use c++17
    
    std::map::try_emplace requires C++17, so we need to make sure we're
    compiling with C++17 enabled.
    
    Fixes: 8aff7152a0f ("aco: make IDSet sparse")
    Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23047>
    (cherry picked from commit df1d1ccb37c42698a3188d10b431cb4e284a100c)
    
  • d94c7401
    by Samuel Pitoiset at 2023-05-25T14:06:11+01:00
    radv: fix resetting VRS if the graphics pipeline doesn't enable it
    
    Otherwise the VRS state isn't reset and the graphics pipeline might
    still use the previous VRS state. The VRS state will only be re-emitted
    if it's different when the pipeline is bound.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9005
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23052>
    (cherry picked from commit f1e339dfd6db7d18ee2262387268aa3f2f8c0f8c)
    
  • a6702dd8
    by Mike Blumenkrantz at 2023-05-25T14:06:11+01:00
    vulkan/wsi: add feedback loop usage to swapchain caps if supported
    
    this is needed by some apps
    
    cc: mesa-stable
    
    Reviewed-by: Joshua Ashton <joshua@froggi.es>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22959>
    (cherry picked from commit 1effbccc5cc35537c9d58e13632684a327ba2510)
    
  • 6e141b3e
    by Mike Blumenkrantz at 2023-05-25T14:06:12+01:00
    zink: add feedback loop usage for swapchains
    
    affects:
    GTF-GL46.gtf30.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_linear_filter_color_blit
    
    cc: mesa-stable
    
    Reviewed-by: Joshua Ashton <joshua@froggi.es>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22959>
    (cherry picked from commit 08279f4b17a3b4a2ed9e54464b1cea6d2cac7412)
    
  • 196ea995
    by Jonathan Gray at 2023-05-25T14:06:12+01:00
    intel/dev: remove dg2 0x5698 pci id
    
    0x5698 is now reserved for future use
    
    >From Matt Roper in linux
    3a38be31ec82 ("drm/i915/dg2: Drop one PCI ID")
    
    Fixes: 65c9a810eed ("intel/pci_ids: Add dg2 0x5698 pci-id")
    Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22985>
    (cherry picked from commit af0f7b347513c8fdb325d45640c1d36a14fe9b3a)
    
  • 754e0e21
    by Lionel Landwerlin at 2023-05-25T14:06:12+01:00
    anv: put private binding BOs into execlists
    
    Not doing so all the reads/writes go to the scratch page on i915.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: f9fa09ec92 ("anv/image: Add ANV_IMAGE_MEMORY_BINDING_PRIVATE")
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22957>
    (cherry picked from commit 7f7b2fc53ab430a05fa284b209ab71c57b21c548)
    
  • d8290f5f
    by Lionel Landwerlin at 2023-05-25T14:06:12+01:00
    anv: mark images compressed for untracked layout/access
    
    Most of the compressed writes are tracked by the driver, for
    instances :
       - blorp writes
       - render target writes
    
    But we don't have any tracking for storage images (which have gained
    compression support on DG2+). So inspect the layout transition and
    when we see a layout/access that can do writes outside of our driver
    tracking, update the image state tracking.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8946
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22988>
    (cherry picked from commit 1a89b1a3012d98586fa6e9fbd85516e2f67f6817)
    
  • 2630f4b3
    by Jordan Justen at 2023-05-25T14:06:12+01:00
    mesa/main: Exit early when trying to create an unsupported context API
    
    Fixes: adbe8b6c17a ("mesa: optimize out _mesa_is_desktop_gl*() and _mesa_is_gles*() calls when not built")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9038
    Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
    Reviewed-by: Eric Engestrom <eric@engestrom.ch>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23068>
    (cherry picked from commit 8bb1ecaa02177720758255bdd7ec34a5d15feca4)
    
  • eef0f7f1
    by Konstantin Kharlamov at 2023-05-25T14:06:12+01:00
    loader/dri3: temporarily work around a crash when front is NULL
    
    Commit c65bde7b1e introduced a regression where under certain
    circumstances `front` may be NULL, thus leading to a crash. It's not
    currently known what exactly causes `front` to become NULL, nor we can
    revert the offending commit, because there had been too many unrelated
    changes that now depend on this commit.
    
    So until someone comes up with a proper fix, let's add a workaround so
    instead of crashing we just return from the function early.
    
    This commit was tested with the bug `8982` and helps with the crash
    with no other noticeable problems.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8982
    Fixes: c65bde7b1e ("frontend/dri: inline __DRIdrawable in dri_drawable, make __DRIdrawable opaque")
    Cc: mesa-stable
    Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23093>
    (cherry picked from commit 275cf62e20f9b42d69dea146e41589bc205799d0)
    
  • d5541307
    by Samuel Pitoiset at 2023-05-25T14:06:12+01:00
    radv: fix a sync issue with primitives generated query and NGG/legacy
    
    On RDNA1&2, the driver needs to support both NGG and legacy for
    primitives generated query because we can't know that before starting
    queries.
    
    To get the query pool results, we check the availability bit wrote by
    the SAMPLE_STREAMOUTSTATS packet but the GDS copy was emitted after,
    which means the availability bit might be TRUE before the GDS copy is
    actually done.
    
    Fix this by emitting the GDS copy before to ensure the availability is
    TRUE for both results.
    
    This fixes recent updates in
    dEQP-VK.transform_feedback.primitives_generated_query.* because the
    tests no longer wait for the fence.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23080>
    (cherry picked from commit 9ba41ed70af4a9f4a29088f100df08868ecea0e7)
    
  • 433e4e8f
    by Samuel Pitoiset at 2023-05-25T14:06:12+01:00
    radv: reserve cmdbuf space in radv_flush_gfx2ace_semaphore()
    
    Fixes an assertion with test_amplification_shader in vkd3d-proton.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23057>
    (cherry picked from commit b83ce03a7d1378fef8e9999e8afe8aa777debc01)
    
  • 1b4720b3
    by José Roberto de Souza at 2023-05-25T14:06:12+01:00
    anv: Fix ANV_BO_ALLOC_NO_LOCAL_MEM flag
    
    VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT is also set in all memory types of
    integrated GPUs.
    This flag means that memory will be allocated in the most efficient
    place for the GPU to access, which is true in integrated GPUs.
    
    However, this was causing ANV_BO_ALLOC_WRITE_COMBINE to be set in
    integrated GPUs in the block right below when allocating in the non-cached memory type.
    But the comment only talks about lmem, so to still keep the write
    combine behavior for iGPUs it was used VkMemoryPropertyFlags in mmap_calc_flags().
    
    Additionally, this was causing anv_bo.has_implicit_ccs to always be
    set, which could change the expected behavior of
    anv_BindImageMemory2() in MTL.
    
    Fixes: fbd32a04daf8 ("anv: add a third memory type for LLC configuration") added a new heap
    Fixes: 582bf4d9f72f ("anv: flag BO for write combine when CPU visible and potentially in lmem")
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22483>
    (cherry picked from commit a6c5746b3778320c433c5ba7e0f1fa2fde8c5e75)
    
  • 7cc32b0e
    by Kenneth Graunke at 2023-05-25T14:06:12+01:00
    nir: Add find_lsb lowering to nir_lower_int64.
    
    Some GPUs can only handle 32-bit find_lsb.
    
    Cc: mesa-stable
    Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23123>
    (cherry picked from commit 9293d8e64bc72ac15c075b67f711fa2d986bcafb)
    
  • fb39004b
    by Kenneth Graunke at 2023-05-25T14:06:12+01:00
    intel/compiler: Fix 64-bit ufind_msb, find_lsb, and bit_count
    
    We only support 32-bit versions of ufind_msb, find_lsb, and bit_count,
    so we need to lower them via nir_lower_int64.
    
    Previously, we were failing to do so on platforms older than Icelake
    and let those operations fall through to nir_lower_bit_size, which
    used a callback to determine it should lower them for bit_size != 32.
    However, that pass only emulates small bit-size operations by promoting
    them to supported, larger bit-sizes (i.e. 16-bit using 32-bit).  It
    doesn't support emulating larger operations (i.e. 64-bit using 32-bit).
    
    So nir_lower_bit_size would just u2u32 the 64-bit source, causing us to
    flat ignore half of the bits.
    
    Commit 78a195f252d (intel/compiler: Postpone most int64 lowering to
    brw_postprocess_nir) provoked this bug on Icelake and later as well,
    by moving the nir_lower_int64 handling for ufind_msb until late in
    compilation, allowing it to reach nir_lower_bit_size which broke it.
    
    To fix this, we always set int64 lowering for these opcodes, and also
    correct the nir_lower_bit_size callback to ignore 64-bit operations.
    
    Cc: mesa-stable
    Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
    Reviewed-by: Karol Herbst <kherbst@redhat.com>
    Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23123>
    (cherry picked from commit a2d384a5c0947952887115624a156afd649e20b0)
    
  • bc19d9bd
    by Timothy Arceri at 2023-05-25T14:06:12+01:00
    util: add Pixel Game Maker MV workaround
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8918
    Cc: mesa-stable
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23095>
    (cherry picked from commit 5be8acc1b53382a8692b7115b37469fa6c435103)
    
  • 2913aae4
    by Eric Engestrom at 2023-05-25T14:06:12+01:00
    .pick_status.json: Update to 1f586f94097f6c8fca3987e03c4ed671fd280a67
    
  • b8334c49
    by Samuel Pitoiset at 2023-05-25T14:06:12+01:00
    radv: bump the global VRS image size to maximum supported FB dimensions
    
    Super sampling on a 4K screen could hit this. 16k seems pretty big
    but this image is only created on RDNA2 and on-demand if VRS attachments
    are used without depth-stencil attachments, which should be rare
    enough to care.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23105>
    (cherry picked from commit 3adc9b672210da8a26e6da99640fc45dc3e2347d)
    
  • d61e3764
    by Samuel Pitoiset at 2023-05-25T14:06:12+01:00
    radv: disable IMAGE_USAGE_STORAGE with depth-only and stencil-only formats
    
    This shouldn't have been enabled at all. Depth-stencil formats were
    accidentally disabled but not depth-only or stencil-only formats.
    
    This doesn't seem allowed by DX12 and both AMD/NVIDIA don't enable it.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23122>
    (cherry picked from commit dda7400c0ba46a6259355216d1352a206450cfb1)
    
  • ab570dd3
    by Yiwei Zhang at 2023-05-25T14:06:13+01:00
    radv: fix radv_emit_userdata_vertex for vertex offset -1
    
    -1 is a legit vertex offset upon vkCmdDrawIndexed and other cmds. This
    change fixes to track last_vertex_offset with an additional valid bit.
    
    Cc: mesa-stable
    Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23157>
    (cherry picked from commit 4c8be22c6602f12f13e37872755d757d03651ffd)
    
  • 7a6aef60
    by Lionel Landwerlin at 2023-05-25T14:06:13+01:00
    anv: fix push descriptor deferred surface state packing
    
    Yuzu is running into a segfault because it writes the push descriptor
    twice with 2 different layouts, but without a draw/dispatch in
    between.
    
    First vkCmdPushDescriptorSetKHR() writes descriptor 0 & 1 with a
    uniform buffer. We toggle the 2 first bits of
    anv_descriptor_set::generate_surface_states.
    
    Second vkCmdPushDescriptorSetKHR() writes descriptor 0 with uniform
    buffer and descriptor 1 with an image view. The first bit of
    anv_descriptor_set::generate_surface_states stays, but the second bit
    was already set before and it should now be off.
    
    When we finally flush the push descriptor, we try to generate a
    surface state for descriptor 1, but there is no valid buffer view for
    it, we access an invalid pointer and segfault.
    
    This fix resets the anv_descriptor_set::generate_surface_states when
    the descriptor layout changes.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: b49b18f0b7 ("anv: reduce BT emissions & surface state writes with push descriptors")
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23156>
    (cherry picked from commit cab7ba00e2ea57ba8205ff11bae29aabfd37b8c4)
    
  • 3c786a96
    by Mike Blumenkrantz at 2023-05-25T14:06:13+01:00
    zink: try update fb resource refs when starting new renderpass
    
    in the case where a draw is triggered after a flush, zink_update_descriptor_refs
    will be called to set batch tracking for descriptors. this function also
    handles refs for fb attachments, and everything is usually fine there
    
    the problem with this approach is that tracking is no longer set on view
    objects at renderpass begin, which makes them susceptible to early deletion
    if a rp isn't started from a draw call
    
    instead, apply batch tracking to fb attachment resources on renderpass
    begin if the BATCH_CHANGED flag is set (need to rename this at some point)
    in order to guarantee that the resource (object) lifetime will match the
    cmdbuf runtime [since imageviews are now only freed upon batch completion]
    
    fixes #9059
    
    Fixes: f6bbd7875a8 ("zink: remove batch tracking/usage from view types"
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23132>
    (cherry picked from commit 62961b172f75ba628cad8ee58445f51a1c88fc5d)
    
  • f38120d6
    by Mike Blumenkrantz at 2023-05-25T14:06:13+01:00
    zink: add special-casing for (not) reordering certain image barriers
    
    in a scenario where an ordered read op occurs for an image,
    successive read-only barriers SHOULD be able to be promoted
    
    ...but they can't, because there isn't yet a mechanism for handling layout
    transitions between the unordered cmdbuf and the ordered cmdbuf,
    meaning that promoting e.g., a SHADER_READ_ONLY barrier after a TRANSFER_SRC
    barrier will leave the image with the wrong layout for the transfer op:
    
    TRANSFER_SRC(unordered) -> COPY(ordered) -> SHADER_READ_ONLY(unordered)
    
    becomes
    
    TRANSFER_SRC(unordered) -> SHADER_READ_ONLY(unordered) -> COPY(ordered)
    
    ideally I'll get around to figuring this out at some point
    
    affects:
    dEQP-GLES31.functional.copy_image.non_compressed.viewclass_32_bits.r32i_r32i.texture2d_array_to_renderbuffer
    
    Fixes: bf0af0f8ede ("zink: move all barrier-related functions to c++")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23035>
    (cherry picked from commit 9c8b6754b0d8a908b1c09815ff90b42bc7de0bff)
    
  • 66ed3b4f
    by Mike Blumenkrantz at 2023-05-25T14:06:13+01:00
    zink: disable unordered blits when swapchain images need aqcuire
    
    this is consistent with other cmdbuf reordering for blits
    
    Fixes: 3a9f7d70383 ("zink: implement unordered u_blitter calls")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23035>
    (cherry picked from commit ab3914a17b8630b93badcb4f8b948c3bf2e898ee)
    
  • c60508ba
    by Mike Blumenkrantz at 2023-05-25T14:06:13+01:00
    zink: explicitly disable reordering after restricted swapchain readback blits
    
    when needs_present_readback is set, reordering is disabled without hitting
    the path that would normally disable promotion for the resource, so this
    needs to be changed manually to avoid layout desync on the swapchain
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23035>
    (cherry picked from commit 3c010319bbb4113612828bdf569ac83ca94c8c3f)
    
  • 3b23995a
    by Mike Blumenkrantz at 2023-05-25T14:06:13+01:00
    zink: flag 'has_work' on batch when promoting a cmd
    
    has_work controls whether a flush can be deferred, i.e., when unset
    a flush may be deferred
    
    since a promoted cmd must still be flushed to take effect, ensure this
    is always set when promoted cmds are pending
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23035>
    (cherry picked from commit 0f510040dcb23905eac6e8ec86a56ab28c5a097a)
    
  • ae7dacac
    by Mike Blumenkrantz at 2023-05-25T14:06:13+01:00
    zink: also declare int size caps inline with signed int type usage
    
    Fixes: 854fd242faf ("zink: declare int/float size caps inline with type usage")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22934>
    (cherry picked from commit 5d8103b109bcbfe98402f43aecd8f0fd1d6fd815)
    
  • cb9d82bc
    by Tatsuyuki Ishi at 2023-05-25T14:06:13+01:00
    nir: Fix serializing pointer initializers.
    
    Found by manual inspection.
    
    Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
    
    Fixes: 7acc81056f7 ("compiler/nir: Add support for variable initialization from a pointer")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22355>
    (cherry picked from commit 1546a9de99dd8b23ef91631d50e7978f58b12470)
    
  • 28f89e96
    by Lionel Landwerlin at 2023-05-25T14:06:13+01:00
    intel/fs: fix size_read() for LOAD_PAYLOAD
    
    With Anv/Zink, the piglit test :
    
      arb_shader_storage_buffer_object-max-ssbo-size -auto -fbo fsexceed
    
    is failing validation after copy propagation :
    
    load_payload(8) vgrf15:F, vgrf1+0.12<0>:F, vgrf1+0.0<0>:F, vgrf1+0.4<0>:F, vgrf1+0.8<0>:F, vgrf1+0.12<0>:F
    ../src/intel/compiler/brw_fs_validate.cpp:191: A <= B failed
      A = inst->src[i].offset / REG_SIZE + regs_read(inst, i) = 2
      B = alloc.sizes[inst->src[i].nr] = 1
    
    In most cases it works because src[0] would be at offset 0 and so
    reading a full reg passes validation, but Anv/Zink started emitting
    slightly different code adding an offset maybe the size read 2 GRFs.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Reviewed-by: Francisco Jerez <currojerez@riseup.net>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23126>
    (cherry picked from commit 21c7b55f6fdb91b1312423844e4d6d036dc2f09c)
    
  • e3937abb
    by Gert Wollny at 2023-05-25T14:06:13+01:00
    virgl: Make query result resource as dirty before requesting result
    
    The query result resource will be written to by the host, so we have to
    declare it as dirty if we want to see the change.
    
    Fixes: 9279a28f0 (virgl: ARB_query_buffer_object support)
    
    v2: Update expectations in CI
    
    Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23121>
    (cherry picked from commit 330a1db0161612700277b4de9b9772b46159ab18)
    
  • d2e028f6
    by Eric Engestrom at 2023-05-25T17:37:57+01:00
    .pick_status.json: Update to 4af6b601e05cf1a9f2002698b5fb1d0b971124db
    
  • 9d4bc470
    by Ruijing Dong at 2023-05-25T17:38:02+01:00
    gallium/pipe: add interface update_decoder_target
    
    reason:
    decoder uses the target buffer address in record
    to indentify the reference frames. When target
    buffer has changed outside of decoding process,
    it has to be updated back to decoder, otherwise
    the outdated reference will cause image corruption.
    
    Cc: mesa-stable
    Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
    Reviewed-by: Sil Vilerino <sivileri@microsoft.com>
    Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23061>
    (cherry picked from commit 5b2544f8689706de4cedebbb6777bb375af78325)
    
  • 744d5524
    by Ruijing Dong at 2023-05-25T17:38:03+01:00
    radeonsi/vcn: apply update_decoder_target logic
    
    implement update_decoder_target and
    remove corresponding obsolete logic.
    
    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/23061>
    (cherry picked from commit a89f740e288ede0476e8206e5633caab0a33c9c8)
    
  • cc5a2ca0
    by Ruijing Dong at 2023-05-25T17:40:23+01:00
    frontends/va: remove private member and update target buffer
    
    use update_decoder_target to update the target buffer to
    let decoder obtain correct reference frame.
    
    remove the previous logic which failed to update reference
    info in time.
    
    fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8996
    fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8387
    Cc: mesa-stable
    
    Reviewed-by: Sil Vilerino <sivileri@microsoft.com>
    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/23061>
    (cherry picked from commit 799665c9baa169ee6979bb4d4545029ada10ac8e)
    
  • caa1ba76
    by Filip Gawin at 2023-05-25T17:40:28+01:00
    ac/nir: fix slots in clamping legacy colors
    
    fixes: 7c41cdb81f564ef52404e5f313ccfe2d723896e6
    
    Reviewed-by: Qiang Yu <yuq825@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23178>
    (cherry picked from commit e36761766807745f285874a57ef4d936553fa6c7)
    
  • d3ae7a75
    by Samuel Pitoiset at 2023-05-25T17:40:29+01:00
    radv: do not enable VRS flat shading if the VRS builtin is read
    
    When the fragment shader reads the VRS builtin, VRS flat shading
    shouldn't be enabled, otherwise the value might not be what the FS
    expects.
    
    Fixes dEQP-VK.fragment_shading_rate.renderpass2.monolithic.multipass.*
    on RDNA2 (VRS flat shading isn't yet enabled on RDNA3).
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23187>
    (cherry picked from commit b439bd5a5844e3df812f1f0362fd1a715058fb3a)
    
  • 46afe552
    by Patrick Lerda at 2023-05-25T17:40:31+01:00
    mesa: fix refcnt imbalance related to egl_image_target_texture()
    
    Indeed, the locally allocated "stimg" reference was not freed
    on a specific code path.
    
    For instance, this issue is triggered on radeonsi or r600 with:
    "piglit/bin/egl-ext_egl_image_storage -auto -fbo"
    while setting GALLIUM_REFCNT_LOG=refcnt.log.
    
    Fixes: 6a3f5c65128b ("mesa: simplify st_egl_image binding process for texture storage")
    Signed-off-by: Patrick Lerda <patrick9876@free.fr>
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23165>
    (cherry picked from commit 83cd7d23a26d3cbd1af4805e95c4e588950f0fd5)
    
  • c517ab7c
    by Mike Blumenkrantz at 2023-05-25T17:40:32+01:00
    zink: don't wait on queue thread if disabled
    
    Fixes: 270f9c0b063 ("zink: add ZINK_DEBUG=flushsync")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23189>
    (cherry picked from commit f58594cdea4c2b1b23c7da7fafc9868935529ff1)
    
  • c54295e9
    by Mike Blumenkrantz at 2023-05-25T17:40:35+01:00
    zink: use the per-context track_renderpasses flag in more places
    
    this should fix some erroneous zsbuf invalidation
    
    Fixes: 215beee16d9 ("zink: more explicitly track/check rp optimizing per-context")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23189>
    (cherry picked from commit 32b7659fffb4d023d6564e1af44a8e9b94981870)
    
  • a8da5a0c
    by Marek Olšák at 2023-05-25T17:40:36+01:00
    mesa: fix a VBO buffer reference leak in _mesa_bind_vertex_buffer
    
    Fixes: 03ba57c6c53214b19 - mesa: extend _mesa_bind_vertex_buffer to take ownership of the buffer reference
    
    Reviewed-by: Yogesh Mohan Marimuthu <yogesh.mohanmarimuthu@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23112>
    (cherry picked from commit ce3edf51bef1ef7b964deb1ad6fe6ad886f3524f)
    
  • 04affaa5
    by Patrick Lerda at 2023-05-25T17:40:38+01:00
    glthread: fix typo related to upload_vertices()
    
    Fixes: 68a926a15b7b ("glthread: set GL_OUT_OF_MEMORY if we fail to upload vertices")
    Signed-off-by: Patrick Lerda <patrick9876@free.fr>
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23166>
    (cherry picked from commit 39a9ebde37887fd935d7b3e5ca4860abf49e6d95)
    
  • a59bb82c
    by Jesse Natalie at 2023-05-25T17:40:48+01:00
    dzn: Partial revert of 8887852d
    
    Turns out there was a good reason for having both buffer count
    and desc_count. They served different purposes.
    
    Fixes: 8887852d ("dzn: Add some docs around descriptor sets and remove redundant/unused data")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23218>
    (cherry picked from commit b4852c4efbd3bf71edde97d202927dc8284e78a2)
    
  • 600c9dff
    by Jesse Natalie at 2023-05-25T17:40:50+01:00
    dzn: Fix src/dest confusion for some non-bindless descriptor copies
    
    Fixes: 5d2b4ee4 ("dzn: Allocate descriptor sets in buffers for bindless mode")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23218>
    (cherry picked from commit 6674f04fc23a63b6aa11ed7f48d6f0efb2a460ce)
    
  • d86101f0
    by Marek Olšák at 2023-05-25T17:40:51+01:00
    winsys/radeon: set has_image_opcodes to unbreak gfx6-7
    
    Fixes: 96913bbf3eba74 - ac/surface: force linear image layout for chips not supporting image opcodes
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9073
    
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23221>
    (cherry picked from commit fe03351bee36ac47f318ab46d2ca9d99e11a1ec8)
    
  • 1a86a603
    by Marek Olšák at 2023-05-25T17:40:52+01:00
    winsys/radeon: fix the scratch buffer on gfx6-7
    
    I'm sure this was broken.
    
    Fixes: 1bf39b1f9d115d69 - ac,radeonsi: rework how scratch_waves is used and move it to ac_gpu_info.c
    
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23221>
    (cherry picked from commit 474f9fbe86d63cbdab9d6a7d5e32f873eec4b439)
    
  • d4f5fc70
    by Dave Airlie at 2023-05-25T17:40:53+01:00
    radv/video: use correct h264 levels
    
    This should be set to the enum, ffmpeg has it wrong so far, but the sample decoder has it right.
    
    convert radv to the proper answer.
    
    Fixes: 1693c03a3963 ("radv/video: add initial h264 decoder for VCN")
    Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23225>
    (cherry picked from commit ea2eade57b6a99d6db26d9571b3d2901e7106001)
    
  • ca9cfa13
    by Lionel Landwerlin at 2023-05-25T17:40:55+01:00
    iris: rework Wa_14017076903 to only apply with occlusion queries
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: 415b824bc6 ("iris: implement occlusion query related Wa_14017076903")
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22807>
    (cherry picked from commit 1d13f22174f690b95a14f1ef7158a655c00e24bd)
    
  • e1626805
    by Samuel Pitoiset at 2023-05-25T17:42:37+01:00
    vulkan/pipeline_cache: remove a bogus assert when inserting objects
    
    If two threads deserialize the raw object at the same time, the
    refcount could be more than 1 temporarily.
    
    This can be reproduced with Granite during the multi-threaded pipeline
    cache pre-warm on startup, and also with Dota2.
    
    Fixes: cbab396f549 ("vulkan/pipeline_cache: replace raw data objects on cache insertion of real objects")
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22853>
    (cherry picked from commit 8126e0287d4eaa9ce383cecfe253d589da7208f2)
    
  • 42789565
    by Eric Engestrom at 2023-05-25T21:01:46+01:00
    docs: add release notes for 23.1.1
    
  • fa55e3c0
    by Eric Engestrom at 2023-05-25T21:02:47+01:00
    VERSION: bump for 23.1.1
    
  • 6dc4195f
    by Timo Aaltonen at 2023-05-26T15:38:55+03:00
    Merge branch 'upstream-experimental' into debian-experimental
    
  • 6fa724bf
    by Timo Aaltonen at 2023-05-29T10:43:29+03:00
    version bump
    
  • a87feee0
    by Timo Aaltonen at 2023-05-30T10:41:02+03:00
    rules: Set VERSION so that it also includes the packaging revision. (LP: #2020604)
    
  • 0fe008d8
    by Timo Aaltonen at 2023-05-30T11:27:34+03:00
    release to experimental
    

30 changed files:

The diff was not included because it is too large.

Reply to: