r600g: Made radeon_bo_pb_map_internal() actually call radeon_bo_map().
authorTilman Sauerbeck <tilman@code-monkey.de>
Fri, 29 Oct 2010 17:29:54 +0000 (19:29 +0200)
committerTilman Sauerbeck <tilman@code-monkey.de>
Tue, 2 Nov 2010 20:52:38 +0000 (21:52 +0100)
commitb675266f0e144fd8cd08600c72a8207ce50b25e8
tree504d0dcbf51ef5a9a5c6c43aa4a9b1389d65cc4f
parent4e34393162660a8429ef33e6ec48cfdd01090d70
r600g: Made radeon_bo_pb_map_internal() actually call radeon_bo_map().

This ensures that we increase bo->map_count when radeon_bo_map_internal()
returns successfully, which in turn makes sure we don't decrement
bo->map_count below zero later.

Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
src/gallium/winsys/r600/drm/radeon_bo_pb.c