projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eb9304
)
vc4: Fix another space allocation mistake.
author
Eric Anholt
<eric@anholt.net>
Thu, 9 Apr 2015 20:05:00 +0000
(13:05 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 13 Apr 2015 17:39:02 +0000
(10:39 -0700)
We're over-allocating our BCL in vc4_draw.c, so this never mattered.
However, new RCL-only blit support might end up here without having set up
any BCL contents.
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
1859dd6
..
9b2ee5c
100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_context.c
+++ b/
src/gallium/drivers/vc4/vc4_context.c
@@
-349,6
+349,7
@@
vc4_flush(struct pipe_context *pctx)
* unblocking the render thread. Note that this doesn't act until the
* FLUSH completes.
*/
+ cl_ensure_space(&vc4->bcl, 8);
cl_u8(&vc4->bcl, VC4_PACKET_INCREMENT_SEMAPHORE);
/* The FLUSH caps all of our bin lists with a VC4_PACKET_RETURN. */
cl_u8(&vc4->bcl, VC4_PACKET_FLUSH);