diff options
author | Eric Anholt <[email protected]> | 2016-10-12 10:30:41 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2016-10-21 14:12:22 -0700 |
commit | 1c38ee380dc6c847c62e8a83978b31382f55bcff (patch) | |
tree | 2ed99fcbb1fdd9a923fa6c10bef506b6e4a927bd /src/gallium/drivers/vc4/vc4_bufmgr.c | |
parent | 9f755223821eaa0a889f8a10cccc66e15bf0abb4 (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_bufmgr.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_bufmgr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_bufmgr.c b/src/gallium/drivers/vc4/vc4_bufmgr.c index 350761ee86c..1ed2e7fb9d3 100644 --- a/src/gallium/drivers/vc4/vc4_bufmgr.c +++ b/src/gallium/drivers/vc4/vc4_bufmgr.c @@ -349,6 +349,8 @@ vc4_bo_open_handle(struct vc4_screen *screen, bo->private = false; #ifdef USE_VC4_SIMULATOR + vc4_simulator_open_from_handle(screen->fd, winsys_stride, + bo->handle, bo->size); vc4_bo_map(bo); bo->simulator_winsys_map = bo->map; bo->simulator_winsys_stride = winsys_stride; |