drmFreeVersion(version);
+ if (lima_debug & LIMA_DEBUG_NO_GROW_HEAP)
+ screen->has_growable_heap_buffer = false;
+
struct drm_lima_get_param param;
memset(¶m, 0, sizeof(param));
"print debug info for BO cache" },
{ "notiling", LIMA_DEBUG_NO_TILING,
"don't use tiled buffers" },
+ { "nogrowheap", LIMA_DEBUG_NO_GROW_HEAP,
+ "disable growable heap buffer" },
{ NULL }
};
#define LIMA_DEBUG_NO_BO_CACHE (1 << 4)
#define LIMA_DEBUG_BO_CACHE (1 << 5)
#define LIMA_DEBUG_NO_TILING (1 << 6)
+#define LIMA_DEBUG_NO_GROW_HEAP (1 << 7)
extern uint32_t lima_debug;
extern int lima_ctx_num_plb;