intel: Unmap buffers during drm_intel_gem_bo_unmap
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 5 Dec 2011 10:14:34 +0000 (10:14 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 5 Dec 2011 10:25:53 +0000 (10:25 +0000)
commitc549a777c1b6227a724942c64aa5cd181eb93c6c
tree03af587ec3ad8dee11c1197647c2143e29f8bd96
parent36cff1cbb89477c839588a7e40fec2a8db7df396
intel: Unmap buffers during drm_intel_gem_bo_unmap

We cannot afford to cache the vma per open bo as this may exhaust the
per-process limits.

References: https://bugs.freedesktop.org/show_bug.cgi?id=43075
References: https://bugs.freedesktop.org/show_bug.cgi?id=40066
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
intel/intel_bufmgr_gem.c