URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=82586b983e552ec789753afecb4cfb5a3a26ded3
Author: Boris Brezillon <[email protected]>
Date: Wed May 19 10:56:49 2021 +0200
pan/blit: Fix a NULL dereference in the preload path
The ZS view can be NULL if a stencil-only buffer is attached to the FB.
Fixes: 1de393fec539 ("panfrost: Fix ZS reloading on Bifrost v6")
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Tomeu Vizoso <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12095>
(cherry picked from commit 9f4dab0f2d370f0d3768e0951fa2871b0bdd131b)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7508037584889b3e7062c22e051c6b366b4d7588
Author: Timur Kristóf <[email protected]>
Date: Fri Sep 3 13:05:47 2021 +0200
nir: Exclude non-generic patch variables from get_variable_io_mask.
These are I/O variables which are not going to be removed anyway.
However, get_variable_io_mask handles their location incorrectly.
Found using the GCC undefined behavior sanitizer.
Fixes the following error:
runtime error:
shift exponent 4294967258 is too large
for 64-bit type 'long unsigned int'
Closes: #5319
Fixes: cf5f8f55c3e25508fb975b263d6430a93442247a
Signed-off-by: Timur Kristóf <[email protected]>
Reviewed-by: Rhys Perry <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12719>
(cherry picked from commit 872d21820fc0bd81e5e081847547b0102215f4fe)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=70fb12700552dd690d704e270362bf44d32b6774
Author: Timur Kristóf <[email protected]>
Date: Fri Sep 3 12:21:47 2021 +0200
ac/nir: Fix match_mask to work correctly for VS outputs.
match_mask checks the intrinsic type and decides whether it's
per-patch or not. VS don't have per-patch outputs,
so this causes wrong behaviour there.
Found using the GCC undefined behavior sanitizer.
Fixes the following error:
runtime error:
shift exponent 18446744073709551584 is too large
for 64-bit type 'long unsigned int'
Closes: #5319
Fixes: bf966d1c1dd968116b8b547ca2739f5113caccb5
Signed-off-by: Timur Kristóf <[email protected]>
Reviewed-by: Rhys Perry <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12719>
(cherry picked from commit 13e467a147dd4f33ae223dded226d85dc24c1a87)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e519df28cba4544b8955d4529fca5e124715103e
Author: Zachary Michaels <[email protected]>
Date: Wed Sep 8 16:34:17 2021 -0700
X11: Ensure that VK_SUBOPTIMAL_KHR propagates to user code
Commit 0245b825 switched from returning the error code
VK_ERROR_OUT_OF_DATE_KHR
to returning the success code VK_SUBOPTIMAL_KHR. Prior to that commit, the
error
code caused all code paths to fail immediately, but the success code does
not.
Currently the success code is not recorded in some scenarios, resulting in a
result of VK_SUCCESS instead. This breaks applications that rely on the
result (per the spec) to trigger resizes.
This commit ensures that the proper VK_SUBOPTIMAL_KHR success code is set
as a
sticky status (as comments indicate was intended), ensuring that it is
propagated to user code.
Fixes #5331
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Daniel Stone <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12782>
(cherry picked from commit fc5ea6a05437d729b22f37a4e96d4ca5354cd372)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=00d88f4645eb1dc073dcdd9635c50eaf7171328f
Author: Italo Nicola <[email protected]>
Date: Mon Sep 20 07:18:56 2021 +0000
panfrost: fix null deref when no color buffer is attached
Do not dereference color buffer #0 in the SFBD code path if no color buffer
is
attached, as with depth-only attachments. Fixes a crash running glmark2 -b
shadow on Mali T720.
Signed-off-by: Italo Nicola <[email protected]>
Fixes: c746747cb82 ("panfrost: fix GL_EXT_multisampled_render_to_texture
regression")
Reviewed-by: Boris Brezillon <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12927>
(cherry picked from commit 7682a5de0449658f17bdcf4e591df523208528df)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=340a2ca2349512942c9f0b1f4a03fef02d9cf9ed
Author: Boris Brezillon <[email protected]>
Date: Mon Sep 20 11:53:23 2021 +0200
panfrost: RGB332_UNORM is not a valid texture format on v6+
Cc: mesa-stable
Fixes: c6bdd976e611 ("panfrost: Split out v6/v7 format tables")
Signed-off-by: Boris Brezillon <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12508>
(cherry picked from commit 8805509fff8811b906c112e6b3e78101eb205bc1)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=eeb37a2ef9d5d708a149145ce21c7c5f0dbf4b1c
Author: Boris Brezillon <[email protected]>
Date: Tue Sep 7 11:16:50 2021 +0200
panfrost: RGB10_A2_SNORM is not a valid texture format on v6+
Cc: mesa-stable
Fixes: c6bdd976e611 ("panfrost: Split out v6/v7 format tables")
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12508>
(cherry picked from commit bab84c62d5ac00d6a3b0209995cc2fd6cea68313)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e5becfd370e873d1c1c9f21145982874d37e69a
Author: Tapani Pälli <[email protected]>
Date: Thu Sep 16 08:48:52 2021 +0300
mesa: fix timestamp enum with EXT_disjoint_timer_query
Extension implementation missed GL_TIMESTAMP_EXT for Get* functions,
commit 5d58fea660c added GetInteger64vEXT support but obviously we need
to support the enum as well ...
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5361
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12890>
(cherry picked from commit 1a6c01a61b1cced6b11465fe1178e6ead0b88362)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab996bc0f751e514d550e422549b7b21bc18a431
Author: Rob Clark <[email protected]>
Date: Wed Sep 15 15:16:48 2021 -0700
freedreno/drm: Don't return shared/control bo's to cache
They can never be allocated from the cache, as fd_bo_state() would
return FD_BO_STATE_UNKNOWN
Fixes: 7dabd624649 ("freedreno/drm: Userspace fences")
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11176>
(cherry picked from commit 21fcb2657f27e1a73059b026c10064d9c0970933)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6008fce04a523664f32c96280171184ea6315226
Author: Marek Vasut <[email protected]>
Date: Thu Sep 16 00:31:44 2021 +0200
freedreno: Handle timeout == PIPE_TIMEOUT_INFINITE and rollover
The fd_fence_finish() may be passed a special timeout value
PIPE_TIMEOUT_INFINITE.
This gets propagated all the way to get_abs_timeout(), where it gets
converted to
a huge timeout value and passed down to the kernel. At least on iMX53, the
kernel
may complain about this value being too large and emit a backtrace. The
relevant
piece of information there is the following:
schedule_timeout: wrong timeout value bf94984b
Per suggestion by Rob Clark, fix this in get_abs_timeout() by picking the
same
rollover implementation present in etnaviv. This fixes one part of the
problem
where the tv_nsec becomes larger than NSEC_PER_SEC, which is invalid.
However, the PIPE_TIMEOUT_INFINITE is sufficiently large to make tv_secs
larger
than KTIME_SEC_MAX, which makes kernel-side ktime_set() return KTIME_MAX and
that in turn triggers the above "wrong timeout value N" message. Fix this by
setting the timeout to large enough value in case of PIPE_TIMEOUT_INFINITE.
While the timeout is not truly infinite, the timeout is long enough as
anything
longer than a few seconds means the GPU got hung.
The "util/timespec.h" is added so we can use NSEC_PER_SEC instead of ad-hoc
constant 1000000000 . The "pipe/p_defines.h" is needed for
PIPE_TIMEOUT_INFINITE.
This problem can be reliably triggered on iMX53 using Qt5 with EGLFS
support,
using the qtbase examples, as follows:
/usr/share/examples/opengl/qopenglwidget/qopenglwidget -platform eglfs
Fixes: f3cc0d27475 ("freedreno: import libdrm_freedreno + redesign submit")
Signed-off-by: Marek Vasut <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12886>
(cherry picked from commit 6da27271740c7d57cb2822c1864be121b8e8344a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d612acf8e5302816f6943d044d2a869751cea6f
Author: Dylan Baker <[email protected]>
Date: Tue Sep 21 10:19:52 2021 -0700
.pick_status.json: Mark 268158a758551a46feb120af3f3cff5fb9292310 as
backported
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a23c31679e738425e9ca648407237568d8ea19c8
Author: Dylan Baker <[email protected]>
Date: Tue Sep 21 10:19:51 2021 -0700
.pick_status.json: Mark f241bd3749cec55ca5fac9cb24f17553ab31c0e1 as
backported
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8381b8485a3d3f1eb9c5f717c45170bf0cc02b77
Author: Dylan Baker <[email protected]>
Date: Tue Sep 21 10:19:40 2021 -0700
.pick_status.json: Mark e0533ebf16edcb8b9f0687d3155417e6c1c53d35 as
backported
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=21e15a4e3edf0c7a46fd297e959ea0ed5f5540eb
Author: Dylan Baker <[email protected]>
Date: Tue Sep 21 10:19:24 2021 -0700
.pick_status.json: Mark a79ac1bee14d6600cde2788bf136aa59b69a786f as
backported
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4c1e0e97e95eb719cba0696b454d41eb8bc4321
Author: Dylan Baker <[email protected]>
Date: Tue Sep 21 10:18:33 2021 -0700
.pick_status.json: Update to d3511e8af21ac11b8e7f5305942624d1ae29a73a
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fbf76abbc50808b59783ebe46db42b64e7d1c4d4
Author: Rob Clark <[email protected]>
Date: Tue Aug 10 11:24:47 2021 -0700
freedreno: Use correct key for binning pass shader
We updated the key correctly for whether we wanted to use a
safe_constlen binning pass variant, but then passed the wrong
key to ir3_shader_variant().
Fixes: 1dd24bf27b2 ("freedreno: Share constlen between different stages
properly")
Signed-off-by: Rob Clark <[email protected]>
(cherry picked from commit a79ac1bee14d6600cde2788bf136aa59b69a786f)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12876>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=362a808f4c795fc4f8aa9a21c1a1628eb916e72b
Author: Marcin Ślusarz <[email protected]>
Date: Tue Aug 24 10:50:42 2021 +0200
intel/compiler: INT DIV function does not support source modifiers
BSpec says that for all generations.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5281
CC: mesa-stable
Signed-off-by: Marcin Ślusarz <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Sagar Ghuge <[email protected]>
(chery picked from commit e0533ebf16edcb8b9f0687d3155417e6c1c53d35)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12893>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9befde00ebba80e89fd491ccf9ca9f45ae3900a
Author: Timur Kristóf <[email protected]>
Date: Wed Sep 1 18:28:51 2021 +0200
aco/optimize_postRA: Use iterators instead of operator[] of std::array.
Also add a few more assertions to make sure the registers are
within the bounds of the array.
Cc: mesa-stable
Signed-off-by: Timur Kristóf <[email protected]>
Reviewed-by: Rhys Perry <[email protected]>
Reviewed-by: Tony Wasserka <[email protected]>
Reviewed-by: Joshua Ashton <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12894>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=95d63a1069e6707642a7ff7fe9927e20f6751f5a
Author: Rhys Perry <[email protected]>
Date: Thu Sep 2 17:04:29 2021 +0100
aco: don't coalesce constant copies into non-power-of-two sizes
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Daniel Schürmann <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12894>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ee414e45396ae7b0e78495fbcdd491c22c0c3d8
Author: Dylan Baker <[email protected]>
Date: Tue Sep 21 10:14:30 2021 -0700
docs/relnotes/21.2.2: Add SHA256 sum
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=15c8aeef1d595ffd6bccf92d282cb524e4617dd3
Author: Dylan Baker <[email protected]>
Date: Tue Sep 21 09:52:44 2021 -0700
VERSION: bump for 21.2.2 release
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=32cf8bc08159e5bd0a0dd768ecffb9043156e2a5
Author: Dylan Baker <[email protected]>
Date: Tue Sep 21 09:52:15 2021 -0700
docs: add release notes for 21.2.2