summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-12-17 15:38:04 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-12-17 15:38:04 +0000
commite474abea7cf761e78e777db07b41ec99c0b6f59f (patch)
tree983c6aa4ccd6b1559c08d97b8122933a5ddf9bf3
parent4d7e3a9123cf41d2dd97c0a8a0d461c189064822 (diff)
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@chris-wilson.co.uk>
-rw-r--r--configure.ac9
-rw-r--r--src/sna/kgem.c5
2 files changed, 0 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac
index e1530195..93544372 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 aab2abe1..67694ff6 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