xf86-video-intel: configure.ac src/sna/kgem.c

Chris Wilson ickle at kemper.freedesktop.org
Mon Dec 17 07:41:59 PST 2012


 configure.ac   |    9 ---------
 src/sna/kgem.c |    5 -----
 2 files changed, 14 deletions(-)

New commits:
commit e474abea7cf761e78e777db07b41ec99c0b6f59f
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Mon Dec 17 15:38:04 2012 +0000

    sna: Promote pinned-batches to run-time detection
    
    Now that the feature has been committed upstream, we can rely on the
    runtime detection.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/configure.ac b/configure.ac
index e153019..9354437 100644
--- a/configure.ac
+++ b/configure.ac
@@ -282,15 +282,6 @@ if test "x$accel" = xnone -a "x$UMS_ONLY" != "xyes"; then
 	AC_MSG_ERROR([No default acceleration option])
 fi
 
-AC_ARG_ENABLE(pinned-batches,
-	      AS_HELP_STRING([--enable-pinned-batches],
-			     [Enable use of "pinned batches" (experimental) [default=no]]),
-	      [PINNED="$enableval"],
-	      [PINNED=no])
-if test "x$PINNED" = xyes; then
-	AC_DEFINE(USE_PINNED_BATCHES,1,[Assume "pinned batches" support])
-fi
-
 AC_ARG_ENABLE(userptr,
 	      AS_HELP_STRING([--enable-userptr],
 			     [Enable use of userptr (experimental) [default=no]]),
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index aab2abe..67694ff 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -77,11 +77,6 @@ search_snoop_cache(struct kgem *kgem, unsigned int num_pages, unsigned flags);
 
 #define SHOW_BATCH 0
 
-#ifndef USE_PINNED_BATCHES
-#undef DBG_NO_PINNED_BATCHES
-#define DBG_NO_PINNED_BATCHES 1
-#endif
-
 #ifndef USE_FASTRELOC
 #undef DBG_NO_FAST_RELOC
 #define DBG_NO_FAST_RELOC 1


More information about the xorg-commit mailing list