diff options
author | Eric Anholt <[email protected]> | 2015-04-09 13:05:00 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-04-13 10:39:02 -0700 |
commit | cb88d2cfcb1f4444d1ec351277e8b662cda81a5e (patch) | |
tree | bb2f3c82aa30348871762d8a93f738167d2e9752 /src/gallium/drivers/vc4/vc4_context.c | |
parent | 8eb9304ee74b7f4a3ef9f8ac9cb04f3031a61ded (diff) |
vc4: Fix another space allocation mistake.
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.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_context.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_context.c b/src/gallium/drivers/vc4/vc4_context.c index 1859dd62d0f..9b2ee5cb2ed 100644 --- 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); |