From b199c9d747bed6a4bb1ec62416dfed58f49ca75c Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Sun, 18 Jul 2021 21:44:05 +0200 Subject: mesa: upgrade 21.1.4 -> 21.1.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug fixes * [build error] macros.h:88:26: error: size of unnamed array is negative * Game Issue: Nuclear Throne crashes in RadeonSI * Crash in glLinkProgram while trying to craft the link error * Shader compilation memory leaks * Wolfenstein II: The New Colossus - Screen goes black in some cases * SpaceEngine in Steam Proton cannot start with Mesa >=20.3 * [bisected] KDE plasma menu text renders like stretched strangely [amdgpu] * Luna Sky Crashes on Launch * Mesa crashes on undefined texture behaviour * Mesa crashes on undefined texture behaviour * cache_test uses uninitialized stack memory Changes * nir: Fix constant folding for irhadd/urhadd * ac/surface: Handle non-retiled displayable DCC correctly for modifiers. * ir3: Fix infinite loop in scheduler when splitting * glsl: Prohibit implicit conversion of mem parameter in atomicOP functions * draw: fix tessellation output vertex size calculation * .pick_status.json: Update to e4f762ac346f31fc1fd201aecdc375348be5075f * zink: mark a bunch of zink-piglit-quick_gl tests as flakes * .pick_status.json: Update to c704bb630d21e0a30500e9d8f42493ede3cc55ae * .pick_status.json: Mark e5d158881b3e12270521d7081b4bba0ac2108d2e as denominated * softpipe: add missing sentinel to debug option array * iris: Don’t leak the surface if uncompressed re-interp fails * intel/perf: use the right popcount for 64bits * ac/surface/tests: fix the ARM build * radeonsi,radv: fix a late alloc deadlock with <= 6 CUs per SA * Convert most remaining free-form fall-through comments to FALLTHROUGH * osmesa: Replace default case FALLTHROUGH annotation by following return * Fix up leftover “state_trackers” references to “frontends” * radeonsi: fix fb_too_small condition * radeonsi/gfx7: always sync pfp/me * ac/surface: don’t print stencil info if tex has no stencil * radeonsi/driconf: add workaround for SpaceEngine * st/mesa: fix size miss match for some check * freedreno: Consolidate needs_flush and clearing last_fence * freedreno/a6xx: Fix framebuffer_barrier crash * radv: disable DCC for DOOM 2016 and Wolfenstein II * aco: fix shared_atomic_comp_swap if the second source isn’t a VGPR * nir: return progress from nir_lower_packing * nir/ifind_msb_rev: fix input check * broadcom/compiler: fix add vs. mul * util/tests: initialise key in cache_test * mesa: don’t crash on incorrect texture use * i965: don’t crash on incorrect texture use * util/driconf: add new ignore_write_to_readonly_var workaround * util: add some workarounds for the game Luna Sky * glsl: force_glsl_version to shaders with no defined version * util/radeonsi: add radeonsi workaround for Nuclear Throne * st/xa: Mark default xa_get_pipe_format case unreachable. * intel: fix leaking memor * y on shader creation (From OE-Core rev: ff0612d0030e4af5233b846e218334cea9cabf17) Signed-off-by: Andreas Müller Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-graphics/mesa/mesa-gl_21.1.4.bb | 16 ---------------- meta/recipes-graphics/mesa/mesa-gl_21.1.5.bb | 16 ++++++++++++++++ meta/recipes-graphics/mesa/mesa.inc | 2 +- meta/recipes-graphics/mesa/mesa_21.1.4.bb | 5 ----- meta/recipes-graphics/mesa/mesa_21.1.5.bb | 5 +++++ 5 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 meta/recipes-graphics/mesa/mesa-gl_21.1.4.bb create mode 100644 meta/recipes-graphics/mesa/mesa-gl_21.1.5.bb delete mode 100644 meta/recipes-graphics/mesa/mesa_21.1.4.bb create mode 100644 meta/recipes-graphics/mesa/mesa_21.1.5.bb (limited to 'meta/recipes-graphics') diff --git a/meta/recipes-graphics/mesa/mesa-gl_21.1.4.bb b/meta/recipes-graphics/mesa/mesa-gl_21.1.4.bb deleted file mode 100644 index dff79f0be0..0000000000 --- a/meta/recipes-graphics/mesa/mesa-gl_21.1.4.bb +++ /dev/null @@ -1,16 +0,0 @@ -require mesa.inc - -SUMMARY += " (OpenGL only, no EGL/GLES)" - -PROVIDES = "virtual/libgl virtual/mesa" - -S = "${WORKDIR}/mesa-${PV}" - -# At least one DRI rendering engine is required to build mesa. -# When no X11 is available, use osmesa for the rendering engine. -PACKAGECONFIG ??= "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}" -PACKAGECONFIG_class-target = "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}" - -# 21.0.0 version fails to build when any driver is enabled in DRIDRIVERS -# ./mesa-21.0.0/meson.build:519:4: ERROR: Problem encountered: building dri drivers require at least one windowing system -DRIDRIVERS ?= "" diff --git a/meta/recipes-graphics/mesa/mesa-gl_21.1.5.bb b/meta/recipes-graphics/mesa/mesa-gl_21.1.5.bb new file mode 100644 index 0000000000..dff79f0be0 --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa-gl_21.1.5.bb @@ -0,0 +1,16 @@ +require mesa.inc + +SUMMARY += " (OpenGL only, no EGL/GLES)" + +PROVIDES = "virtual/libgl virtual/mesa" + +S = "${WORKDIR}/mesa-${PV}" + +# At least one DRI rendering engine is required to build mesa. +# When no X11 is available, use osmesa for the rendering engine. +PACKAGECONFIG ??= "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}" +PACKAGECONFIG_class-target = "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}" + +# 21.0.0 version fails to build when any driver is enabled in DRIDRIVERS +# ./mesa-21.0.0/meson.build:519:4: ERROR: Problem encountered: building dri drivers require at least one windowing system +DRIDRIVERS ?= "" diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 6a102585a1..6a0df4fa2e 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -21,7 +21,7 @@ SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch \ " -SRC_URI[sha256sum] = "1f177f44098164b65731c5ded4c928fd58b14f6c9d2087aa0e37bc79bf79e90b" +SRC_URI[sha256sum] = "022c7293074aeeced2278c872db4fa693147c70f8595b076cf3f1ef81520766d" UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P\d+(\.\d+)+)" diff --git a/meta/recipes-graphics/mesa/mesa_21.1.4.bb b/meta/recipes-graphics/mesa/mesa_21.1.4.bb deleted file mode 100644 index 28abc91a87..0000000000 --- a/meta/recipes-graphics/mesa/mesa_21.1.4.bb +++ /dev/null @@ -1,5 +0,0 @@ -require ${BPN}.inc - -DRIDRIVERS_append_x86_class-target = ",r100,r200,nouveau,i965" -DRIDRIVERS_append_x86-64_class-target = ",r100,r200,nouveau,i965" - diff --git a/meta/recipes-graphics/mesa/mesa_21.1.5.bb b/meta/recipes-graphics/mesa/mesa_21.1.5.bb new file mode 100644 index 0000000000..28abc91a87 --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa_21.1.5.bb @@ -0,0 +1,5 @@ +require ${BPN}.inc + +DRIDRIVERS_append_x86_class-target = ",r100,r200,nouveau,i965" +DRIDRIVERS_append_x86-64_class-target = ",r100,r200,nouveau,i965" + -- cgit v1.2.3-54-g00ecf