sna: secure batches accepted upstream, so simply use runtime detection
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
540666a0a8
commit
8238c67298
|
|
@ -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]]),
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue