aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorPaulo Zanoni <[email protected]>2020-04-02 16:03:41 -0700
committerMarge Bot <[email protected]>2020-04-15 21:35:14 +0000
commit2c82b13c8ff63cc296215b6b5991ac00e6f3d495 (patch)
tree688824da86165d1571a4cc2120ff7f58ab4d8b7b /src/gallium/winsys
parent103cb32c794e6428d155d88e42cdf6b9a19b2f31 (diff)
iris: make BATCH_SZ smaller by BATCH_RESERVED bytes
Iris allocates gem buffers using buckets of allocation sizes that are page aligned. We always ask for batch buffers of size BATCH_SZ + BATCH_RESERVED, which is not page aligned: we ask for 65552 bytes, which ends up in the bucket of size 81920, resulting in 20% unused space. Adjust things so there is no waste of space: BATCH_SZ + BATCH_RESERVED is now 65536. Reviewed-by: Lionel Landwerlin <[email protected]> Signed-off-by: Paulo Zanoni <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4561>
Diffstat (limited to 'src/gallium/winsys')
0 files changed, 0 insertions, 0 deletions