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>
This commit is contained in:
Chris Wilson 2012-12-17 15:38:04 +00:00
parent 4d7e3a9123
commit e474abea7c
2 changed files with 0 additions and 14 deletions

View File

@ -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]]),

View File

@ -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