diff options
author | Kenneth Graunke <[email protected]> | 2018-06-28 01:00:11 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:07 -0800 |
commit | 1c19e3b21f6bd1692a0a6c47999e6b7cbe9b271a (patch) | |
tree | 48c14c401087a59dc0da69ef0885947ab1838fc0 /src/gallium/drivers/iris/iris_bufmgr.c | |
parent | 1cea195a9520a548d1a19db208f956177d3fc12f (diff) |
iris: don't include binder in surface VMA range
Diffstat (limited to 'src/gallium/drivers/iris/iris_bufmgr.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_bufmgr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_bufmgr.c b/src/gallium/drivers/iris/iris_bufmgr.c index 8919559ea9e..8b7067dc87c 100644 --- a/src/gallium/drivers/iris/iris_bufmgr.c +++ b/src/gallium/drivers/iris/iris_bufmgr.c @@ -1549,7 +1549,8 @@ iris_bufmgr_init(struct gen_device_info *devinfo, int fd) util_vma_heap_init(&bufmgr->vma_allocator[IRIS_MEMZONE_SHADER], PAGE_SIZE, _4GB); util_vma_heap_init(&bufmgr->vma_allocator[IRIS_MEMZONE_SURFACE], - IRIS_MEMZONE_SURFACE_START, _4GB); + IRIS_MEMZONE_SURFACE_START + IRIS_BINDER_SIZE, + _4GB - IRIS_BINDER_SIZE); util_vma_heap_init(&bufmgr->vma_allocator[IRIS_MEMZONE_DYNAMIC], IRIS_MEMZONE_DYNAMIC_START, _4GB); util_vma_heap_init(&bufmgr->vma_allocator[IRIS_MEMZONE_OTHER], |