Author: fernando
Date: Mon Mar 10 12:52:41 2014
New Revision: 2853

Log:
MesaLib-10.1.0: bump add_demos and include fix for X crash.

Added:
   trunk/MesaLib/MesaLib-10.1.0-add_xdemos-1.patch   (contents, props changed)
   trunk/MesaLib/MesaLib-10.1.0-svga_texture-1.patch

Added: trunk/MesaLib/MesaLib-10.1.0-add_xdemos-1.patch
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/MesaLib/MesaLib-10.1.0-add_xdemos-1.patch     Mon Mar 10 12:52:41 
2014        (r2853)
@@ -0,0 +1 @@
+link MesaLib-9.2.0-add_xdemos-1.patch
\ No newline at end of file

Added: trunk/MesaLib/MesaLib-10.1.0-svga_texture-1.patch
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/MesaLib/MesaLib-10.1.0-svga_texture-1.patch   Mon Mar 10 12:52:41 
2014        (r2853)
@@ -0,0 +1,26 @@
+Submitted By: Fernando de Oliveira <famobr at yahoo dot com dot br>
+Date: 2014-04-10
+Initial Package Version: 10.1.0
+Upstream Status: Unknown
+Origin: Upstream
+URL: https://www.mail-archive.com/[email protected]/msg50990.html
+Description: Fix Xorg crash.
+
+diff --git a/src/gallium/drivers/svga/svga_resource_texture.c 
+b/src/gallium/drivers/svga/svga_resource_texture.c
+index 4feca53..109897f 100644
+--- a/src/gallium/drivers/svga/svga_resource_texture.c
++++ b/src/gallium/drivers/svga/svga_resource_texture.c
+@@ -205,7 +205,10 @@ svga_texture_get_handle(struct pipe_screen *screen,
+    struct svga_winsys_screen *sws = svga_winsys_screen(texture->screen);
+    unsigned stride;
+ 
+-   assert(svga_texture(texture)->key.cachable == 0);
++   if (svga_texture(texture)->key.cachable) {
++      debug_warn_once("svga: texture->key.cachable=1");
++   }
++
+    svga_texture(texture)->key.cachable = 0;
+    stride = util_format_get_nblocksx(texture->format, texture->width0) *
+             util_format_get_blocksize(texture->format);
+
-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to