summaryrefslogtreecommitdiff
path: root/user/mesa/nouveau-flush-fix.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-10-24 01:08:34 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-10-24 01:21:58 -0500
commitd72165a1f0b2780982611a9e4ed83fe9e6fc336d (patch)
tree7fe0986c7d61b46cd41766c0404fc15613fe79d9 /user/mesa/nouveau-flush-fix.patch
parent0cdfe6311e4e85c939ca43f2767fc2ab769bf984 (diff)
downloadpackages-d72165a1f0b2780982611a9e4ed83fe9e6fc336d.tar.gz
packages-d72165a1f0b2780982611a9e4ed83fe9e6fc336d.tar.bz2
packages-d72165a1f0b2780982611a9e4ed83fe9e6fc336d.tar.xz
packages-d72165a1f0b2780982611a9e4ed83fe9e6fc336d.zip
user/mesa: Update to 21.3.9, fix nouveau
This update brings some reliability fixes to i915/i965, nouveau, and also radeonsi. This is the most recent version of the 'amber' branch which is the last version with support for these chipsets. There is a way to co-install mesa-amber and mesa, but we will need to work on that. For now, we ship this for everyone. The nouveau patch here is sent upstream and fixes context destroys.
Diffstat (limited to 'user/mesa/nouveau-flush-fix.patch')
-rw-r--r--user/mesa/nouveau-flush-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/mesa/nouveau-flush-fix.patch b/user/mesa/nouveau-flush-fix.patch
new file mode 100644
index 000000000..97512d01a
--- /dev/null
+++ b/user/mesa/nouveau-flush-fix.patch
@@ -0,0 +1,11 @@
+--- mesa-21.3.8/src/mesa/drivers/dri/nouveau/nouveau_driver.c.old 2022-03-18 19:26:47.000000000 +0000
++++ mesa-21.3.8/src/mesa/drivers/dri/nouveau/nouveau_driver.c 2023-10-23 06:05:10.177357372 +0000
+@@ -69,7 +69,7 @@
+ struct nouveau_context *nctx = to_nouveau_context(ctx);
+ struct nouveau_pushbuf *push = context_push(ctx);
+
+- PUSH_KICK(push);
++ if (push) PUSH_KICK(push);
+
+ if (ctx->DrawBuffer && _mesa_is_winsys_fbo(ctx->DrawBuffer) &&
+ ctx->DrawBuffer->_ColorDrawBufferIndexes[0] == BUFFER_FRONT_LEFT) {