- don't use the CS patch need_flush

This commit is contained in:
Dave Airlie 2009-02-23 04:40:16 +00:00
parent 99ad18499f
commit 9cbf673045
2 changed files with 5 additions and 2 deletions

View File

@ -867,7 +867,7 @@ diff -up /dev/null libdrm-2.4.4/libdrm/radeon/radeon_cs_gem.c
+
+static int cs_gem_need_flush(struct radeon_cs *cs)
+{
+ return (cs->relocs_total_size > (32*1024*1024));
+ return 0; //(cs->relocs_total_size > (32*1024*1024));
+}
+
+#define PACKET_TYPE0 0

View File

@ -3,7 +3,7 @@
Summary: Direct Rendering Manager runtime library
Name: libdrm
Version: 2.4.4
Release: 5%{?dist}
Release: 6%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://dri.sourceforge.net
@ -108,6 +108,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/libdrm_nouveau.pc
%changelog
* Mon Feb 23 2009 Dave Airlie <airlied@redhat.com> 2.4.4-6
- don't use the CS patch need_flush
* Wed Feb 18 2009 Dave Airlie <airlied@redhat.com> 2.4.4-5
- update libdrm_radeon again