radeon/winsys: fix winsys VM handling
authorChristian König <deathsimple@vodafone.de>
Mon, 6 Aug 2012 15:53:49 +0000 (17:53 +0200)
committerChristian König <deathsimple@vodafone.de>
Wed, 8 Aug 2012 10:35:10 +0000 (12:35 +0200)
commit8c44e5a144009a03c20befa6468d19d41c802795
tree19c8bea785488929f4f8e0d19e08edd7f98182aa
parent7528e2104fdda88a9eca5d84d979a21f5c517dc9
radeon/winsys: fix winsys VM handling

Move releasing the VM area after closing the bo handle.

This partially fixes: https://bugs.freedesktop.org/show_bug.cgi?id=45018

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/winsys/radeon/drm/radeon_drm_bo.c