rpms/xorg-x11-drv-ati/F-10 radeon-modeset.patch, 1.37, 1.38 xorg-x11-drv-ati.spec, 1.149, 1.150

Dave Airlie airlied at fedoraproject.org
Tue Nov 18 04:37:35 UTC 2008


Author: airlied

Update of /cvs/pkgs/rpms/xorg-x11-drv-ati/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18289

Modified Files:
	radeon-modeset.patch xorg-x11-drv-ati.spec 
Log Message:
- radeon - don't fail at integer division


radeon-modeset.patch:

Index: radeon-modeset.patch
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-ati/F-10/radeon-modeset.patch,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- radeon-modeset.patch	18 Nov 2008 02:12:54 -0000	1.37
+++ radeon-modeset.patch	18 Nov 2008 04:37:02 -0000	1.38
@@ -1,3 +1,9 @@
+commit 07b2b3d3b2eac76c0d7f3b84cb342df3d1037403
+Author: Dave Airlie <airlied at redhat.com>
+Date:   Tue Nov 18 14:33:44 2008 +1000
+
+    radeon: I fail at uint32_t division
+
 commit 4ba990209bb2bd4070dcb160a63ecde05653bbb7
 Author: Dave Airlie <airlied at redhat.com>
 Date:   Tue Nov 18 12:06:02 2008 +1000
@@ -7394,7 +7400,7 @@
  	ExaOffscreenArea *area = mem_struct;
 diff --git a/src/radeon_memory.c b/src/radeon_memory.c
 new file mode 100644
-index 0000000..5f76734
+index 0000000..766f977
 --- /dev/null
 +++ b/src/radeon_memory.c
 @@ -0,0 +1,418 @@
@@ -7773,7 +7779,7 @@
 +    xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Remaining VRAM size (used for pixmaps): %dK\n", remain_size_bytes/1024);
 +
 +    /* set the emit limit at 90% of VRAM */
-+    remain_size_bytes = (remain_size_bytes * 90) / 100;
++    remain_size_bytes = (remain_size_bytes / 10) * 9;
 +
 +    radeon_bufmgr_gem_set_limit(info->bufmgr, RADEON_GEM_DOMAIN_VRAM, remain_size_bytes);
 +    return TRUE;


Index: xorg-x11-drv-ati.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-ati/F-10/xorg-x11-drv-ati.spec,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -r1.149 -r1.150
--- xorg-x11-drv-ati.spec	18 Nov 2008 02:12:54 -0000	1.149
+++ xorg-x11-drv-ati.spec	18 Nov 2008 04:37:02 -0000	1.150
@@ -5,7 +5,7 @@
 Summary:   Xorg X11 ati video driver
 Name:      xorg-x11-drv-ati
 Version:   6.9.0
-Release:   49%{?dist}
+Release:   50%{?dist}
 URL:       http://www.x.org
 License:   MIT
 Group:     User Interface/X Hardware Support
@@ -82,6 +82,9 @@
 %{_mandir}/man4/radeon.4*
 
 %changelog
+* Tue Nov 18 2008 Dave Airlie <airlied at redhat.com> 6.9.0-50
+- radeon - don't fail at integer division
+
 * Tue Nov 18 2008 Dave Airlie <airlied at redhat.com> 6.9.0-49
 - modeset - fix O(wtf) operation in post_bufmgr_submit
 




More information about the fedora-extras-commits mailing list