projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f717fd2
)
r600g: add bo wait after map.
author
Dave Airlie
<airlied@redhat.com>
Fri, 6 Aug 2010 01:44:31 +0000
(11:44 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 6 Aug 2010 01:46:52 +0000
(11:46 +1000)
src/gallium/drivers/r600/r600_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_texture.c
b/src/gallium/drivers/r600/r600_texture.c
index 033c71f6ef1289b570b4e3a554108c001f8c1fc8..1bce91130668c62655591b8122c4cd9314115239 100644
(file)
--- 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 +