summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_context.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2016-10-12 10:30:41 -0700
committerEric Anholt <[email protected]>2016-10-21 14:12:22 -0700
commit1c38ee380dc6c847c62e8a83978b31382f55bcff (patch)
tree2ed99fcbb1fdd9a923fa6c10bef506b6e4a927bd /src/gallium/drivers/vc4/vc4_context.h
parent9f755223821eaa0a889f8a10cccc66e15bf0abb4 (diff)
vc4: Move simulator memory management to a u_mm.h heap.
Now we aren't limited to 256MB total allocated across a driver instance, just 256MB at one time. We're still copying in and out, which should get fixed.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_context.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_context.h b/src/gallium/drivers/vc4/vc4_context.h
index 249caebc1bc..5dd0ba645e5 100644
--- a/src/gallium/drivers/vc4/vc4_context.h
+++ b/src/gallium/drivers/vc4/vc4_context.h
@@ -429,6 +429,8 @@ int vc4_simulator_flush(struct vc4_context *vc4,
struct drm_vc4_submit_cl *args,
struct vc4_job *job);
int vc4_simulator_ioctl(int fd, unsigned long request, void *arg);
+void vc4_simulator_open_from_handle(int fd, uint32_t winsys_stride,
+ int handle, uint32_t size);
static inline int
vc4_ioctl(int fd, unsigned long request, void *arg)