radeonsi: generalize the slab allocator code to allow layered slab allocators
authorMarek Olšák <marek.olsak@amd.com>
Wed, 21 Nov 2018 07:10:14 +0000 (02:10 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 29 Nov 2018 01:20:27 +0000 (20:20 -0500)
commitcf6835485cd57173b002186a8b3f51239e59e431
tree7ce9602be04ee68d1a4be63fbff771bdc22b570e
parent9576266a3761d4005162380967d33a6c2b70b1dd
radeonsi: generalize the slab allocator code to allow layered slab allocators

There is no change in behavior. It just makes it easier to change the number
of slab allocators.
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h