projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89b140d
)
vc4: Add missed accounting for the size of the semaphore.
author
Eric Anholt
<eric@anholt.net>
Mon, 6 Apr 2015 22:15:37 +0000
(15:15 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 13 Apr 2015 17:33:30 +0000
(10:33 -0700)
This wouldn't have mattered except in the worst case scenario RCL setup.
src/gallium/drivers/vc4/vc4_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_context.c
b/src/gallium/drivers/vc4/vc4_context.c
index ed10f7ac7d3f63b03a4357fbcab8772fa922b4c7..1859dd62d0f14635d9e8ab265d37babf94e2b388 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_context.c
+++ b/
src/gallium/drivers/vc4/vc4_context.c
@@
-118,10
+118,12
@@
vc4_setup_rcl(struct vc4_context *vc4)
uint32_t tilecoords_size = 3;
uint32_t branch_size = 5 + reloc_size;
uint32_t color_store_size = 1;
+ uint32_t semaphore_size = 1;
cl_ensure_space(&vc4->rcl,
clear_size +
config_size +
loadstore_size +
+ semaphore_size +
xtiles * ytiles * (loadstore_size * 4 +
tilecoords_size * 3 +
branch_size +