winsys/radeon: add slab buffer list
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 12 Sep 2016 08:52:35 +0000 (10:52 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 27 Sep 2016 14:45:32 +0000 (16:45 +0200)
commit0edebde9a48ab609c636050208505885da363593
tree050f6879aef7b7de7485065f3e5bec6d2c381f53
parentcbb9c2f170e364054c644e013277ff95a6ad2f0a
winsys/radeon: add slab buffer list

Introducing radeon_bo::hash will reduce collisions between "real" buffers
and buffers from slabs.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/winsys/radeon/drm/radeon_drm_bo.c
src/gallium/winsys/radeon/drm/radeon_drm_bo.h
src/gallium/winsys/radeon/drm/radeon_drm_cs.c
src/gallium/winsys/radeon/drm/radeon_drm_cs.h
src/gallium/winsys/radeon/drm/radeon_drm_winsys.h