Mesa (staging/21.3): 58 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Nov 10 11:05:03 UTC 2021
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d244455beb3fe067ee5a6ec5977a7b03085f955b
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Tue Nov 9 11:57:28 2021 +0100
util: Add support for clang::fallthrough.
Looks like the __attribute__ version doesn't work for C++ in the
Android build. Only found now because we don't enable
-Wimplicit-fallthrough by default project wide for C++. Only
ACO enables it.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13164>
(cherry picked from commit aad80e47d8aab52081a6f10a5b0cd01390e26f10)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5afd55152203eaaa13f449823c3eb97923cff50
Author: Emma Anholt <emma at anholt.net>
Date: Mon Oct 25 12:57:15 2021 -0700
freedreno/a6xx: Emit a null descriptor for unoccupied IBO slots.
Fixes a crash in some desktop GL testcases in piglit.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13635>
(cherry picked from commit 7b578c12497cfea2249467951e270993462ff4a9)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b65f9de76dd9844c3832683c0cd0a9441cb1bcb
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Tue Oct 26 00:27:53 2021 +0200
meson: Check arguments before adding.
-static-libstdc++ doesn't exist on the Android NDK, casuing all
later has_argument calls to return false even though the compiler
supports that argument.
Fixes: 3aee462781a "meson: add windows compiler checks and libraries"
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13164>
(cherry picked from commit 22673a980f30cf71ea1d7e3d4feb161c549d48a4)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=454fa0f29d7eb302f934c275443a7c743f15370b
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Mon Nov 8 08:50:14 2021 +0100
radv: do not expose buffer features for depth/stencil formats
The Vulkan spec got clarified recently and it's invalid (hw can support
it though). Fixes new CTS dEQP-VK.api.buffer.invalid_buffer_features.*.
Cc: 21.3 mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13701>
(cherry picked from commit ca7c748f45a9336fd22ca2c88b61ee4142821235)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=53250e8e478e057135d5a8ed2d6a4d61504fc339
Author: Jesse Natalie <jenatali at microsoft.com>
Date: Sat Aug 7 19:27:41 2021 -0700
d3d12: Fix Linux fence wait return value
zero is for success, nonzero is failure.
Fixes: 0b60d6a2 ("d3d12: Support Linux eventfds for fences")
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12268>
(cherry picked from commit accd8326c5cb78788f12e3066bb6654595c23a51)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0263fdc10bf82e2bf9ed7360b02c989e51ba0b63
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Sat Oct 30 16:57:02 2021 -0500
anv: Fix FlushMappedMemoryRanges for odd mmap offsets
When the client calls vkMapMemory(), we have to align the requested
offset down to the nearest page or else the map will fail. On platforms
where we have DRM_IOCTL_I915_GEM_MMAP_OFFSET, we always map the whole
buffer. In either case, the original map may start before the requested
offset and we need to take that into account when we clflush.
Cc: mesa-stable at lists.freedesktop.org
Reviewed-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13610>
(cherry picked from commit 90ac06e5029b9f0c702c92e97696c9cdb97b08d6)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4cd7e081d6e489786ff177ce7a77e8c33ee65d5c
Author: Connor Abbott <cwabbott0 at gmail.com>
Date: Sun Oct 31 16:01:02 2021 +0100
ir3/spill: Mark root as non-spillable after inserting
We have to mark the root as non-spillable in case the interval is the
child of some other interval, but we can't know whether it's the child
of some other interval until it's been inserted. Move the setting of
cant_spill below the insertion. This prevents us from using a bogus
parent value.
Fixes: 613eaac7b53 ("ir3: Initial support for spilling non-shared registers")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13650>
(cherry picked from commit db566904baa96c9f3c19aaac3e8e99bc0ebb4dc7)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2f8738bc29c51a4e2885fd839220996b745cbd5
Author: Eric Engestrom <eric at engestrom.ch>
Date: Sat Oct 9 11:14:55 2021 +0100
meson: drop duplicate addition of surfaceless & drm to the list of platforms
This is already done on lines 475-480, resulting in them appearing twice
in the summary.
Fixes: 47946855f19cc7d082fd ("meson: allow egl_native_platform to be specified")
Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13278>
(cherry picked from commit 9ad375bdcd3189be9672ea42268dec123ffca7fb)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=65adf1399d8bc1073768a14804d87bc50598ef5c
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date: Fri Nov 5 22:00:33 2021 +0100
radeonsi/sqtt: fix shader stage values
shader_stages_mask and others expect MESA_SHADER_* based values,
not PIPE_SHADER_*...
Without this the fragment shader wouldn't appear in the "Pipelines"
pane of RGP.
Fixes: c276bde34ae ("radeonsi/sqtt: export shader code to RGP")
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13696>
(cherry picked from commit 3de072aaecf3a99699f539d33c5f374070334078)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=314870fcea625fc019e99a83b9a1d4d85c09d6bc
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Fri Oct 22 10:52:50 2021 +0300
intel: remove 2 preproduction pci-id for ADLS
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Fixes: d399c3e861a7c4 ("intel/dev: Add device info for ADL-S")
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13476>
(cherry picked from commit 3b1a5b8f2ba15dfec24b80fcb3f005084c03289e)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac25873e2a64c42449d0f7cd1b8a5ee83694b762
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu Oct 21 15:47:18 2021 -0400
driconf: disallow 10-bit pbuffers for viewperf2020/maya due to X errors
Cc: 21.2 21.3 <mesa-stable at lists.freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13472>
(cherry picked from commit 10ee261c38cbb0c7f0637a039ac2ec3a1ca64c5b)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9569dc1f601e6a7dd0bc7e3a1dde0722f3a3a98
Author: Eric Engestrom <eric at engestrom.ch>
Date: Tue Nov 9 21:59:39 2021 +0000
.pick_status.json: Update to 17aa2be4c9c8c83470b73ea1eacacb47ab898f8e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f6278a8b4eecd621bf1539f8e95fded16c08e39
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Nov 5 11:09:34 2021 -0400
aux/trace: fix vertex state tracing
Fixes: e8cad57aa7a ("gallium/trace: add pipe_vertex_state support")
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13582>
(cherry picked from commit f57940109998ac92656e7d5509516a44b21b08fc)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=300e73668a2bb9bb7a3616328ff91f8461bcc9d0
Author: Kostiantyn Lazukin <kostiantyn.lazukin at globallogic.com>
Date: Wed Nov 3 13:23:52 2021 +0200
util/u_trace: Replace Flag with IntEnum to support python3.5
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5586
Fixes: cefaa73909718e570b36c5f8463e4b534e96201a
Signed-off-by: Kostiantyn Lazukin <kostiantyn.lazukin at globallogic.com>
Reviewed-by: Danylo Piliaiev <dpiliaiev at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13643>
(cherry picked from commit 78b613db23c10dc257247d99d8b2b1ef6c96bebb)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=45051152657837932f2c78fd96f1a39447dab292
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Fri Jun 25 11:35:10 2021 +0300
intel/devinfo: fix wrong offset computation
A bit difficult to find what commit introduced the issue because of
all the renaming, but it was my bug :)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Cc: mesa-stable
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10015>
(cherry picked from commit 349bfb72752981c9ce276147efaa65ea9d839c57)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb66eed395e4eacc4115b4cedb96e413c154950c
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Sat Apr 3 13:34:11 2021 +0300
intel/perf: fix perf equation subslice mask generation for gfx12+
v2: Fix comment change (Marcin)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Cc: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10015>
(cherry picked from commit 67619d8153249e2cc3c36ac9a28aec9ded0ca1ba)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e499b48333802b2ae4501960eeeb56fc658f11f
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Sat Apr 3 13:28:50 2021 +0300
intel/dev: fix subslice/eu total computations with some fused configurations
When a device has its first slice/subslice fused off, we can't use the
number of slices/subslices to iterate the mask array.
v2: Fix spelling (Marcin)
Use size_t for iterator (Marcin)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reported-by: Matt Roper <matthew.d.roper at intel.com>
Cc: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5601
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10015>
(cherry picked from commit a543a9440437df8d7498bc76353e828fcc66f5e5)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d406d189baa7a1c5589d75f534b2dccc792b2b05
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Sat Apr 3 13:23:55 2021 +0300
intel/dev: reuse internal functions to set mask
Rather than having 2 paths to set the slice/subslice/eu masks, reuse
the other internal functions. This simplifies finding bugs within this
code :
* If we have i915 query topology support, update_from_topology() is
called.
* If we don't have query topology support but we have getparam for
slice/subslice/EU, we generate a topology data and call
update_from_topology()
* If we have no kernel support to query any kind of topology, we
generate the values return by the kernel for slice/subslice/EU and
call update_from_masks() which in turns calls
update_from_topology()
v2: Fixup typo (Adam)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10015>
(cherry picked from commit e10c641f009b006cc4d7b5fa70be34abdd75dc0b)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4093e20cfa632e534c8efe18999461f678670e98
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Sat Apr 3 14:21:32 2021 +0300
intel/dev: don't forget to set max_eu_per_subslice in generated topology
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Cc: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10015>
(cherry picked from commit d7c6a90c26794eff623e8885f92ab27aaa0fe581)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b31097d5a8c8f2d21eea00dcb8ca15f99387b4ac
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Sat Apr 3 13:22:50 2021 +0300
intel/dev: fix HSW GT3 number of subslices in slice1
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Cc: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10015>
(cherry picked from commit d1db5d562af6cd9447bb564797d67dd27ff95024)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=71707816da9dfd2753d41d4fb91f98b817879139
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date: Tue Nov 2 14:01:06 2021 +0100
mesa: always call _mesa_update_pixel
10c75ae4 moved handling of this state to the functions that
depend on ctx->_ImageTransferState.
So we can't depend on _NEW_PIXEL being set to call this function,
since it'll be always clear earlier by _mesa_update_state_locked.
Example sequence that would trigger the issue:
glPixelTransferi(...)
glClear(...)
glTexSubImage2D(...) <-- won't use the new value set by
glPixelTransferi because glClear caused
_NEW_PIXEL to be cleared.
_NEW_PIXEL itself is kept because st_update_pixel_transfer depends
on it.
Fixes: 10c75ae4 ("mesa: move _mesa_update_pixel out of _mesa_update_state")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5273
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13596>
(cherry picked from commit 1ee3fbd703752460248958f9b7e42a855023b274)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e85bda02b83b7baafd76d8945e59f8ef5a7d9695
Author: orbea <orbea at riseup.net>
Date: Wed Nov 3 15:02:11 2021 -0700
build: add sha1_h for lp_texture.c
../mesa-9999/src/gallium/drivers/llvmpipe/lp_texture.c:55:10: fatal error: git_sha1.h: No such file or directory
Fixes: 1608a815e3305d229091 ("llvmpipe: add support for EXT_memory_object(_fd)")
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
Signed-off-by: orbea <orbea at riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13665>
(cherry picked from commit 0a6f079afe076745309c2b5cf27b39dd5f0d2f08)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3a1802af3d509330dfebd77fe85230d35488a74
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Nov 4 11:24:05 2021 -0400
zink: rework cached fbfetch descriptor fallback
this ended up being a little trickier than I thought; lazy
descriptors don't use dynamic ubo types for the push set,
which means drivers that (correctly) assert dynamic offset existence
explode because the descriptor template will never work with the
push set
the better, though slightly more annoying, option here is to use the
lazy manager's faster descriptor allocation and lesser complexity to
quickly grab a push set, then tweak the existing cached codepath slightly
in order to update a raw vkdescriptorset
Fixes: 417477f60ed ("zink: always use lazy (non-push) updating for fbfetch descriptors")
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13677>
(cherry picked from commit 8c37cd8860c997e04fd3c0a6b1d6888558844449)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1459a05696dbba4e7732f5d5564606ec85f14124
Author: Emma Anholt <emma at anholt.net>
Date: Wed Nov 3 13:29:28 2021 -0700
freedreno/ir3: Fix off-by-one in prefetch safety assert.
This looks like just a typo, we allow up to == 0xf in the lowering pass.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13668>
(cherry picked from commit 34739cb6e28c725a2ebd95d32dc6b8e90f32cace)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=af7b64bce8d3cbac1a91b0c27809e511fe10a30e
Author: Eric Engestrom <eric at engestrom.ch>
Date: Sun Nov 7 19:52:45 2021 +0000
.pick_status.json: Update to c4d904101c0d5ab76e8cef6469f2fe8ebf3c980b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ff6a9486aee9723baf87d051933f748da58d0b4
Author: Emma Anholt <emma at anholt.net>
Date: Wed Nov 3 15:59:52 2021 -0700
freedreno/a6xx: Don't try to generate mipmaps for SNORM with our blitter.
Since we're casting to unorm, the linear filtering will give bad results.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13666>
(cherry picked from commit 0e4fcda7e0df9218e1b5e63d5789099cf87fb62a)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4738301f24ef6533a0e9c74a9bf12e9d1cbdde0d
Author: Emma Anholt <emma at anholt.net>
Date: Wed Nov 3 09:51:26 2021 -0700
freedreno/a6xx: Fix partial z/s clears with sysmem.
We have to set 8c01 to say "leave these channels alone" when
clearing/storing just Z or S of z24s8. Fixes the bypass path for
KHR-GLES3.packed_depth_stencil.verify_read_pixels.depth24_stencil8.
Cc: mesa-stable
Fixes: #5592
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13659>
(cherry picked from commit f0f5b8d47ca42ba76f90f0df2bcbe9d5e9eda66c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=02379a6d1411e9053752b7c7e71615012d53c4b6
Author: Emma Anholt <emma at anholt.net>
Date: Wed Nov 3 09:19:42 2021 -0700
freedreno: Fix gmem invalidating the depth or stencil of packed d/s.
The gmem store stores both depth and stencil for z24s8. So, if we're
doing a write (clear or draw) to one or the other of the channels, we need
the other one restored as well.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13649>
(cherry picked from commit 29093bc42d20e95288cd306757e7efc928fdb366)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8daa81531db6bd926bb4a04553a297aa4bfaeee0
Author: Alejandro Piñeiro <apinheiro at igalia.com>
Date: Tue Oct 12 23:33:43 2021 +0200
v3dv/pipeline: don't clone the nir shader at pipeline_state_create_binning
At that point we didn't call all the v3dv lowerings. So the reference
nir shader used to call the v3d compiler could be different.
Note that at that point the nir shader is only available for internal
shaders (like gs multiview).
This specifically affected multiview tests that wrote gl_PointSize, as
the nir shader for the geometry shader were wrongly exposing
per_vertex_point_size as false, as we were basing our check on the
nir_shader_info, and that was gathered calling nir_shader_gather_info
at pipeline_lower_nir.
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13325>
(cherry picked from commit 19894bec1fdd85b394c71442854878db2a51ee71)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=be9d4cbfeb91d0d06a0078913270ba996e479707
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Wed Oct 20 08:36:22 2021 -0400
mesa: Require MRT support for GL3/ES3
OpenGL 3.0 requires the driver can draw to 8 simultaneous render
targets. Similarly, OpenGL ES 3.0 requires the driver can draw to 4
simultaneous render targets. Fix the version computation logic to take
this into account.
On Mali T720, we support ~all features of OpenGL ES 3.1 except we only
support a single render target. Mali T720 should advertise OpenGL 2.1
and OpenGL ES 2.0 only. With the previous logic, it incorrectly
advertised OpenGL ES 3.1.
v2: Lie about the minimum for GL 3.0 to make freedreno a3xx happy. Add
Emma's reviewed-by.
v3: Update the Mali T720 CI expectations. There are tests that pass on
GLES3 but not GLES2. Unclear if these are dEQP bugs or Mesa bugs, lima
hits the same issues. Add them to the known fails
Note to mesa-stable maintainers: this downgrades the OpenGL version
advertised on Mali T720. As such, this patch should apply to the
unreleased 21.3 (Eric) but should NOT be backported to any released Mesa
versions (21.2 or older should NOT have this patch). This is a bit of a
compromise; Emma agreed with this plan on IRC.
Reported-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Reviewed-by: Emma Anholt <emma at anholt.net> [v2]
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu> [v2]
Cc: 21.3 mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13455>
(cherry picked from commit 861a35b3bc8779c5eb1d825a99151dd5e8c023ac)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3bce454bc37f15d1596b9b804a46e30cb7256308
Author: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Date: Fri Oct 22 16:23:21 2021 +0200
ci: Let manual LAVA jobs have a longer timeout than others
So far only LAVA jobs make use of it, but I guess baremetal could be
extended to have these timeouts as well.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Reviewed-by: Emma Anholt <emma at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13441>
(cherry picked from commit 83a0bb007fd88c75d8a05896af06bf20b9f3ccd2)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f582b759af0eb00ac70f68da72fac1038b78a12
Author: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Date: Tue Oct 19 11:36:52 2021 +0200
ci: Add support for lazor Chromebooks
Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Reviewed-by: Emma Anholt <emma at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13441>
(cherry picked from commit dedc1493071550a35b7dae7091fbaf6ad93304c9)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=50ecee6b74daf50884a69f1be260de8ad4e1ebba
Author: Guilherme Gallo <guilherme.gallo at collabora.com>
Date: Wed Oct 13 13:25:08 2021 -0300
ci: Update linux kernel to v5.15
* Update Kconfig for x86_64 and ARM64. Follow the dependency tree of the
kernel modules to make sure that the intended configurations are being
set. Check scripts/merge_config.sh output as well to see if there is
a requested Kconfig not being considered.
For a630 devices:
* Use kernel version with a6xx workaround for frequency scaling
* Enable CONFIG_QCOM_LMH targeting a630 slowness on new kernel
---- Out of tree patches used ----
For a360 device:
* Revert a commit which remove slpi_region from msm8996:
8b0031f8bda2 ("Revert "arm64: msm8996: fix memory region overlap"")
Signed-off-by: Guilherme Gallo <guilherme.gallo at collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13089>
(cherry picked from commit 7fea3c6f14e96de7d611a154db601f9a6dc0df79)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5129408c7a26a2a5e9af5e9ed0f0ccbc6fcacca1
Author: Emma Anholt <emma at anholt.net>
Date: Fri Oct 8 13:17:27 2021 -0700
ci: Enable testing radeonsi's libva using libva-util unit tests.
We've noticed issues with these tests when uprevving Mesa in Chrome OS.
This CI catches some existing failures, and some debug-build assertion
failures as well.
To do this, uprev deqp-runner for its new gtest-runner command. This
runner is not as efficient as I would hope, due to some expensive code in
gtest. I've reported the issue to gtest and it should be easily fixable,
but for now it at least means we get to use the same baseline/skip/flake
handling we have from deqp and piglit runners.
I also fixed build-libdrm for our rootfses to not throw away libdrm's
share directory, which was causing a bunch of test-time spam from radeon's
libdrm when trying to look up its marketing name tables (not that big of a
deal for deqp-runner, but really noisy for piglit and libva-utils which
make gallium screens approximatly per-test).
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13419>
(cherry picked from commit 8fb850651c77c0513c04952362b82b0ad1eff953)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8717cc8896f3bd6bffe7dfac4d199bc2907deef
Author: Emma Anholt <emma at anholt.net>
Date: Mon Oct 25 10:38:27 2021 -0700
ci/piglit-runner: Merge piglit-driver-*.txt files into driver-*.txt.
The test names are definitely unique (deqp has specific prefixes, piglit
uses '@' as a separator instead of '.'), so we can just have a single file
regardless of test type. Merges the two groups of xfails together so you
can't mix up which file to edit (I certainly have), and so that we don't
need to introduce yet another set of files when we add gtest for libva.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Acked-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Acked-by: Daniel Stone <daniels at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13517>
(cherry picked from commit bfbc41a9fa8aeeae7d5a441940538a5a7bb9f027)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=04e02a6448371664432d95f07f6ac7b3faeea6d8
Author: Emma Anholt <emma at anholt.net>
Date: Mon Oct 25 10:27:10 2021 -0700
ci/deqp-runner: Rename the deqp-drivername-*.txt files to drivername-*.txt
We have two testsuites with the same format for fails/flakes/skips files,
and test names that are definitely unique. As I'm about to add a third
testsuite (gtest for libva-utils), so let's have just one file each for
fails/flakes/skips instead of one per type of testsuite. This starts the
move with just the bulk rename of deqp.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Acked-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Acked-by: Daniel Stone <daniels at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13517>
(cherry picked from commit 38dff02bfb1f237ded1e2075e560ec06b52fadcf)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8217f5e97d5d2f9e6e974713d630d6957e33b252
Author: Emma Anholt <emma at anholt.net>
Date: Thu Oct 14 14:15:18 2021 -0700
ci/piglit-runner: Fix funny indentation of the piglit-runner command.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372>
(cherry picked from commit bd81a236205e080ee2c68d6f0f7dbf82e26bcd20)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=17378c787275276166e8b5b710ff8441d5db6db7
Author: Emma Anholt <emma at anholt.net>
Date: Thu Oct 14 14:05:20 2021 -0700
ci/deqp-runner: Move more non-suite logic under the non-suite 'if'.
Changing these variables won't do anything for you otherwise.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>.
Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372>
(cherry picked from commit 440f207a1f21b5c14833e555f5c6a8cdcac6897d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=18dc0896a8431fb9306c7f6f7a95c4590ba54186
Author: Emma Anholt <emma at anholt.net>
Date: Thu Oct 14 14:02:40 2021 -0700
ci/deqp-runner: Don't start GPU hang detection for making junit results.
It's just CPU-side post-processing, not running tests.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372>
(cherry picked from commit 92748e40ef0ec0c96addaa0fd9dc9389a9d44e5d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a1cb690fd4fccdea371cac98f18975e642421a2
Author: Emma Anholt <emma at anholt.net>
Date: Thu Oct 14 13:58:32 2021 -0700
ci/deqp-runner: Drop LD_LIBRARY_PATH=/usr/local for libkms workaround.
deqp hasn't been linking against that in quite some time.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372>
(cherry picked from commit 61ca900b69521725d318587598c992188b5a2429)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e6e23a94e4d66b0b05a184d7603e6c7e3a1917e
Author: Emma Anholt <emma at anholt.net>
Date: Mon Oct 11 16:07:23 2021 -0700
ci/deqp-runner: Move remaining asan runs to --env LD_PRELOAD=
This should improve their reliability and speed a little by getting
deqp-runner off of asan. This removes the last jobs setting
TEST_LD_PRELOAD, so remove passing that variable around from other
scripts.
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372>
(cherry picked from commit 899174c210b65e15759ba398f08470464659a786)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cefaf03c2f8096f72909eabf247727066370712d
Author: Emma Anholt <emma at anholt.net>
Date: Tue Oct 12 10:37:43 2021 -0700
ci/deqp-runner: Drop silly CSV env vars.
One was unused, the other was used once.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372>
(cherry picked from commit 37c690ad1ae01dce10b0989d71ef0fb3bd913642)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ae52965ccb88872880e78e046ddf12095bea82e
Author: Emma Anholt <emma at anholt.net>
Date: Mon Oct 11 16:27:25 2021 -0700
ci/deqp-runner: Use new deqp-runner's built-in renderer/version checks.
This is prettier in the log files, less shell code, and for non-suite mode
adds checking that the driver has the right git sha1. Also, no need for
suites to have a DEQP_VER to say which dEQP we should run for the renderer
check.
The version checks can help us make sure that GL version exposed doesn't
accidentally regress, and the ".*git" checks that we're using a git
version of Mesa rather than something that snuck in through distro
packages.
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372>
(cherry picked from commit b978688df642870a2a639e267552e6e6088aa48e)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a4c2b97a1ccecbdef82d472ec1efbfd67a0feda
Author: Emma Anholt <emma at anholt.net>
Date: Mon Oct 11 16:03:47 2021 -0700
ci/deqp-runner: Simplify the --jobs argument setup.
We can use the general "how parallel should we go on this runner?" env var
and save a bunch of massaging env var names. Fixes how PIGLIT_PARALLEL
looked like it was useful but actually wasn't passed through to HW
runners.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372>
(cherry picked from commit 9ddfd297e085c7cb8b7acef9cf0d2696181ade43)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0327192b253ca94f68339ff21e496ede4a1dfb44
Author: Emma Anholt <emma at anholt.net>
Date: Mon Oct 11 16:02:50 2021 -0700
ci/deqp-runner: Drop SUMMARY_LIMIT env var.
Nobody uses it any more, and you could just put it in DEQP_OPTIONS.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372>
(cherry picked from commit 59f3a8e6b4b0427918c36451542197c5d4c24bc7)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=90da2a2132103ae9fa5c79ddcd57d368613047df
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Mon Nov 1 12:48:39 2021 -0400
aux/primconvert: handle singular incomplete restarts
if no restart indices are found, this draw must be discarded to avoid
crashing later on
Fixes: 583070748cb ("util/primconvert: handle rewriting of prim-restart draws with unsupported primtype")
Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13630>
(cherry picked from commit bc345281ab95313c2e34fffbd993bd1fbfc016be)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8794b65263e93b130b1ae66e85ed37917aa67d4a
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sat Oct 30 11:43:42 2021 -0400
radeonsi: fix a typo preventing a fast depth-stencil clear
Fixes: 9defe8aca953b69615728c8 - radeonsi: implement fast Z/S clears using clear_buffer on HTILE
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13603>
(cherry picked from commit 74adf22a0aeeaf5f63748394d2da0337b04b1526)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=99c9bbfb3828714b6da030cac40ed16224ace3c9
Author: Marek Olšák <marek.olsak at amd.com>
Date: Fri Oct 29 13:27:54 2021 -0400
radeonsi: fix 2 issues with depth_cleared_level_mask
- Unset depth_cleared_level_mask for non-clear blits. Set the flag after
the clear, so that we don't have to check blitter_running.
- Set depth_cleared_level_mask only when we set depth_clear_value.
Fixes: ff8a930cf7de6aa7 - radeonsi: add _once suffix to depth_cleared_level_mask
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13603>
(cherry picked from commit 5d3aea49b806322393c3275d550f4e4eaef3cca3)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0216d0fe32525f4adad8622d0e5c6d275ee81fb
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Mon Nov 1 10:44:59 2021 -0400
zink: clamp PIPE_SHADER_CAP_MAX_INPUTS for xfb
vertex shader stages that can produce xfb must have
their input size clamped to the compiler define MAX_VARYING
to successfully be able to export an xfb output for each input
fixes KHR-GL46.geometry_shader.limits.max_input_components
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13632>
(cherry picked from commit 5d1b81d8ac9cab3f9213b7d19ac2f3035cf60a3c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=da759c47d61a1ac3d9fe2a6a6878654cca5c4e74
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date: Mon Oct 4 11:18:47 2021 +0200
vbo/dlist: free copied.buffer if no vertices were copied
Other parts of the code asserts that copied.buffer is NULL if there are
no vertices to copy.
Cc: mesa-stable
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13246>
(cherry picked from commit 9b09655a587f03b4096df0a4314e98a267816cfa)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2185245f6427c2520c652c64599b7fec0958cf8e
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date: Wed Nov 3 15:26:21 2021 +0100
ac/surface: don't validate DCC settings if DCC isn't possible
Cc: mesa-stable
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13550>
(cherry picked from commit dbf602a6b39833c4cdc4b6769ec40ab384fd8bcb)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=43266af258affd1aba621a5cf2fb245206a13614
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date: Thu Oct 28 11:56:01 2021 +0200
radeonsi/sdma: fix bogus assert
src can use dcc even for non sdma v5 variants because si_decompress_dcc
is called in si_sdma_copy_image.
Fixes: 46c95047bd7 ("radeonsi: implement si_sdma_copy_image for gfx7+")
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13550>
(cherry picked from commit d86d602ed0c75c30840ca6bac98556ffa99304ea)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ed2c02b7d8d908ed4156ecdafb11873fcb86786
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date: Wed Oct 27 14:44:54 2021 +0200
radeonsi: treat nir_intrinsic_load_constant as a VMEM operation
This is used by variable indexing of constant arrays, to build
code like this:
s_add_u32 s6, s6, const_data at rel32@lo+4
s_addc_u32 s7, s7, const_data at rel32@hi+12
[...]
global_load_dword v4, v4, s[6:7
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5118
Fixes: 8288882965b ("radeonsi: set MEM_ORDERED optimally")
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13550>
(cherry picked from commit dc56301f78494bea67f0c57d5aa77fef42bfe455)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec19d8abd4b9fad404ebbdd472bcea0050ba39de
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Wed Nov 3 15:03:30 2021 -0400
zink: always use lazy (non-push) updating for fbfetch descriptors
fbfetch descriptors are uncacheable due to having mixed descriptor types
in the same set, so this needs to always use lazy updating to avoid
exploding the cache and crashing
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13654>
(cherry picked from commit 417477f60ede0fab0a5a601c872731fc9c612da1)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=56770998f3ef6a22c0969b17fd18675b1eabdf60
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Wed Nov 3 15:03:59 2021 -0400
zink: set fbfetch state on lazy batch data when enabling it
this avoids creating new descriptor pools on every update
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13654>
(cherry picked from commit 2c54ad8f3dae152d1b3e7353313e9b65aca8c6d3)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=42c1bc5d1795062c7fedd2234ffa204b1e0e966c
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Wed Nov 3 15:53:45 2021 -0400
build: add sha1_h to llvmpipe build
cc: mesa-stable
fixes #5588
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13658>
(cherry picked from commit 7c8fee6049b906cfb7b56cfab3e1c70815f0b092)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d56d2e1bba2b0572da78399ff58c9cd7c1068a2
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Oct 29 11:06:34 2021 -0400
zink: add queue locking
sparse binds have to be processed synchronously with cmdbuf recording to
avoid resource object desync in the vk driver, which means they have to be
done in the driver thread instead of the flush thread. this necessitates
adding locking for the queue since there is now a case when submissions occur
in a different thread
fixes illegal multithread usage in KHR-GL46.CommonBugs.CommonBug_SparseBuffersWithCopyOps
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13597>
(cherry picked from commit 3137ff47095e9c28e0b27c72acab52301b87f99d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=664da1dcd3b7b74e31788556dd1c6ffb048069a9
Author: Eric Engestrom <eric at engestrom.ch>
Date: Thu Nov 4 22:44:30 2021 +0000
.pick_status.json: Update to 8fc6a11f0e446c429e1215db954db64fd34c918b
More information about the mesa-commit
mailing list