r600g: Check for other references before checking for existing mappings in radeon_bo_...
authorHenri Verbeet <hverbeet@gmail.com>
Sun, 19 Sep 2010 17:27:30 +0000 (19:27 +0200)
committerHenri Verbeet <hverbeet@gmail.com>
Sun, 19 Sep 2010 17:43:05 +0000 (19:43 +0200)
commitb68030e9f8211e5905c81b4c7f8de5780f48b655
treee7a54cebc8907781b5e88998e6202450e10f7aaf
parenta1d9a58b825825723f1c5f7705f2ed3ef834038a
r600g: Check for other references before checking for existing mappings in radeon_bo_pb_map_internal().

Having a non-NULL data pointer doesn't imply it's safe to reuse that mapping,
it may have been unmapped but not flushed yet.
src/gallium/winsys/r600/drm/radeon_bo_pb.c