From: Dave Airlie Date: Fri, 6 Aug 2010 01:44:31 +0000 (+1000) Subject: r600g: add bo wait after map. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=121a625c1651ddc181e374ebdf16bc5c46f6eaa9;p=mesa.git r600g: add bo wait after map. --- diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 033c71f6ef1..1bce9113066 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -240,6 +240,8 @@ void* r600_texture_transfer_map(struct pipe_context *ctx, if (radeon_bo_map(rscreen->rw, resource->bo)) { return NULL; } + radeon_bo_wait(rscreen->rw, resource->bo); + map = resource->bo->data; return map + rtransfer->offset +