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

[Git][xorg-team/lib/mesa][debian-unstable] 60 commits: docs/relnotes: add sha256sum for 22.3.2



Title: GitLab

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

Commits:

  • 8c57a972
    by Eric Engestrom at 2022-12-29T21:20:00+00:00
    docs/relnotes: add sha256sum for 22.3.2
    
  • 44bb614c
    by Väinö Mäkelä at 2023-01-01T17:07:04+00:00
    intel: Fix a hang caused by invalid dispatch enables on gfx6/7
    
    Because commit b9403b1c477 moved dispatch enable handling away from the
    compiler, brw_fs_get_dispatch_enables must be used to ensure valid
    dispatch enable values.
    
    v2: Fix gfx6 build and use brw_fs_get_dispatch_enables for gfx6 in crocus
    
    Fixes: b9403b1c477 ("intel: factor out dispatch PS enabling logic")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20267>
    (cherry picked from commit 4c986c58b3f2bf06ca17adb9bee0a79fa19bddd9)
    
  • 7ce0bd2e
    by Ruijing Dong at 2023-01-01T17:28:29+00:00
    gallium: add film_grain_target into av1 dec desc
    
    In vaapi, film_grain output will need to direct into
    other output surface instead of the current render_target.
    
    CC: 22.3
    Reviewed-by: Leo Liu <leo.liu@amd.com>
    Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20139>
    (cherry picked from commit b70953f5baacb9066fc737ec56be678a2ebad425)
    
  • 037bf0f5
    by Ruijing Dong at 2023-01-01T17:28:29+00:00
    frontends/omx: initialize film_grain_target
    
    set film_grain_target to NULL, and not using it
    in omx path.
    
    CC: 22.3
    Reviewed-by: Leo Liu <leo.liu@amd.com>
    Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20139>
    (cherry picked from commit 7f71f732ea76e0376e58069200d19beb74b2cb62)
    
  • df124acd
    by Ruijing Dong at 2023-01-01T17:28:29+00:00
    frontneds/va: use current_display_picture from VA for film grain
    
    use the interface defined in vaapi for av1 film grain's output
    https://github.com/intel/libva/blob/master/va/va_dec_av1.h#L296-L304
    
    CC: 22.3
    Reviewed-by: Leo Liu <leo.liu@amd.com>
    Signed-off-by: Mark Thompson <sw@jkqxz.net>
    Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20139>
    (cherry picked from commit 7e91f9486418ad69aaef9ca5ce539ae47995e1d9)
    
  • 13872b04
    by Ruijing Dong at 2023-01-01T17:28:29+00:00
    frontends/va: pass in film_grain_target as new output
    
    In av1 film grain case, to use the film_grain_target
    as the output, instead of target buffer, which is kept
    as the input for DPB processing in film_grain output
    scenario.
    
    CC: 22.3
    Reviewed-by: Leo Liu <leo.liu@amd.com>
    Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20139>
    (cherry picked from commit af695149e96bf276b52ff3715076ddc847c6b959)
    
  • 80891799
    by Ruijing Dong at 2023-01-01T17:28:29+00:00
    radeonsi/vcn: av1 film_grain output fix
    
    use film grain surface as the output instead of target,
    which should be kept for DPB process.
    
    fixed: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6903
    
    CC: 22.3
    Reviewed-by: Leo Liu <leo.liu@amd.com>
    Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20139>
    (cherry picked from commit a7b3a279fb544431043908d12d5503916e18942e)
    
  • b8b16d41
    by Eric Engestrom at 2023-01-11T17:44:17+00:00
    .pick_status.json: Update to 38d6185432d1f19a5653b3892069cd350187f5b8
    
  • 2aff6333
    by Eric Engestrom at 2023-01-11T17:44:20+00:00
    gen_release_notes: strip second newline in new features
    
    Signed-off-by: Eric Engestrom <eric@engestrom.ch>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20132>
    (cherry picked from commit 980d6a91eecb58acf5cdc356ec5a422304145af5)
    
  • 1e6aa5eb
    by Konstantin Kharlamov at 2023-01-11T17:44:20+00:00
    bin/gen_release_notes.py: do not end "features" with "None"
    
    Currently, the "New features" list unconditionally ends with a "None"
    point, which makes no sense. The original author probably meant to check
    whether the file is empty, so remove the else clause, and add the check
    for emptiness.
    
    Cc: mesa-stable
    Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
    Reviewed-by: Eric Engestrom <eric@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20241>
    (cherry picked from commit bd807eecd16eb308e121ff6d51210edee8635083)
    
  • 199ccbc6
    by Konstantin Kharlamov at 2023-01-11T17:44:20+00:00
    bin/gen_release_notes.py: do not fail on confidential features
    
    A commit may refer to an issue marked as confidential. That will look
    like a 404 page for outside users. One example of such commit is:
    
        369c12e5be "anv: clear descriptorsets if AllocateDescriptorSets fails"
    
    Let's handle that case.
    
    Cc: mesa-stable
    Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
    Reviewed-by: Eric Engestrom <eric@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20241>
    (cherry picked from commit 334123a908cfac282297ba5240aecac79e9babd2)
    
  • bbb7597c
    by Konstantin Kharlamov at 2023-01-11T17:44:20+00:00
    bin/gen_release_notes.py: don't fail if "Closes" refers to an MR
    
    Sometimes a tag "Closes:" in a commit may refer to a merge request
    instead of an issue. Examples of such commits:
    
        34319c7d84 "ci/freedreno: disable antichambers trace"
        998122d9c2 "mesa: fix GL_INVALID_OPERATION in glEGLImageTargetTexStorageEXT"
    
    Avoid failing on these by explicitly checking that the URL refers to an
    issue
    
    Cc: mesa-stable
    Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
    Reviewed-by: Eric Engestrom <eric@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20241>
    (cherry picked from commit 52cd87ea16f05fc3cc87be9315cd2d2e6dc9850d)
    
  • 31b0adc7
    by Konstantin Kharlamov at 2023-01-11T17:44:20+00:00
    bin/gen_release_notes.py: parse "Fixes" tags as well as "Closes"
    
    Some commits refer to bugs being fixed with "Fixes" tag. Example of one:
    
        e13d53e1fdb 'Revert "glx/dri: Fix DRI drawable release at MakeCurrent time"'
    
    Parse this tag as well.
    
    Cc: mesa-stable
    Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
    Reviewed-by: Eric Engestrom <eric@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20241>
    (cherry picked from commit e67578a264bc730491cf26d6a268e61809d31fba)
    
  • 44b4caaa
    by Konstantin Kharlamov at 2023-01-11T17:44:20+00:00
    bin/gen_release_notes.py: read Closes/Fixes tags case-insensitively
    
    Cc: mesa-stable
    Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
    Reviewed-by: Eric Engestrom <eric@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20241>
    (cherry picked from commit 05ca7d114eabfb3e2a2b82ba06ccb7b152e0e2a5)
    
  • fea1fc4b
    by Daniel Schürmann at 2023-01-11T17:44:20+00:00
    aco: fix reset_block_regs() in postRA-optimizer
    
    Accidentally, we picked the index of the predecessors instead of the predecessors.
    
    Totals from 8496 (6.30% of 134913) affected shaders: (GFX10.3)
    CodeSize: 64070724 -> 64022516 (-0.08%); split: -0.08%, +0.00%
    Instrs: 11932750 -> 11920698 (-0.10%); split: -0.10%, +0.00%
    Latency: 144040266 -> 144017062 (-0.02%); split: -0.02%, +0.00%
    InvThroughput: 29327735 -> 29326421 (-0.00%); split: -0.00%, +0.00%
    
    Fossil DB stats on Rembrandt (RDNA2):
    Totals from 4488 (3.33% of 134906) affected shaders:
    CodeSize: 42759736 -> 42735392 (-0.06%); split: -0.06%, +0.00%
    Instrs: 7960522 -> 7954436 (-0.08%); split: -0.08%, +0.00%
    Latency: 96192647 -> 96172571 (-0.02%); split: -0.02%, +0.00%
    InvThroughput: 19313576 -> 19312575 (-0.01%); split: -0.01%, +0.00%
    
    Fixes: 75967a4814be7988afc20e59bac4b48bafacab00 ('aco/optimizer_postRA: Speed up reset_block() with predecessors.')
    Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16161>
    (cherry picked from commit 8f4eccb13854d16aa604d6130fdb892e1cde9250)
    
  • ea1202f6
    by Samuel Pitoiset at 2023-01-11T17:44:20+00:00
    radv: fix missing initialization of radv_resolve_barrier::dst_stage_mask
    
    Otherwise, this value is unitialized when read in
    radv_ace_internal_barrier().
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7909
    Fixes: 4c6f83006d4 ("radv: Synchronization for task shaders.")
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20351>
    (cherry picked from commit 050c39c92fb544e11af6f013c04494a0b554081b)
    
  • 7b74a905
    by Sil Vilerino at 2023-01-11T17:44:20+00:00
    frontends/va: Update state var frame_num disregarding cap check
    
    The frame_num variable must be updated for encode entrypoint disregarding
    the outcome of the PIPE_VIDEO_CAP_REQUIRES_FLUSH_ON_END_FRAME cap check
    
    fixes: 229c6f79a660e5c7999ffc94e1fb514692df3b6a ("frontends/va: Implement vaSyncBuffer")
    
    Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20490>
    (cherry picked from commit fb0038f489f9878d5ee448ece1c8df3d1816c649)
    
  • 685718bc
    by Yiwei Zhang at 2023-01-11T17:44:20+00:00
    lvp: properly ignore sampler write for immutable sampler
    
    The issue is hidden due to a overly relaxed cts:
    dEQP-VK.binding_model.shader_access.primary_cmd_buf.with_push*
    that doesn't scrub the sampler from descriptor writes for immutable
    samplers. The issue is exposed via venus-lavapipe ci because venus must
    ignore the potentially garbled sampler. This change aligns the
    VK_DESCRIPTOR_TYPE_SAMPLER path with the
    VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER path by removing a false check
    against the provided sampler from push since the sampler can be null. An
    alternative is to also check against !binding->immutable_samplers there.
    
    Test: venus-lavapipe with venus push descriptor support
    
    cc: mesa-stable
    
    Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
    Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20471>
    (cherry picked from commit 9a104f6348d9f86825f0d9ace1886b7f26277845)
    
  • 96b85f15
    by Yiwei Zhang at 2023-01-11T17:44:20+00:00
    venus: properly ignore the sampler for immutable sampler
    
    This was found while debugging venus-lavapipe ci failure. It's a real
    bug though no tests have caught this yet, but fixing this would regress
    venus-lavapipe non-templated push tests if without the dependent lvp
    fix. The sampler in the descriptor write can be garbled if the binding
    has immutable samplers.
    
    cc: mesa-stable
    
    Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
    Reviewed-by: Corentin Noël <corentin.noel@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20471>
    (cherry picked from commit 33b778cc36158568e308564313effb219b3adb5b)
    
  • b46d3d7e
    by Adam Stylinski at 2023-01-11T17:44:20+00:00
    nv30: Fix an offset for vbos being applied to a buffer twice
    
    Similar to 1387d1d4, this offset was being applied twice (once in
    translate_generic, and once when the buffer is mapped).
    
    This fixes 7972, which was initially thought to be an endianness
    specific issue.
    
    CC: mesa-stable
    Tested-by: Filip Gawin <filip@gawin.net>
    Reviewed-by: Karol Herbst <kherbst@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20468>
    (cherry picked from commit 50972297f4c0355a137d7b32c51704e0a05028c3)
    
  • 052a2a47
    by Samuel Pitoiset at 2023-01-11T17:44:20+00:00
    radv: fix multiple resolves in the same subpass
    
    If there is multiple resolves, the driver shouldn't always select the
    fragment path because it doesn't work for all images.
    
    Fixes dEQP-VK.pipeline.monolithic.multisample.misc.*
    
    Cc: 22.3 mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19986>
    (cherry picked from commit 22543653d5b20817d576180060005963c05bca3d)
    
  • 6893f2b5
    by Felix DeGrood at 2023-01-11T17:44:20+00:00
    anv: Emit CS stall on INTEL_MEASURE timestamp
    
    For INTEL_MEASURE, ensure all prior instructions completed before
    timestamp taken. Continue to support no CS flush case for Perfetto.
    CS stall was dropped from pipecontrol when adding u_trace support.
    
    Fixes: cc5843a573b ("anv: implement u_trace support")
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20502>
    (cherry picked from commit 7f6beb8537bef69a9b14ec24aa4c817742d219df)
    
  • 22f83313
    by Felix DeGrood at 2023-01-11T17:44:20+00:00
    hasvk: Emit CS stall on INTEL_MEASURE timestamp
    
    For INTEL_MEASURE, ensure all prior instructions completed before
    timestamp taken. Continue to support no CS flush case for Perfetto.
    CS stall was dropped from pipecontrol when adding u_trace support.
    
    Fixes: cc5843a573b ("anv: implement u_trace support")
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20502>
    (cherry picked from commit c1c81137d9ce0dda1c0cec374bf4912f7663b2ef)
    
  • a5f33e03
    by Timothy Arceri at 2023-01-11T17:44:21+00:00
    util/00-mesa-defaults: add Metal Slug XX workaround
    
    The game uses texture2D() in glsl 4.40 shaders, but texture2D()
    was moved to compat in 4.20.
    
    Cc: mesa-stable
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20511>
    (cherry picked from commit a4a1f95431ae8a8194758436edf64b415efe7e29)
    
  • cb971d5e
    by Emma Anholt at 2023-01-11T17:44:21+00:00
    zink: Only expose PIPE_CAP_IMAGE_ATOMIC_FLOAT_ADD if we can actually add.
    
    Drivers may expose the ext without the add capability, if they can
    load/store/exchange.
    
    Fixes: c32f046ab669 ("zink: export PIPE_CAP_IMAGE_ATOMIC_FLOAT_ADD")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20506>
    (cherry picked from commit 426cb025e7fd09d94713c84bc02ef7b9aaad3fa8)
    
  • c591be20
    by Emma Anholt at 2023-01-11T17:44:21+00:00
    zink: Only expose PIPE_CAP_SHADER_ATOMIC_INT64 if we can do shared and ssbos.
    
    Fixes: 3ac0706aa83b ("zink: export PIPE_CAP_SHADER_ATOMIC_INT64")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20506>
    (cherry picked from commit b8d9f860a02daa253213b216488941807e8ea79a)
    
  • 722f6676
    by Maíra Canal at 2023-01-11T17:44:21+00:00
    v3dv: initialize fd variable for proper error handling
    
    Currently, process_singlesync_signals() checks if fd == -1 to handle
    possible errors in the drmSyncobjExportSyncFile function. But, fd is not
    initialized, which means that drmSyncobjExportSyncFile might fail and
    the error will not be handled as fd might not be equal to -1.
    
    Therefore, initialize the fd variable with value -1 to ensure proper
    error handling.
    
    cc: mesa-stable
    
    Signed-off-by: Maíra Canal <mcanal@igalia.com>
    Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20475>
    (cherry picked from commit a2252adde8235d5c4d78d9347527cd7914bb905a)
    
  • 0291da28
    by Pierre-Eric Pelloux-Prayer at 2023-01-11T17:44:21+00:00
    egl: handle NULL loaderPrivate in dri_is_thread_safe
    
    This can happen when a context is created from
    loader_dri3_blit_context_get and glthread is enabled.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7949
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7960
    Cc: mesa-stable
    
    Acked-by: Eric Engestrom <eric@igalia.com>
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20479>
    (cherry picked from commit b111e8aa4940e8b155f38b5ef238c295ded8a6b4)
    
  • 2adab724
    by Asahi Lina at 2023-01-11T17:44:21+00:00
    kmsro: Fix renderonly_scanout BO aliasing
    
    BOs can only have one handle. If renderonly_create_gpu_import_for_resource
    ends up importing a BO that was already mapped for scanout, it will get
    the same handle. This leaves us with two renderonly_scanout objects for
    one handle, and the first one to be destroyed will free it.
    
    Import the BO map tracking logic from asahi, to avoid aliasing
    renderonly_scanout objects. Each actual BO now is only represented by a
    single object instance, which is reference counted.
    
    Fixes KWin full-screen PipeWire capture breaking scanout entirely.
    
    Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
    Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
    Signed-off-by: Asahi Lina <lina@asahilina.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20397>
    (cherry picked from commit ad4d7ca8332488be8a75aff001f00306a9f6402e)
    
  • eab2bbe2
    by Samuel Pitoiset at 2023-01-11T17:44:21+00:00
    radv: fix returning VK_PIPELINE_COMPILE_REQUIRED from library
    
    When VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED is set by
    the application, the driver should return VK_COMPILE_REQUIRED but this
    was broken for GPL (it returned VK_SUCCESS instead). Also, objects
    shouldn't be destroyed when creating the library failed because it's
    already handled in radv_graphics_lib_pipeline_create().
    
    Cc: 22.3 mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7512
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20532>
    (cherry picked from commit 5757dbe1ee994c6c5afdaa691ebcfeb72e0cd04f)
    
  • 32e567d4
    by Eric Engestrom at 2023-01-11T17:44:21+00:00
    meson: add missing dependency
    
    Now that renderonly.h includes util/simple_mtx.h, which itself includes
    valgrind.h, dep_valgrind is required by any module that includes
    renderonly.h.
    
        In file included from ../src/gallium/auxiliary/renderonly/renderonly.h:33,
                         from ../src/gallium/winsys/kmsro/drm/kmsro_drm_winsys.c:39:
        ../src/util/simple_mtx.h:34:12: fatal error: valgrind.h: No such file or directory
           34 | #  include <valgrind.h>
              |            ^~~~~~~~~~~~
        compilation terminated.
    
    dep_valgrind is part of idep_mesautil, which should be used instead of
    copying the list of deps for each util header included (which would
    have to be updated every time a util header changes its own includes),
    so let's add idep_mesautil everywhere that includes renderonly.h.
    
    Fixes: ad4d7ca8332488be8a75 ("kmsro: Fix renderonly_scanout BO aliasing")
    Tested-by: Asahi Lina <lina@asahilina.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20530>
    (cherry picked from commit aab4a260db6563d676a8e43fcdf7c653e61bf698)
    
  • b582b7f1
    by Rhys Perry at 2023-01-11T17:44:21+00:00
    aco/gfx11: update s_code_end padding
    
    Match ac_rtld_open().
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
    Cc: 22.3 <mesa-stable>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20536>
    (cherry picked from commit 9e55b3b790997573d7e4110332024d1052d0ccc3)
    
  • b979eadb
    by Gert Wollny at 2023-01-11T17:44:21+00:00
    virgl: Use virgl host side shader stage IDs when reading caps
    
    The ordering of enum pipe_shader_type changed, but not all locations where
    the host uses the original ordering were changed to translate to the new
    ordering, namely reading the shader caps was not fixed up so do this now.
    
    v2: - inline virgl_shader_stage_convert (Corentin)
        - encapuslate use of host shader stage when reading array elements
          of host caps
    
    Fixes: a26543f6368fed1604cfde7fffce2024e9d8abab
       gallium: reorder the shader stage enum to match Mesa
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8023
    
    Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20544>
    (cherry picked from commit c91a78c03a67afa5f0792669a58a7d19f87c5ba0)
    
  • c59b6e6c
    by Xaver Hugl at 2023-01-11T17:44:21+00:00
    driconf: add a workaround for plasmashell freezing
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7624
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Tested-by: Dan Johansen <strit@manjaro.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20472>
    (cherry picked from commit 41eb491fb6460f401a4c845fc28a53de92e9075b)
    
  • 6f1f06ea
    by Pierre-Eric Pelloux-Prayer at 2023-01-11T17:44:21+00:00
    util/00-mesa-defaults: add Limbo workaround
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7976
    Cc: mesa-stable
    
    Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
    Tested-by: Diego Viola <diego.viola@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20548>
    (cherry picked from commit 6e24b76c105eed183edbc95c404c8ee39c2bf077)
    
  • 60474e53
    by Samuel Pitoiset at 2023-01-11T17:44:21+00:00
    radv: fix re-emitting tessellation domain origin when it's dynamic
    
    The winding order can be different between pipelines.
    
    Fixes new dEQP-VK.pipeline.pipeline_library.dynamic_control_points.change_*_winding.
    
    Fixes: f22290949d3 ("radv: add support for dynamic tessellation domain origin")
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20486>
    (cherry picked from commit f1b3e6aefd42eae8ce8b551f67d1f8650353407e)
    
  • 93f2eec6
    by Mike Blumenkrantz at 2023-01-11T17:44:21+00:00
    zink: only update framebuffer object during swapchain update if framebuffer exists
    
    otherwise this might be randomly creating an unused framebuffer for dynamic render
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20584>
    (cherry picked from commit 79a4d22928e2b1b3e4a4246384b33c42a14cdb57)
    
  • 1249d31a
    by Mike Blumenkrantz at 2023-01-11T17:44:22+00:00
    zink: protect against invalid scissored renderpass clears
    
    if the clear region is oob, this is illegal and may crash some drivers
    
    fixes (lavapipe):
    dEQP-EGL.functional.swap_buffers_with_damage.resize_before_swap.buffer_age_clear_render
    dEQP-EGL.functional.swap_buffers_with_damage.resize_before_swap.buffer_age_render_clear
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20584>
    (cherry picked from commit 6f02fe8842f9fc6e0cecad533451a6402539c027)
    
  • 09676cf5
    by Qiu Wenbo at 2023-01-11T17:44:22+00:00
    vc4: Fix RADDR_A field extraction of branch instruction
    
    Signed-off-by: Qiu Wenbo <qiuwenbo@kylinos.com.cn>
    Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20581>
    (cherry picked from commit 7489c29abee0e7db46b63bd18662a6d73cb3c6a7)
    
  • 888bb9c3
    by Qiu Wenbo at 2023-01-11T17:44:22+00:00
    vc4: Fix running process_mux_deps on irrelevant type of instructions
    
    Only ALU and ALU Small Imm instructions have input mux.
    
    Signed-off-by: Qiu Wenbo <qiuwenbo@kylinos.com.cn>
    Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20581>
    (cherry picked from commit ee32f3873c544bffdc63c733e9be966258e9b4a5)
    
  • 859e2de1
    by Tapani Pälli at 2023-01-11T17:44:22+00:00
    iris: let isl set tiling mode for external resources
    
    Patch sets memory object external format (which is otherwise
    PIPE_FORMAT_NONE for memory objects) before main surface gets
    configured. With this we can add a check that when dealing
    with external resource that has no modifier set, we let isl
    figure out the tiling mode.
    
    Fixes memobj tests on DG2:
       piglit.spec.ext_external_objects.vk-image-display-muliple-textures
       piglit.spec.ext_external_objects.vk-image-display-overwrite
       piglit.spec.ext_external_objects.vk-depth-display
       piglit.spec.ext_external_objects.vk-image-display
       piglit.spec.ext_external_objects.vk-stencil-display
    
    v2: add assert and comment on tiling decision (Ken)
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7684
    Cc: mesa-stable
    Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
    Reviewed-by: Simon Zeni <simon@bl4ckb0ne.ca>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20473>
    (cherry picked from commit 319d485679848f9c48e1fc7b34ecf97fc39ac1d0)
    
  • 605feb02
    by Lionel Landwerlin at 2023-01-11T17:44:22+00:00
    anv: don't nullify entries
    
    We'll use those to fill the push constant addresses, so we can't have
    them turned to null.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: ff91c5ca42 ("anv: add analysis for push descriptor uses and store it in shader cache")
    Reviewed-by: Emma Anholt <emma@anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20555>
    (cherry picked from commit 48bb3df95158ca14e7c291d03be45becb097263f)
    
  • b95e5a8c
    by Lionel Landwerlin at 2023-01-11T17:44:22+00:00
    anv: check that push range actually match binding considered
    
    We can't just check the load_ubo range is contained in the push entry,
    we also need to check that the push entry set/binding matches the
    load_ubo set/binding.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: ff91c5ca42 ("anv: add analysis for push descriptor uses and store it in shader cache")
    Reviewed-by: Emma Anholt <emma@anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20555>
    (cherry picked from commit e2b0086b786fc46193c2c4c0313922d64bbe2653)
    
  • 7d291508
    by Lionel Landwerlin at 2023-01-11T17:44:22+00:00
    anv: return properly typed value for no ubo promoted
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: ff91c5ca42 ("anv: add analysis for push descriptor uses and store it in shader cache")
    Reviewed-by: Emma Anholt <emma@anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20555>
    (cherry picked from commit bbfca4eb92a75802d6555202d95d6b20af5d7c90)
    
  • d8cf98bc
    by Lionel Landwerlin at 2023-01-11T17:44:22+00:00
    anv: use the null surface with unused push descriptor binding table entries
    
    Some binding table entries have been identify as unused in the shaders
    by the push constant analysis pass. We can just put the null entry in
    there.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: b49b18f0b7 ("anv: reduce BT emissions & surface state writes with push descriptors")
    Reviewed-by: Emma Anholt <emma@anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20555>
    (cherry picked from commit 2d627f28c8fb55336d001846cfe70877b446d978)
    
  • 453cb59d
    by Mike Blumenkrantz at 2023-01-11T17:44:22+00:00
    lavapipe: add some safety asserts when beginning rendering
    
    if the render area exceeds the attachment size, this is not only illegal,
    it will crash later
    
    cc: mesa-stable
    
    Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Reviewed-by: Roland Scheidegger <sroland@vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20583>
    (cherry picked from commit 847d198c1fffe018f4c3557db239168100400319)
    
  • ac128236
    by Timothy Arceri at 2023-01-11T17:44:22+00:00
    util/driconf: add Dune: Spice Wars workaround
    
    As per the bug report the game does not correctly handle a uniform
    index of -1 being returned for the unused array element, which
    results in rendering issues. So here we skip the uniform array
    resizing optimisation.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6397
    Cc: mesa-stable
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20579>
    (cherry picked from commit ac5af6c06d867507284121f31ddbabf07f7e29f4)
    
  • b4691829
    by Mike Blumenkrantz at 2023-01-11T17:44:22+00:00
    zink: stop using VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT
    
    this used to be fine back when there was only one thread doing cache management,
    but now the cache is used by precompile threads too, so let the driver do sync
    
    fixes #7660
    
    Fixes: 41ffb15de56 ("zink: implement async gfx precompile")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20519>
    (cherry picked from commit f18827e0153c555d2f3897b57f8ea0349b5bb41f)
    
  • 958ab782
    by Danylo Piliaiev at 2023-01-11T17:44:22+00:00
    tu: Fix varyings interpolation reading stale values
    
    tu6_vpc_varying_mode returned how many bits are consumed IF they are
    non-zero, for SMOOTH mode nothing is written and it was treated like
    no bits were consumed.
    
    When input with smooth interpolation was the last one and straddled
    the VPC_VARYING_INTERP_MODE regs, the last interp mode were not written.
    
    Fixes misrendering in "Psychonauts 2".
    
    Cc: mesa-stable
    
    Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20533>
    (cherry picked from commit a45d32b10b317f69187392c2d165071248a91f49)
    
  • ac676fee
    by Lucas Stach at 2023-01-11T17:44:22+00:00
    etnaviv: blt: properly use upper half of clear value
    
    Instead of replicating the lower half of the clear value, properly
    use the upper half to program the second clear value BLT state.
    
    CC: mesa-stable
    Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
    Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20586>
    (cherry picked from commit 03fdcbba19bd541bde9bc65f4705c369d5339d67)
    
  • cdac7338
    by Marek Olšák at 2023-01-11T17:44:23+00:00
    radeonsi: rewrite si_update_ps_colorbuf0_slot to fix crashes and recursions
    
    I'm convinced that u_blitter interactions with fbfetch can't be handled
    in si_update_ps_colorbuf0_slot alone, so it has to be force-disabled
    by si_blitter_begin. Another reason why it has to be disabled for u_blitter
    and not ignored is because FBFETCH with MSAA enables sample shading
    regardless of context states, and we don't want that for u_blitter.
    
    Also, si_update_ps_colorbuf0_slot now disables FBFETCH explicitly before
    its own DCC and CMASK decompression because even though u_blitter can't do
    anything (due to blitter_running), si_blitter_end calls it too.
    
    The result is that no recursion can occur thanks to the blitter_running
    and suppress_update_ps_colorbuf0_slot flags, and FBFETCH is always
    force-disabled before those flags are set, which is the state we want
    to be in.
    
    Fixes: bc6d22b9200 ("radeonsi: fix ps_uses_fbfetch value")
    
    Acked-by: Yogesh Mohan Marimuthu <yogesh.mohanmarimuthu@amd.com>
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20318>
    (cherry picked from commit 3632d398359cce1fb666b8cf6299ba624d3ccda7)
    
  • 05125049
    by Pierre-Eric Pelloux-Prayer at 2023-01-11T17:44:23+00:00
    mesa: add missing count_scale attribute
    
    The EXT_gpu_program_parameters spec says:
    
       <params> points to an array of 4*<count> values
    
    Fixes: a4e935f2d70 ("mesa: add EXT_dsa + EXT_gpu_program_parameters functions")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7943
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8025
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20603>
    (cherry picked from commit 37dcd183310b45283f9096ca350edb7f53d7b243)
    
  • 936c86f5
    by Pierre-Eric Pelloux-Prayer at 2023-01-11T17:44:23+00:00
    mesa: add missing count_scale attributes
    
    The EXT_gpu_program_parameters spec says:
    
       <params> points to an array of 4*<count> values
    
    for both functions.
    
    Cc: mesa-stable
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20603>
    (cherry picked from commit 1ab80eb061b872ae3707c347ea52d7b57cfe4c18)
    
  • 5b0971c6
    by Mike Blumenkrantz at 2023-01-11T17:44:23+00:00
    zink: set surface->dt when updating swapchain
    
    this otherwise re-creates swapchain surfaces on every frame and has
    a significant perf hit for no reason
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20613>
    (cherry picked from commit b2739c9f00557347008dfc500dcc584abb81378b)
    
  • 4c8bca5a
    by Iago Toral Quiroga at 2023-01-11T17:44:23+00:00
    v3dv: fix alpha-to-one for single sample setup
    
    In Vulkan this is expected to work with single sample scenarios too.
    
    Fixes new test in CTS main:
    dEQP-VK.pipeline.monolithic.multisample.alpha_to_one.samples_1
    
    cc: mesa-stable
    
    Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20634>
    (cherry picked from commit 09782e5e6d5cc0a44b907544f55bdaebbb4feb84)
    
  • 56c1c201
    by Eric Engestrom at 2023-01-11T17:45:05+00:00
    docs: add release notes for 22.3.3
    
  • 08341a7b
    by Eric Engestrom at 2023-01-11T17:46:41+00:00
    VERSION: bump for 22.3.3
    
  • c8d7a846
    by Timo Aaltonen at 2023-01-12T16:00:50+02:00
    Merge branch 'upstream-unstable' into debian-unstable
    
  • ba1cea3e
    by Timo Aaltonen at 2023-01-13T09:15:11+02:00
    version bump
    
  • b2e96c0f
    by Timo Aaltonen at 2023-01-13T10:23:44+02:00
    release to sid
    

12 changed files:

The diff was not included because it is too large.

Reply to: