aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_screen.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-09-27 19:06:13 +0200
committerNicolai Hähnle <[email protected]>2016-10-05 15:42:17 +0200
commit0334ba150f429b7d6b0bdc003c4301e0ad5fa21d (patch)
tree93ae73889193213e9f8a0c1a487a900d28b9d965 /src/gallium/drivers/freedreno/freedreno_screen.h
parent616e36674a1079dcfa131b3c9155cc473441b3de (diff)
freedreno: use the new parent/child pools for transfers
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_screen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.h b/src/gallium/drivers/freedreno/freedreno_screen.h
index 03ee90a5513..db9050e71be 100644
--- a/src/gallium/drivers/freedreno/freedreno_screen.h
+++ b/src/gallium/drivers/freedreno/freedreno_screen.h
@@ -34,6 +34,7 @@
#include "pipe/p_screen.h"
#include "util/u_memory.h"
+#include "util/slab.h"
#include "os/os_thread.h"
#include "freedreno_batch_cache.h"
@@ -55,6 +56,8 @@ struct fd_screen {
/* place for winsys to stash it's own stuff: */
void *winsys_priv;
+ struct slab_parent_pool transfer_pool;
+
uint32_t gmemsize_bytes;
uint32_t device_id;
uint32_t gpu_id; /* 220, 305, etc */