vk: Flip back to using memfd for the allocators
authorKristian Høgsberg <kristian.h.kristensen@intel.com>
Thu, 14 May 2015 16:08:45 +0000 (09:08 -0700)
committerKristian Høgsberg <kristian.h.kristensen@intel.com>
Fri, 15 May 2015 22:22:29 +0000 (15:22 -0700)
src/vulkan/allocator.c

index 67abaa4546465e274e6d58970377517ee52a38b8..4c293f12b1a8dfc37905111a1574dd1802c9580b 100644 (file)
@@ -203,7 +203,7 @@ anv_block_pool_init(struct anv_block_pool *pool,
  * without copying.  It breaks valgrind however, so we have a MAP_ANONYMOUS
  * path we can take for valgrind debugging. */
 
-#define USE_MEMFD 0
+#define USE_MEMFD 1
 
 void
 anv_block_pool_finish(struct anv_block_pool *pool)