summaryrefslogtreecommitdiff
path: root/user/mesa-amber/nouveau-flush-fix.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-21 13:54:59 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-29 04:55:32 -0600
commit73e7fc893589103d4451c557ca5d7dae234f0cb1 (patch)
tree68c6902ce5e05cb22fb924d5f08d2d02b4931246 /user/mesa-amber/nouveau-flush-fix.patch
parente37c4d4faefe77ae52beeebf06d6b8f31f491789 (diff)
downloadpackages-73e7fc893589103d4451c557ca5d7dae234f0cb1.tar.gz
packages-73e7fc893589103d4451c557ca5d7dae234f0cb1.tar.bz2
packages-73e7fc893589103d4451c557ca5d7dae234f0cb1.tar.xz
packages-73e7fc893589103d4451c557ca5d7dae234f0cb1.zip
user/mesa: move to user/mesa-amber
This provides graphics drivers for r100/r200 Radeons, and also early GeForces via nouveau dri. nv30+ are handled by Gallium. Uses libglvnd so it can coexist with newer Mesa versions.
Diffstat (limited to 'user/mesa-amber/nouveau-flush-fix.patch')
-rw-r--r--user/mesa-amber/nouveau-flush-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/mesa-amber/nouveau-flush-fix.patch b/user/mesa-amber/nouveau-flush-fix.patch
new file mode 100644
index 000000000..97512d01a
--- /dev/null
+++ b/user/mesa-amber/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) {