rpms/mesa/F-11 mesa-7.5-r300-batch-accounting.patch, NONE, 1.1 mesa.spec, 1.248, 1.249

Adam Jackson ajax at fedoraproject.org
Thu May 21 20:55:00 UTC 2009


Author: ajax

Update of /cvs/pkgs/rpms/mesa/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22464

Modified Files:
	mesa.spec 
Added Files:
	mesa-7.5-r300-batch-accounting.patch 
Log Message:
* Thu May 21 2009 Adam Jackson <ajax at redhat.com> 7.5-0.15
- mesa-7.5-r300-batch-accounting.patch: Fix cmdbuf sizing (#501312)


mesa-7.5-r300-batch-accounting.patch:

--- NEW FILE mesa-7.5-r300-batch-accounting.patch ---
diff -up mesa-20090428/src/mesa/drivers/dri/r300/r300_cmdbuf.c.jx mesa-20090428/src/mesa/drivers/dri/r300/r300_cmdbuf.c
--- mesa-20090428/src/mesa/drivers/dri/r300/r300_cmdbuf.c.jx	2009-05-18 11:17:36.000000000 -0400
+++ mesa-20090428/src/mesa/drivers/dri/r300/r300_cmdbuf.c	2009-05-21 16:32:32.000000000 -0400
@@ -251,7 +251,7 @@ static void emit_cb_offset(GLcontext *ct
             OUT_BATCH(((rrb->width - 1) << R300_SCISSORS_X_SHIFT) |
                     ((rrb->height - 1) << R300_SCISSORS_Y_SHIFT));
             END_BATCH();
-            BEGIN_BATCH_NO_AUTOSTATE(16);
+            BEGIN_BATCH_NO_AUTOSTATE(7);
             for (i = 0; i < 1; i++) {
                 OUT_BATCH_REGSEQ(R300_SC_CLIPRECT_TL_0 + (i * 8), 2);
                 OUT_BATCH((0 << R300_CLIPRECT_X_SHIFT) | (0 << R300_CLIPRECT_Y_SHIFT));


Index: mesa.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mesa/F-11/mesa.spec,v
retrieving revision 1.248
retrieving revision 1.249
diff -u -p -r1.248 -r1.249
--- mesa.spec	5 May 2009 06:11:35 -0000	1.248
+++ mesa.spec	21 May 2009 20:54:30 -0000	1.249
@@ -20,7 +20,7 @@
 Summary: Mesa graphics libraries
 Name: mesa
 Version: 7.5
-Release: 0.14%{?dist}
+Release: 0.15%{?dist}
 License: MIT
 Group: System Environment/Libraries
 URL: http://www.mesa3d.org
@@ -49,6 +49,7 @@ Patch12: mesa-7.1-disable-intel-classic-
 Patch13: mesa-7.5-sparc64.patch
 
 Patch15: radeon-rewrite-emit1clip.patch
+Patch16: mesa-7.5-r300-batch-accounting.patch
 
 BuildRequires: pkgconfig autoconf automake
 %if %{with_dri}
@@ -178,6 +179,7 @@ This package provides some demo applicat
 %patch12 -p1 -b .intel-nowarn
 %patch13 -p1 -b .sparc64
 %patch15 -p1 -b .fix-clip
+%patch16 -p1 -b .r300-accounting
 
 # Hack the demos to use installed data files
 sed -i 's,../images,%{_libdir}/mesa-demos-data,' progs/demos/*.c
@@ -432,6 +434,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/mesa-demos-data
 
 %changelog
+* Thu May 21 2009 Adam Jackson <ajax at redhat.com> 7.5-0.15
+- mesa-7.5-r300-batch-accounting.patch: Fix cmdbuf sizing (#501312)
+
 * Tue May 05 2009 Dave Airlie <airlied at redhat.com> 7.5-0.14
 - radeon-rewrite.patch: fixes from upstream for rs690 + r200
 




More information about the scm-commits mailing list