diff options
-rw-r--r-- | configure.ac | 9 | ||||
-rw-r--r-- | src/sna/kgem.c | 5 |
2 files changed, 0 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac index ab3f3d2e..972d9188 100644 --- a/configure.ac +++ b/configure.ac @@ -292,15 +292,6 @@ if test "x$USERPTR" = xyes; then AC_DEFINE(USE_USERPTR,1,[Assume USERPTR support]) fi -AC_ARG_ENABLE(secure-batches, - AS_HELP_STRING([--enable-secure-batches], - [Enable use of secure batches (experimental) [default=no]]), - [SECURE_BATCHES="$enableval"], - [SECURE_BATCHES=no]) -if test "x$SECURE_BATCHES" = xyes; then - AC_DEFINE(USE_SECURE_BATCHES,1,[Test for kernel support of secure batches]) -fi - AC_ARG_ENABLE(async-swap, AS_HELP_STRING([--enable-async-swap], [Enable use of asynchronous swaps (experimental) [default=no]]), diff --git a/src/sna/kgem.c b/src/sna/kgem.c index ae76a39d..266839c3 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -72,11 +72,6 @@ search_snoop_cache(struct kgem *kgem, unsigned int num_pages, unsigned flags); #define DBG_NO_SECURE_BATCHES 0 #define DBG_DUMP 0 -#ifndef USE_SECURE_BATCHES -#undef DBG_NO_SECURE_BATCHES -#define DBG_NO_SECURE_BATCHES 1 -#endif - #define SHOW_BATCH 0 /* Worst case seems to be 965gm where we cannot write within a cacheline that |