Git log: commit 3ec430a28962b1d2121280801bf47464c9927769
Author: Timo Aaltonen <tjaalton@debian.org>
Date: Mon Mar 13 09:37:54 2023 +0200
version bump
commit acd8f516e511be1d6827c7cf03239c39535d7d9c
Merge: 9ea39a0f99 127b1f0b06
Author: Timo Aaltonen <tjaalton@debian.org>
Date: Mon Mar 13 09:37:24 2023 +0200
Merge branch 'upstream-unstable' into debian-unstable
commit 127b1f0b06d1a3d147bab979f59866f7fcdae964
Author: Eric Engestrom <eric@engestrom.ch>
Date: Wed Mar 8 18:37:09 2023 +0000
VERSION: bump for 22.3.7
commit 3dbe6c6daf2ce7fa44116bba867bcbea68768fe0
Author: Eric Engestrom <eric@engestrom.ch>
Date: Wed Mar 8 18:33:45 2023 +0000
docs: add release notes for 22.3.7
commit acb42bea9c22eee0f51e76f113884725539f67cb
Author: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Date: Mon Mar 6 19:06:17 2023 +0100
radv: disable DCC with signedness reinterpretation on GFX11
All formats should be compatible on GFX11 but for some weird reasons
DCC with signedness reinterpretation doesn't work as expected, like
R8_UINT<->R8_SINT. Note that RadeonSI also has issues with this.
This might be a hardware bug on RDNA3.
This fixes DCC issues with Cyberpunk and A Plague Tale: Requiem.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8020
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8371
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21755>
(cherry picked from commit e6735409eefaec52ef78acecd3f3e7c310c63887)
commit 8292375d11c536ba29a36ace63923b36a3f02c94
Author: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Date: Tue Mar 7 13:21:55 2023 +0100
radv: fix defining RADV_USE_WSI_PLATFORM
RADV_USE_WSI_PLATFORM was unused in radv_CreateImage().
Fixes: 2a5d7f4926c ("radv: fix missing implementation of creating images from swapchains")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21763>
(cherry picked from commit c87c34bbba3b0d0890c050d34f4b7165b29b7326)
commit 15a2c3d198e45b3424e35933cbfeb6ba79751f80
Author: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Date: Thu Feb 23 09:50:17 2023 +0100
radv: fix border color swizzle for stencil-only format on GFX9+
Swizzle of 8-bit stencil format is defined as _x__ but the hw expects
BC_SWIZZLE_XYZW.
Fixes dEQP-VK.pipeline.monolithic.sampler.border_swizzle.*s8_uint*.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21482>
(cherry picked from commit 7b2086d741920ec302d0e8830242f4555948583b)
commit 0ffe21ae02956dc9a1031b06f239dd9ec5a4ecb1
Author: Yogesh Mohan Marimuthu <yogesh.mohanmarimuthu@amd.com>
Date: Tue Feb 28 20:18:17 2023 +0530
ac/surface: only adjust pitch if surf_pitch was modified
Modifying pitch for all LINEAR surface isn't correct;
the original change that modified surf_pitch was only
intended for YUV textures.
This fixes vkGetImageSubresourceLayout rowPitch return value
for VK_FORMAT_BC3_UNORM_BLOCK + VK_IMAGE_TILING_LINEAR.
Fixes: fcc499d5 (ac/surface: adjust gfx9.pitch[*] based on surf->blk_w)
v2: add check for UYVY format (Pierre-Eric)
v3: move blk_w division to above if check (Pierre-Eric)
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21595>
(cherry picked from commit 347a5b79f974a99874e12ad1806850295995c823)
commit 371926246b597f7d8541cb4b7426788992b8aa45
Author: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Date: Thu Mar 2 10:24:37 2023 +0100
radv: fix incorrect stride for primitives generated query with GDS
When the query pool uses GDS (for NGG), the stride is 40.
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8412
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21650>
(cherry picked from commit c119b19f98dcaccb8802fb14f24b4f9b7574fceb)
commit 58f6de78bdbe9817068b284ddef0d95f1cf8fb85
Author: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Date: Sun Mar 5 23:12:36 2023 +0200
nir: fix nir_ishl_imm
Both GLSL & SPIRV have undefined values for shift > bitsize. But SM5
says :
"This instruction performs a component-wise shift of each 32-bit
value in src0 left by an unsigned integer bit count provided by
the LSB 5 bits (0-31 range) in src1, inserting 0."
Better to not hard code the wrong behavior in NIR.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: e227bb9fd5 ("nir/builder: add ishl_imm helper")
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@colllabora.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21720>
(cherry picked from commit a278eeb71974a89b6dd7c0fa3dbfe97183aeb657)
commit d8e120afdc7e69a5c9f412bc7cf1e66b2f732da6
Author: Karol Herbst <kherbst@redhat.com>
Date: Tue Feb 28 19:50:05 2023 +0100
rusticl/kernel: Images arg sizes also have to match the host pointer size
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8267
Fixes: b0d698c5328 ("rusticl: correctly check global argument size")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21604>
(cherry picked from commit 4c24ff0a3417c47fad64b587625b88c9d1fc1fd3)
commit c52cb739c0bee28cd9c74b456c31368467183d36
Author: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Date: Tue Feb 28 16:05:08 2023 -0500
zink: propagate valid_buffer_range when replacing buffer storage
this is otherwise unreliable
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21739>
(cherry picked from commit a4b1ae1f03c422957cb16a6c57cec5e9f90eab95)
commit ce2dba376a7760a923e106d1fe1588c051dcb33f
Author: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Date: Wed Feb 15 14:34:23 2023 -0500
zink: fix descriptor update flagging on null ssbo set
this could unset the update flag if the last ssbo was null, which would
be a bug if it could ever be triggered
found by inspection
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21739>
(cherry picked from commit 7145ccfa0596a2c4adb707f657161fe3ba5e09af)
commit bd0217cace3f0cd715fb7e4a64c0316a498a1165
Author: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Date: Mon Mar 6 08:25:00 2023 -0500
zink: only add deferred barrier on fb unbind when layout needs to change
this otherwise may have been a surface that was never drawn to or
already had its layout corrected, in which case a deferred barrier
is not only unnecessary, it might be broken
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21739>
(cherry picked from commit e0dfe058c4c86e23569d82adc75369d5930d8a1a)
commit 4585f21de47af5e2b1a018a052ac0aaf5f1f3ac5
Author: Sam Edwards <cfsworks@gmail.com>
Date: Tue Feb 28 22:46:30 2023 +0000
nouveau: Fix null dereference in nouveau_pushbuf_destroy
This may happen if the Nouveau device fails to initialize before
the pushbuf is set up; the abort logic will call this either way.
Signed-off-by: Sam Edwards <CFSworks@gmail.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21611>
(cherry picked from commit 9de997bde67df43a9e10a05f9b48419ee4cfec25)
commit 64d830c0abc52917b5e46569a0a4ec1786a292f8
Author: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Date: Mon Mar 6 07:18:24 2023 -0500
zink: unbind fb on context destroy
this ensures that batch refs are added for fb surfaces on unbind, which
prevents stale batch tracking from persisting on resources
after the context is destroyed
fixes:
*EGL.functional.render.multi_context*
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21727>
(cherry picked from commit 62f1a8a3a62efb8370dc51a20244ab23bc60a3b8)
commit e94375f2deec179fa15ff422846b74d3fbf8957e
Author: Ruijing Dong <ruijing.dong@amd.com>
Date: Tue Feb 28 21:14:37 2023 -0500
raseonsi/vcn: fix a h264 decoding issue
reason:
some h264 streams have some strange pictures, from
vaapi input these pictures don't have a reference frame,
however, they are not intra only pictures, in MB layer
these pictures are looking for some references, if they
cannot find it. It could cause PF.
when reference pictures exist, it will need to set used_for
reference_flags, therefore if that is set, however the
number of reference frames is zero, which is odd, it
should be avoided.
solution:
In the above case, to scan the ref list so that it will
make at least one reference available to avoid crash, since
this is not accurate enough, it could cause some artifacts.
And in that case, it will need to be checked individually
for another solution.
closes: https://gitlab.freedesktop.org/drm/amd/-/issues/1462
closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8401
Cc: mesa-stable
Tested-by: llyyr <llyyr.public@gmail.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21732>
(cherry picked from commit 0f3370eede23284c09abdaa46714d7c4c795ecd4)
commit 9bdc25490b95bfd79e4d1775ef24b8f3e011b268
Author: Eric Engestrom <eric@engestrom.ch>
Date: Tue Mar 7 19:24:30 2023 +0000
.pick_status.json: Mark bb796f70a144e9c88ab46e6fb08be5895ca7a689 as denominated
commit 27aa0a3d76b5e9c70fd1ab05f73a583b3d5ffbe5
Author: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Date: Sun Feb 26 10:47:02 2023 -0500
zink: fix zink_resource_access_is_write()
this was accurately returning whether the access had only write flags,
but it was incorrectly returning false for READ|WRITE
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21583>
(cherry picked from commit 5be506c16ece8c62b84e21a625db9d36bc489982)
commit 21680b8f0d31ac04b944b05786c18c523f7c33f1
Author: Gert Wollny <gert.wollny@collabora.com>
Date: Fri Mar 3 12:16:40 2023 +0100
r600/sfn: Fix atomic lowering
Fixes: 56dedf052f4af1903a0d312eb9c7721c69f36c69
r600/sfn: add r600 specific lowering pass for atomics and use it
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21684>
(cherry picked from commit 9b09f244f071c67bceca40695ca72518fb370581)
commit 742628dc2497c3a3c99cd3cb2f7cb9863f6dd60c
Author: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Date: Thu Jan 5 15:31:39 2023 +0200
anv: fix incorrect parameter
cmd_buffer_update_dirty_vbs_for_gfx8_vb_flush takes a value RANDOM/SEQUENTIAL. Not a boolean.
Fortunately this worked okay because true == RANDOM
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20497>
(cherry picked from commit 4246a519f3b900fa64b722f76d0808ca899d668e)
commit 6693d9bf26e42f628a5f90478ae7d76fbc97b5fc
Author: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Date: Thu Mar 2 18:44:45 2023 +0200
anv: pull Wa_14016118574 out of some loop not changing state
The WA is meant to be here to apply some state that is not propagated
properly inside the HW. But if you have a loop like :
for ( ... ) {
emit(3DPRIMITIVE, some param);
}
You're not really changing any state, just push more draws into the
pipeline.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: f2645229c2 ("anv: implement Wa_14016118574")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21660>
(cherry picked from commit 6ee7a2ecfa11ba77af79583b529696de643af165)
commit 3c705ffac9c8b2c085e56118009bfdfeeb5933c1
Author: Marek Olšák <marek.olsak@amd.com>
Date: Tue Feb 21 11:33:13 2023 -0500
radeonsi: don't merge SET_* packets that have a different index in si_pm4_state
Oops.
Fixes: c8e2c6faf64 ("radeonsi: use SET_SH_REG_INDEX with index=3 for registers containing CU_EN")
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21641>
(cherry picked from commit 3a26d2b1a7f81ae719037cd734ac776a3c6ab65b)
commit 6cc56aa7df08aafb352d21bec71bebfa8a533e9f
Author: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Date: Wed Mar 1 09:37:29 2023 +0100
radv: fix DCC decompress on GFX11
The hardware requires one color output to be set by CB registers,
otherwise the DCC decompression does nothing.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8127
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8175
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8370
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21629>
(cherry picked from commit 4ec6850210d1a8ff2549df7800f414bc9b604edb)
commit 806f5706e9cedabb4ab501c9252efb3109d8c4a0
Author: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Date: Wed Mar 1 09:03:45 2023 -0500
zink: disable queries for clear_texture()
this otherwise can do weird things
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21628>
(cherry picked from commit f7d1fff23fc6c316f591a4e934079dd707b1a996)
commit 3215dd37b9a7d71a3fcbeca797a41f8da2af8377
Author: Yogesh Mohan Marimuthu <yogesh.mohanmarimuthu@amd.com>
Date: Sat Mar 4 10:39:15 2023 +0530
wsi/display: check alloc failure in wsi_display_alloc_connector()
vulkancts test dEQP-VK.wsi.direct_drm.surface.create_simulate_oom is failing
because in wsi_display_alloc_connector() function memory allocation for
connector is not checked for return NULL. create_simulate_oom test simulates
out of memory, hence memory allocation fails for connector and later when
tried to dereference connector program will segfault.
This patch fixes the dEQP-VK.wsi.direct_drm.surface.create_simulate_oom test
segfault issue by checking if connector is NULL afer memory allocation.
Cc: mesa-stable
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21701>
(cherry picked from commit af953616a10ad8b122b1d3906b855c0a5f9fbfa7)
commit ca25ff5d50dead6d1f151bfd77a06afa45f6deff
Author: Sil Vilerino <sivileri@microsoft.com>
Date: Fri Mar 3 13:00:57 2023 -0500
d3d12: VP9 Decode - Fix use_prev_in_find_mvs_refs calculation
Fixes: c8e8ce83 ("d3d12: Add VP9 Decode support")
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21694>
(cherry picked from commit fb82371558a5f8c0293079e2de292e7723c90915)
commit 488db14f21bc91d75b46a682ddc9fd741fed7ee8
Author: Sil Vilerino <sivileri@microsoft.com>
Date: Fri Mar 3 13:00:25 2023 -0500
frontend/va: Keep track of some VP9 previous frame data for current frame use_prev_in_find_mvs_refs
Fixes: c8e8ce83 ("d3d12: Add VP9 Decode support")
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21694>
(cherry picked from commit 6fea823dc0a3accfc6e0cdae26ac88a08b806c61)
commit b8a0400d6a2e8b771af149f45061fd09f8af2ab8
Author: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Date: Mon Jan 2 18:48:37 2023 +0200
anv: remove pre hasvk split assert
With softpin we should not always expect a BO in addresses.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20497>
(cherry picked from commit f5dc88910f4345260ca3b491d66c3fc0cd0fb452)
commit a9c1e40120934fe45622bbf9b25465076019226a
Author: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Date: Thu Mar 2 18:35:01 2023 +0200
anv: fixup condition for Wa_14016118574
We don't want the WA to kick-in if it's not point/line topology.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: f2645229c2 ("anv: implement Wa_14016118574")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21660>
(cherry picked from commit d82e8e01c8b570a4988bd6e46d9510f3b6872aa4)
commit 0b388d97dafdc854bb27a2c063b3bc2327fac9ec
Author: Väinö Mäkelä <vaino.o.makela@gmail.com>
Date: Tue Feb 21 14:39:21 2023 +0200
hasvk: Disable non-zero fast clears for 8xMSAA images
Using texelFetch to read samples from an 8xMSAA fast cleared image on
Haswell can read transparent black pixels around triangles from where
there should be none. This issue isn't present when using sample
shading, resolving the image using vkCmdResolveImage or in a copy the
image. The easiest way to fix this is by just disabling non-zero fast
clears for 8xMSAA images.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7587
Cc: mesa-stable
Reviewed-by: Filip Gawin <filip@gawin.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21444>
(cherry picked from commit e509afacf3fb277f944f6d4ebf9d88d4a27c6df6)
commit 4a106e32cc8c173a4b6ee8418594d4dafddb3866
Author: Tatsuyuki Ishi <ishitatsuyuki@gmail.com>
Date: Tue Feb 28 15:29:56 2023 +0900
radv: SDMA v4 size field is size - 1
After cross-checking with kernel and the old buffer copy code, it seems
that the size field should be size - 1 instead.
Fixes: 7b5ab48c40b ("radv: partial sdma support")
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21585>
(cherry picked from commit e9a55b332a3fb5acfc551f10f30f7d0961e85f27)
commit ed7cb614cd9805a020616941c5d5137c6aaa52a0
Author: Tatsuyuki Ishi <ishitatsuyuki@gmail.com>
Date: Tue Feb 28 15:29:34 2023 +0900
radeonsi: SDMA v4 size field is size - 1
After cross-checking with kernel and the old buffer copy code, it seems
that the size field should be size - 1 instead.
Fixes: 46c95047bd7 ("radeonsi: implement si_sdma_copy_image for gfx7+")
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21585>
(cherry picked from commit 4f50497a96808e08243a38ff34e78a2186168425)
commit 292b004ba56424b4d0d6d288dffc045cbc057924
Author: Eric Engestrom <eric@engestrom.ch>
Date: Mon Mar 6 17:37:38 2023 +0000
.pick_status.json: Mark 646cff13bca8a92b846984d782ef00e57d34d7a1 as denominated
commit 7aa1f07ddcf2f8f15bd8e58a509c0209c2e943ed
Author: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Date: Wed Mar 1 15:06:28 2023 +0100
amd,ac/rgp: fix SQTT memory types
This crashed on Steam Deck because the memory type is LPDDR5 and it
wasn't not handled in the switch. It seems the kernel changed the
memory type returned for VanGogh because it used to work.
Fixes: aef7ea868fe ("ac/gpu_info: handle LPDDR4 and 5 in ac_memory_ops_per_clock")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21627>
(cherry picked from commit f19fccd9f8c368336a60ecfe94d3ef9565bc26dc)
commit d85d54db75324356356b8d5acc5619d935fd1f1a
Author: Yiwei Zhang <zzyiwei@chromium.org>
Date: Tue Feb 28 19:36:01 2023 -0800
venus: fix VK_EXT_image_view_min_lod feature query
Fixes: 8b810985196 ("venus: enable VK_EXT_image_view_min_lod")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21617>
(cherry picked from commit 054a83492df63ad8404590eae36e949b8df04852)
commit 2c2dc4ddd96b1c851bb78c71fe7e65b9b4cd3187
Author: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Date: Tue Feb 28 12:20:53 2023 +0200
genxml: fix border color offset field on Gfx12+
I wonder if the docs are correct for Gfx11 because this is the
generation that gave us the Bindless Sampler Heap of 4Gb. So it would
make sense that the border colors can also be placed anywhere in that
4Gb heap.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21600>
(cherry picked from commit 42e8a2c1d6ba3cae31c9829e94b2d3c48c40ab7d)
commit 8f32bba18a724a012f28a4e9db4dc117be7304db
Author: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Date: Wed Dec 7 15:17:27 2022 +0200
genxml: Fix STATE_BASE_ADDRESS::BindlessSurfaceStateSize field size
BSpec 44507
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21600>
(cherry picked from commit 58b687d77b2f28e1b1159bcefefb2717554c7e3d)
commit 4b3a2e2475815f204d5fc568b09cdcf00a03820f
Author: Dave Airlie <airlied@redhat.com>
Date: Wed Mar 1 04:17:22 2023 +1000
llvmpipe: fix compute address bits to return native pointer size.
On 32-bit systems llvm will only be dealing with 32-bit ptrs
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21601>
(cherry picked from commit 53dda476a9e33503432b1f2d0b7da814377bb848)
commit bc594a5a916385e32b23f5a6067a4a2c8487deba
Author: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Date: Wed Feb 22 17:56:03 2023 +0100
radv: fix draw calls with 0-sized index buffers and robustness on NAVI10
The correct workaround is to bind an internal index buffer to handle
robustness2 correctly.
Fixes dEQP-VK.robustness.index_access.* in CTS 1.3.5.0 on NAVI10.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21471>
(cherry picked from commit c356f1b4edc942f8c62125d01b7ddb886b72bbb7)
commit 283143c14321a527e9079c8094dadfd2f39c3fec
Author: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Date: Mon Feb 27 10:49:16 2023 +0100
radv: fix flushing non-coherent images in EndCommandBuffer()
The condition was inverted.
This doesn't fix anything known.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21549>
(cherry picked from commit 7c62f6fa01d7c0d9d7eabec1c545950af20d0c92)
commit e4ffd343abc3c266122cc26e1e3624e940cfd4d9
Author: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Date: Mon Feb 27 10:45:08 2023 +0100
radv: fix flushing non-coherent images inside secondaries on GFX9+
Fixes
dEQP-VK.draw.dynamic_rendering.complete_secondary_cmd_buff.multi_draw.mosaic.*
on VEGA10 (related to the use of HTILE).
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21549>
(cherry picked from commit 6750a9094f632567534a2cbdd71ff23944647667)
commit c18f920e5d0828987cde9d6949bf9c767387a589
Author: Eric Engestrom <eric@igalia.com>
Date: Mon Feb 27 16:50:50 2023 +0000
glapi/meson: drop duplicate line in deps
Fixes: 0842bc879b34414de54b ("meson: wire the new generator for es1 and es2")
Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21562>
(cherry picked from commit c9f3ba987fee21819a891ba588ba2dd84dab580e)
commit 55b6c88d4d0146c80c25272564ceaa84fafe7eed
Author: Dylan Baker <dylan.c.baker@intel.com>
Date: Thu Feb 23 09:50:33 2023 -0800
util: rzalloc and free hash_table_u64
Otherwise we're prone to leaking the table itself, since it's not freed
in the destroy function
CID: 1516552
fixes: 6649b840c34016b4753e69d4513a8d09da9febb2
("mesa/util: add a hash table wrapper which support 64-bit keys")
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21499>
(cherry picked from commit ff494361bee7506db701cb861073ab194ae3a6e9)
commit 57be6f6ef268fd31f2629b379c5dcb428e8ee6da
Author: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Date: Thu Feb 23 08:20:08 2023 -0500
zink: remove suspended queries from list before resuming
this avoids double-starting primgen queries from recursion when
needs_rast_discard_workaround is true
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21534>
(cherry picked from commit 96f7fe71913707886cd779e9b35f6067a32b55e5)
commit 5d43c6e14052b513b56f282a0090e06fb7919bcf
Author: Caio Oliveira <caio.oliveira@intel.com>
Date: Sun Feb 26 20:59:05 2023 -0800
gallivm: Fix handling of nir_intrinsic_scoped_barrier
A scoped barrier only has a control barrier behavior if there's
an execution scope.
Fixes: 13d900de0dcf ("llvmpipe: set nir_shader_compiler_options::use_scoped_barrier")
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3339>
(cherry picked from commit 2178a8da51fee6dc266541c468de58e66b7b0e17)
commit f4fc1e0d59b6f14275c078dc1abde95bd5e6ef40
Author: Rhys Perry <pendingchaos02@gmail.com>
Date: Thu Feb 23 17:09:40 2023 +0000
aco: always update orig_names in get_reg_phi()
No idea why this wasn't done if pc.first was a renamed temporary.
Fixes navi10 RA validation error with
dEQP-VK.binding_model.descriptor_buffer.multiple.graphics_geom_buffers1_sets3_imm_samplers
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8349
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21501>
(cherry picked from commit 75d9a4a6ce5957803963a1df2c18b34991c62506)
commit 281bf4bc7d90f6591081e564cc7c456e9548364f
Author: Eric Engestrom <eric@igalia.com>
Date: Fri Feb 24 10:57:24 2023 +0000
radv: split linker script for android since it requires different symbols
Fixes: 4956f6d0bf477568731f ("radv: Add Android module info to linker script.")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8338
Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Acked-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21518>
(cherry picked from commit 735df516e9ccbaea57f34942388e164ad04e6b02)
commit b47265ecd199d1155284a4256ecc8813516b5676
Author: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Date: Fri Feb 24 10:32:10 2023 -0500
zink: avoid adding ubo/ssbo bindings multiple times for different bitsizes
these are valid variables, but the descriptor binding needs to be unique
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21522>
(cherry picked from commit a7b98dd4be8946856da8e6fe1a33758d864b5775)
commit 0759f1b56cb59ea1863e52148eaff3764cf2806f
Author: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Date: Fri Feb 24 11:03:57 2023 -0500
zink: fix shader read access removal for barrier generation
barrier access is based on total binds per gfx/compute, not per stage
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21522>
(cherry picked from commit ddb116d75517070876155bb5e050b66eaa96fa8f)
commit 5716f6b1e8052a5b86fbc644768e95d27564247e
Author: Iván Briano <ivan.briano@intel.com>
Date: Thu Feb 23 14:41:54 2023 -0800
anv: stop tracking color blend state in the pipeline
Now that all color blend bits are dynamic, emit_cb_state() is doing
almost nothing and half of that is wrong.
In the case that color write enable is dynamic, at the time the pipeline
state is emitted, it sees all the color attachments as having write
disabled and stores the WriteDisabled bit for each channel.
When all dynamic state is flushed, we have the right values already but
the values recorded into the command buffer get ORed with the ones
stored in the pipeline, and so WriteDisabled tag along when they
shouldn't.
Since all disabled color attachments are handled already when dynamic
state is flushed, there's no point in doing so at pipeline creation
time too. And since the only other thing done by emit_cb_state() is
writing three hardcoded values, they might as well be taken care of in
the same place as everything else.
Fixes CTS from the future:
dEQP-VK.pipeline.*.extended_dynamic_state.*.color_blend_equation_*dynamic*
dEQP-VK.pipeline.*.extended_dynamic_state.*.color_blend_all_*
Fixes: fc3fd7c69e8 (anv: dynamic color write mask)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21509>
(cherry picked from commit b71957635f1ef890cef954cf5b8493b7e62bf728)
commit d927a1f1d0debc8f6accfd96e513a73a3ef9b2af
Author: Iván Briano <ivan.briano@intel.com>
Date: Thu Feb 23 12:20:56 2023 -0800
anv: fix testing for dynamic color blend bits
Fixes: fc3fd7c69e8 (anv: dynamic color write mask)
Fixes: 9dc6bed9a10 (anv: dynamic state for logic op enable)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21509>
(cherry picked from commit dd5c6446b4f7a4f8a969ec9d932242f7c6a703eb)