From 73e7fc893589103d4451c557ca5d7dae234f0cb1 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 21 Nov 2024 13:54:59 -0600 Subject: 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. --- user/mesa-amber/nouveau-flush-fix.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 user/mesa-amber/nouveau-flush-fix.patch (limited to 'user/mesa-amber/nouveau-flush-fix.patch') 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) { -- cgit v1.2.3-70-g09d2