projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d4488e
)
svga: Don't call swc->flush directly.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 3 Feb 2011 15:02:07 +0000
(15:02 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 3 Feb 2011 15:15:23 +0000
(15:15 +0000)
Only svga_context_flush should do it, to ensure upload commands are not
submitted to hardware in an inconsistent state.
src/gallium/drivers/svga/svga_resource_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_resource_texture.c
b/src/gallium/drivers/svga/svga_resource_texture.c
index
7c9e600
..
2135471
100644
(file)
--- a/
src/gallium/drivers/svga/svga_resource_texture.c
+++ b/
src/gallium/drivers/svga/svga_resource_texture.c
@@
-204,7
+204,7
@@
svga_transfer_dma_band(struct svga_context *svga,
ret = SVGA3D_SurfaceDMA(svga->swc, st, transfer, &box, 1);
if(ret != PIPE_OK) {
- svga
->swc->flush(svga->swc
, NULL);
+ svga
_context_flush(svga
, NULL);
ret = SVGA3D_SurfaceDMA(svga->swc, st, transfer, &box, 1);
assert(ret == PIPE_OK);
}