diff options
author | Rob Clark <[email protected]> | 2014-02-19 12:02:57 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2014-02-19 12:02:57 -0500 |
commit | 9186cd39d42dff5a730134535c6ad647a51c44f8 (patch) | |
tree | 1a8e02bb447e63712e2529f6e680751443ba3e2c /src/gallium/drivers/freedreno/freedreno_context.c | |
parent | 5993723471a81003bd82d189836ccdd8d085a7b5 (diff) |
freedreno: tweak ringbuffer sizes/count
Since we are now consuming two ringbuffers at a time, we probably want a
pool larger than 4.. but we don't need each individual ringbuffer to be
so large, so offset the pool size increase by reducing rb size.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_context.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_context.c b/src/gallium/drivers/freedreno/freedreno_context.c index f0485d8175e..5e2e7113b2f 100644 --- a/src/gallium/drivers/freedreno/freedreno_context.c +++ b/src/gallium/drivers/freedreno/freedreno_context.c @@ -200,7 +200,7 @@ fd_context_init(struct fd_context *ctx, struct pipe_screen *pscreen, pctx->flush = fd_context_flush; for (i = 0; i < ARRAY_SIZE(ctx->rings); i++) { - ctx->rings[i] = fd_ringbuffer_new(screen->pipe, 0x400000); + ctx->rings[i] = fd_ringbuffer_new(screen->pipe, 0x100000); if (!ctx->rings[i]) goto fail; } |