rpms/xorg-x11-drv-ati/F-10 radeon-modeset.patch, 1.35, 1.36 xorg-x11-drv-ati.spec, 1.147, 1.148

Dave Airlie airlied at fedoraproject.org
Mon Nov 17 09:37:32 UTC 2008


Author: airlied

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

Modified Files:
	radeon-modeset.patch xorg-x11-drv-ati.spec 
Log Message:
* Mon Nov 17 2008 Dave Airlie <airlied at redhat.com> 6.9.0-48
- limit to 90% of VRAM for modeset command submission


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.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- radeon-modeset.patch	17 Nov 2008 08:44:29 -0000	1.35
+++ radeon-modeset.patch	17 Nov 2008 09:37:01 -0000	1.36
@@ -1,3 +1,9 @@
+commit ed2ddc61540453dc89b7bbacc8c2e7d1bc002bfe
+Author: Dave Airlie <airlied at redhat.com>
+Date:   Mon Nov 17 19:19:43 2008 +1000
+
+    radeon: set emit limit to 90% VRAM
+
 commit 82783174ca2ed4f9a3afa18d5f32c0274f866f88
 Author: Dave Airlie <airlied at redhat.com>
 Date:   Mon Nov 17 16:16:51 2008 +1000
@@ -7373,10 +7379,10 @@
  	ExaOffscreenArea *area = mem_struct;
 diff --git a/src/radeon_memory.c b/src/radeon_memory.c
 new file mode 100644
-index 0000000..c613ade
+index 0000000..5f76734
 --- /dev/null
 +++ b/src/radeon_memory.c
-@@ -0,0 +1,415 @@
+@@ -0,0 +1,418 @@
 +
 +#include <errno.h>
 +#include <sys/ioctl.h>
@@ -7751,6 +7757,9 @@
 +    xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Texture size:      %dK at 0x%08x\n", info->mm.texture_buffer->size/1024, info->mm.texture_buffer->offset);
 +    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;
++
 +    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.147
retrieving revision 1.148
diff -u -r1.147 -r1.148
--- xorg-x11-drv-ati.spec	17 Nov 2008 08:44:29 -0000	1.147
+++ xorg-x11-drv-ati.spec	17 Nov 2008 09:37:01 -0000	1.148
@@ -5,7 +5,7 @@
 Summary:   Xorg X11 ati video driver
 Name:      xorg-x11-drv-ati
 Version:   6.9.0
-Release:   47%{?dist}
+Release:   48%{?dist}
 URL:       http://www.x.org
 License:   MIT
 Group:     User Interface/X Hardware Support
@@ -82,6 +82,9 @@
 %{_mandir}/man4/radeon.4*
 
 %changelog
+* Mon Nov 17 2008 Dave Airlie <airlied at redhat.com> 6.9.0-48
+- limit to 90% of VRAM for modeset command submission
+
 * Mon Nov 17 2008 Dave Airlie <airlied at redhat.com> 6.9.0-47
 - add set/drop master ioctls
 




More information about the fedora-extras-commits mailing list