Hi there,

I noticed that in
mesa/drm/configure.ac
there is still version 2.3.1 hardcoded, while in
mesa/drm/libdrm/Makefile.am
there is version 2.3.0 hardcoded.

I'm using libdrm from GIT (master branch) but now the xf86-video-intel
driver fails to initialize the TTM buffer manager, resulting in slow 3D
acceleration and very laggy 2D acceleration in Xorg.

This seems because when building xf86-video-intel DRI_MM is set to
disabled, resulting in not using TTM. I've checked the autotools script
in the intel repo and found out that DRI_MM gets disabled if the libdrm
version is below 2.4.0.

The attached patch bumps both version numbers in the mesa/drm repo to
2.4.0. After rebuilding intel the TTM bug mgr works again and 3D is fast
again. At least this works for me.

I assume that somehow the version number didn't get bumped, right? Or is
this intended behaviour?

Greets,
Tobias


>From 356d6a3c9a1f9eee20a60a8900b1429231891b23 Mon Sep 17 00:00:00 2001
From: Tobias Jakobi <[EMAIL PROTECTED]>
Date: Fri, 4 Jul 2008 09:52:04 +0200
Subject: bump version to 2.4.0

---
 configure.ac       |    2 +-
 libdrm/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7820334..987b011 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,7 +19,7 @@
 #  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 AC_PREREQ(2.57)
-AC_INIT([libdrm], 2.3.1, [EMAIL PROTECTED], libdrm)
+AC_INIT([libdrm], 2.4.0, [EMAIL PROTECTED], libdrm)
 AC_CONFIG_SRCDIR([Makefile.am])
 AM_INIT_AUTOMAKE([dist-bzip2])
 
diff --git a/libdrm/Makefile.am b/libdrm/Makefile.am
index e7e07e4..153bb15 100644
--- a/libdrm/Makefile.am
+++ b/libdrm/Makefile.am
@@ -20,7 +20,7 @@
 
 libdrm_la_LTLIBRARIES = libdrm.la
 libdrm_ladir = $(libdir)
-libdrm_la_LDFLAGS = -version-number 2:3:0 -no-undefined
+libdrm_la_LDFLAGS = -version-number 2:4:0 -no-undefined
 
 AM_CFLAGS = -I$(top_srcdir)/shared-core
 libdrm_la_SOURCES = xf86drm.c xf86drmHash.c xf86drmRandom.c xf86drmSL.c
-- 
1.5.4.5


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to