projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c503381
)
radeonsi: fix missing num_L2_invalidates increment
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 7 Jun 2017 23:32:51 +0000
(
01:32
+0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 12 Jun 2017 16:24:37 +0000
(18:24 +0200)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state_draw.c
b/src/gallium/drivers/radeonsi/si_state_draw.c
index 8508259ad876cbcfa7dd60f4b7aad6236c5877b6..ec564c1a05789a215b05fdc1fa1b18b2233a3724 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state_draw.c
+++ b/
src/gallium/drivers/radeonsi/si_state_draw.c
@@
-993,6
+993,7
@@
void si_emit_cache_flush(struct si_context *sctx)
rctx->flags &= ~(SI_CONTEXT_INV_GLOBAL_L2 |
SI_CONTEXT_WRITEBACK_GLOBAL_L2 |
SI_CONTEXT_INV_VMEM_L1);
+ sctx->b.num_L2_invalidates++;
}
/* Allocate memory for the fence. */