projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34838c2
)
broadcom/vc5: Increase simulator memory for tex-miplevel-selection.
author
Eric Anholt
<eric@anholt.net>
Mon, 20 Nov 2017 20:26:49 +0000
(12:26 -0800)
committer
Eric Anholt
<eric@anholt.net>
Mon, 20 Nov 2017 21:52:33 +0000
(13:52 -0800)
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.
src/gallium/drivers/vc5/vc5_simulator.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc5/vc5_simulator.c
b/src/gallium/drivers/vc5/vc5_simulator.c
index fc6a38d372bf3f0dd154ea169c267706fb53b4e9..d027593d92673c40634345a82f04deeb08ff1b5a 100644
(file)
--- 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);