asahi: Allocate a larger segment list
This ought to be dynamically allocated but because this is macOS kernel UABI only gunk, let's just hack around it... Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16512>
This commit is contained in:
parent
ac09dcd358
commit
1d0d27aac7
|
@ -319,7 +319,7 @@ agx_open_device(void *memctx, struct agx_device *dev)
|
|||
|
||||
dev->queue = agx_create_command_queue(dev);
|
||||
dev->cmdbuf = agx_shmem_alloc(dev, 0x4000, true); // length becomes kernelCommandDataSize
|
||||
dev->memmap = agx_shmem_alloc(dev, 0x4000, false);
|
||||
dev->memmap = agx_shmem_alloc(dev, 0x10000, false);
|
||||
agx_get_global_ids(dev);
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue