summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_texture.c
diff options
context:
space:
mode:
authorLucas Stach <[email protected]>2017-05-10 18:01:04 +0200
committerChristian Gmeiner <[email protected]>2017-05-16 21:07:37 +0200
commit8173d7d9e8b40cc9415811ad13924daa04a73646 (patch)
tree7a8a0c4b5ca594502dbebcc66f1a862473c92469 /src/gallium/drivers/etnaviv/etnaviv_texture.c
parent169e1e26ee7fcc6dfad538fe695957cbb2186ebd (diff)
etnaviv: stop oversizing buffer resources
PIPE_BUFFER is a target enum, not a binding. This caused the driver to up-align the height of buffer resources, leading to largely oversizing those resources. This is especially bad, as the buffer resources used by the upload manager are already 1MB in size. Height alignment meant that those would result in 4 to 8MB big BOs. Fixes: c9e8b49b885 ("etnaviv: gallium driver for Vivante GPUs") Cc: [email protected] Signed-off-by: Lucas Stach <[email protected]> Reviewed-By: Wladimir J. van der Laan <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_texture.c')
0 files changed, 0 insertions, 0 deletions