gallium/radeon: Don't assign virtual address space for BO that already has one.
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 15 Aug 2012 13:59:07 +0000 (15:59 +0200)
committerMichel Dänzer <michel@daenzer.net>
Thu, 16 Aug 2012 09:58:24 +0000 (11:58 +0200)
commit18abc270c56d5debc02a196634583a25074b3fef
treeaa9cf362ac749a43f4f9107b12cf919952748f39
parenta60be05284399202c7a5a7aaf4d1f8f0626aee80
gallium/radeon: Don't assign virtual address space for BO that already has one.

We'd end up re-using the old one and throwing away the new one anyway, but only
after a roundtrip to the kernel.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/winsys/radeon/drm/radeon_drm_bo.c