winsys/amdgpu: use 128KB BOs for suballocations of up to 64KB BOs
authorMarek Olšák <marek.olsak@amd.com>
Tue, 27 Jun 2017 19:54:20 +0000 (21:54 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 4 Jul 2017 13:40:37 +0000 (15:40 +0200)
commit0591df025bc237de4d7fcb93a5d4dcc8e7946026
treedc7a7e9659eb656874d008c2121173e9314e626e
parentc78401564327454e08e0040e5801ce3a5fefcea4
winsys/amdgpu: use 128KB BOs for suballocations of up to 64KB BOs

This decreases the number of BOs, but might also increase memory usage.
It's better for small textures.

The gameplay is on the far right:
https://people.freedesktop.org/~mareko/suballoc.svg

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h