Hello community, here is the log from the commit of package Mesa for openSUSE:Factory checked in at 2012-03-23 15:11:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/Mesa (Old) and /work/SRC/openSUSE:Factory/.Mesa.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "Mesa", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/Mesa/Mesa.changes 2012-03-06 14:05:34.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.Mesa.new/Mesa.changes 2012-03-23 15:11:40.000000000 +0100 @@ -1,0 +2,19 @@ +Wed Mar 21 23:21:24 UTC 2012 - [email protected] + +-- Updated software rasterizer to use llvmpipe the advanced, +- multithreaded,software rasterizer if availaible for that +- archetecture (ie. X86/X86-64). + +------------------------------------------------------------------- +Wed Mar 21 18:06:27 UTC 2012 - [email protected] + +- Adjust baselibs.conf for OSMesa soname change + +------------------------------------------------------------------- +Wed Mar 21 14:55:19 UTC 2012 - [email protected] + +- U_gallium-rtasm-properly-detect-SSE-and-SSE2.patch + * gallium/rtasm: properly detect SSE and SSE2; this should fix + crashes on ancient processors. (bnc#728737) + +------------------------------------------------------------------- New: ---- U_gallium-rtasm-properly-detect-SSE-and-SSE2.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Mesa.spec ++++++ --- /var/tmp/diff_new_pack.wFjD6f/_old 2012-03-23 15:11:43.000000000 +0100 +++ /var/tmp/diff_new_pack.wFjD6f/_new 2012-03-23 15:11:43.000000000 +0100 @@ -86,6 +86,7 @@ # to be upstreamed Patch11: u_Fix-crash-in-swrast-when-setting-a-texture-for-a-pix.patch # already upstream +Patch12: U_gallium-rtasm-properly-detect-SSE-and-SSE2.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -367,6 +368,7 @@ # remove some docs rm -rf docs/README.{VMS,WIN32,OS2} #%patch11 -p1 +%patch12 -p1 %build @@ -384,6 +386,7 @@ --enable-shared-dricore \ --with-dri-searchpath=/usr/%{_lib}/dri/updates:/usr/%{_lib}/dri \ %ifarch %ix86 x86_64 + --enable-gallium-llvm \ --with-dri-drivers=i915,i965,nouveau,r200,radeon \ --with-gallium-drivers=r300,r600,nouveau,swrast \ %endif ++++++ U_gallium-rtasm-properly-detect-SSE-and-SSE2.patch ++++++ >From 74d303521e6ba41d1cbeb75edb2f834ebbe8c550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= <[email protected]> Date: Fri, 24 Feb 2012 19:29:48 +0100 Subject: [PATCH] gallium/rtasm: properly detect SSE and SSE2 This should fix crashes on ancient processors. --- src/gallium/auxiliary/rtasm/rtasm_cpu.c | 48 +++++++++++++++--------------- 1 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/gallium/auxiliary/rtasm/rtasm_cpu.c b/src/gallium/auxiliary/rtasm/rtasm_cpu.c index 0461c81..7afcf14 100644 --- a/src/gallium/auxiliary/rtasm/rtasm_cpu.c +++ b/src/gallium/auxiliary/rtasm/rtasm_cpu.c @@ -25,43 +25,43 @@ * **************************************************************************/ +#include "pipe/p_config.h" +#include "rtasm_cpu.h" + +#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64) #include "util/u_debug.h" -#include "rtasm_cpu.h" +#include "util/u_cpu_detect.h" +DEBUG_GET_ONCE_BOOL_OPTION(nosse, "GALLIUM_NOSSE", FALSE); -#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64) -static boolean rtasm_sse_enabled(void) +static struct util_cpu_caps *get_cpu_caps(void) { - static boolean firsttime = 1; - static boolean enabled; - - /* This gets called quite often at the moment: - */ - if (firsttime) { - enabled = !debug_get_bool_option("GALLIUM_NOSSE", FALSE); - firsttime = FALSE; - } - return enabled; + util_cpu_detect(); + return &util_cpu_caps; } -#endif int rtasm_cpu_has_sse(void) { - /* FIXME: actually detect this at run-time */ -#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64) - return rtasm_sse_enabled(); -#else - return 0; -#endif + return !debug_get_option_nosse() && get_cpu_caps()->has_sse; } int rtasm_cpu_has_sse2(void) { - /* FIXME: actually detect this at run-time */ -#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64) - return rtasm_sse_enabled(); + return !debug_get_option_nosse() && get_cpu_caps()->has_sse2; +} + + #else + +int rtasm_cpu_has_sse(void) +{ return 0; -#endif } + +int rtasm_cpu_has_sse2(void) +{ + return 0; +} + +#endif -- 1.7.3.4 ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.wFjD6f/_old 2012-03-23 15:11:43.000000000 +0100 +++ /var/tmp/diff_new_pack.wFjD6f/_new 2012-03-23 15:11:43.000000000 +0100 @@ -36,7 +36,7 @@ requires -Mesa-libGLU-<targettype> requires "Mesa-libGLU1-<targettype> = <version>" Mesa-libIndirectGL1 -libOSMesa7 +libOSMesa8 libgbm1 libgbm-devel requires -libgbm-<targettype> -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
