summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/radeon_uvd.c
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2016-09-06 14:43:00 +0200
committerNicolai Hähnle <nicolai.haehnle@amd.com>2016-09-27 16:44:42 +0200
commit84f156c0cbf0deb0f51163dc3fd6b09a62270c50 (patch)
treed3473348930a8d87361aaf86d25931086881bb29 /src/gallium/drivers/radeon/radeon_uvd.c
parentb3ebc229dcd5d1cc882443f9b851890b00cd9dbc (diff)
downloadexternal_mesa3d-84f156c0cbf0deb0f51163dc3fd6b09a62270c50.zip
external_mesa3d-84f156c0cbf0deb0f51163dc3fd6b09a62270c50.tar.gz
external_mesa3d-84f156c0cbf0deb0f51163dc3fd6b09a62270c50.tar.bz2
gallium/pipebuffer: add pb_slab utility
This is a simple framework for slab allocation from buffers that fits into the buffer management scheme of the radeon and amdgpu winsyses where bufmgrs aren't used. The utility knows about different sized allocations and explicitly manages reclaim of allocations that have pending fences. It manages all the free lists but does not actually touch buffer objects directly, relying on callbacks for that. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_uvd.c')
0 files changed, 0 insertions, 0 deletions