Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-mesa: Commit

external/mesa


Commit MetaInfo

Revision29a7d73c9ceccc56c3b913b0655849702bd0f7fd (tree)
Time2017-04-12 19:32:27
AuthorJason Ekstrand <jason.ekstrand@inte...>
CommiterEmil Velikov

Log Message

i965/blorp: Bump the batch space estimate

Commit f938354362655a378d474c5f79c52cea9852ab91 recently increased the
alignment on vertex buffer data from 32 to 64. This caused us to
consume a bit more batch than we were before and we now go over the
estimate by a small amount on certain blits on gen8+. This commit bumps
then gen8 batch estimate by a bit to compensate. Haswell and older
still seems to be well within the limit.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100582
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "13.0 17.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit c9c39812b91c8104bc0bea16053312547846249c)

Change Summary

Incremental Difference

--- a/src/mesa/drivers/dri/i965/genX_blorp_exec.c
+++ b/src/mesa/drivers/dri/i965/genX_blorp_exec.c
@@ -190,7 +190,7 @@ genX(blorp_exec)(struct blorp_batch *batch,
190190 assert(batch->blorp->driver_ctx == batch->driver_batch);
191191 struct brw_context *brw = batch->driver_batch;
192192 struct gl_context *ctx = &brw->ctx;
193- const uint32_t estimated_max_batch_usage = GEN_GEN >= 8 ? 1800 : 1500;
193+ const uint32_t estimated_max_batch_usage = GEN_GEN >= 8 ? 1920 : 1500;
194194 bool check_aperture_failed_once = false;
195195
196196 /* Flush the sampler and render caches. We definitely need to flush the
Show on old repository browser