winsys/radeon: enable buffer allocation from slabs
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 12 Sep 2016 10:19:47 +0000 (12:19 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 27 Sep 2016 14:45:37 +0000 (16:45 +0200)
commitfb827c055cb1bdd2b18d0687c06c56b537d805f3
treec863814a1cb94876760fb51e6bdf3e5c2f0e4bcd
parenta1e391e39df2b1d8169e773a30153167ab8e13e8
winsys/radeon: enable buffer allocation from slabs

Only enable for chips with GPUVM, because older driver paths do not take the
required offset into account.

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_winsys.c
src/gallium/winsys/radeon/drm/radeon_drm_winsys.h