diff options
author | Eric Anholt <[email protected]> | 2017-11-20 12:26:49 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-11-20 13:52:33 -0800 |
commit | 2c8913e2242dc86b7f70bbb32e9952ea3adbdfc6 (patch) | |
tree | 3eaee4446a857e99d7254f97584dc9daf2d09ec9 /src/gallium | |
parent | 34838c221260f961140040416b1a84b490448ac1 (diff) |
broadcom/vc5: Increase simulator memory for tex-miplevel-selection.
We were overflowing, because of all the little 4k allocations for CLs that
were getting expanded to 128kb in the simulator due to the GMP alignment.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_simulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc5/vc5_simulator.c b/src/gallium/drivers/vc5/vc5_simulator.c index fc6a38d372b..d027593d926 100644 --- a/src/gallium/drivers/vc5/vc5_simulator.c +++ b/src/gallium/drivers/vc5/vc5_simulator.c @@ -676,7 +676,7 @@ vc5_simulator_init_global(void) } sim_state.v3d = v3d_hw_auto_new(NULL); - v3d_hw_alloc_mem(sim_state.v3d, 256 * 1024 * 1024); + v3d_hw_alloc_mem(sim_state.v3d, 1024 * 1024 * 1024); sim_state.mem_base = v3d_hw_get_mem(sim_state.v3d, &sim_state.mem_size, &sim_state.mem); |