winsys/radeon: only call pb_slabs_reclaim when slabs are actually used
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 27 Jun 2017 07:50:32 +0000 (09:50 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 3 Jul 2017 10:39:41 +0000 (12:39 +0200)
commitb0b4b5e8f7a25dd11c1662d339d68c9733e9b2dc
tree261e468d1bad1cdc3e92e0074b2285d138ed075c
parent5dd96b1156e25e10d649d49377df02763fcd45a5
winsys/radeon: only call pb_slabs_reclaim when slabs are actually used

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100242
Fixes: fb827c055cb1 ("winsys/radeon: enable buffer allocation from slabs")
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/winsys/radeon/drm/radeon_drm_bo.c