projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f56f034
)
r600g: set SMX_ACTION_ENA to fix streamout cache flushes on some chipsets
author
Marek Olšák
<maraeo@gmail.com>
Thu, 14 Jun 2012 20:23:05 +0000
(22:23 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 15 Jun 2012 20:42:59 +0000
(22:42 +0200)
It helps on R7xx.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/r600_hw_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_hw_context.c
b/src/gallium/drivers/r600/r600_hw_context.c
index a0224363fd4143e1280249dfb79b4ed512254b16..0fed95c576cd62b053a8bb3d35a50d199c3d274e 100644
(file)
--- a/
src/gallium/drivers/r600/r600_hw_context.c
+++ b/
src/gallium/drivers/r600/r600_hw_context.c
@@
-1453,7
+1453,8
@@
void r600_context_streamout_end(struct r600_context *ctx)
}
/* Flush streamout caches. */
- ctx->surface_sync_cmd.flush_flags |= flush_flags;
+ ctx->surface_sync_cmd.flush_flags |=
+ S_0085F0_SMX_ACTION_ENA(1) | flush_flags;
r600_atom_dirty(ctx, &ctx->surface_sync_cmd.atom);
ctx->num_cs_dw_streamout_end = 0;