projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dc22ca
)
vc4: Keep sample mask writes from being reordered after TLB writes
author
Eric Anholt
<eric@anholt.net>
Fri, 18 Dec 2015 19:41:38 +0000
(11:41 -0800)
committer
Eric Anholt
<eric@anholt.net>
Sat, 19 Dec 2015 01:09:03 +0000
(17:09 -0800)
Fixes a regression I noticed after introducing scheduling on the QIR.
Cc: "11.1" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/vc4/vc4_qpu_schedule.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_qpu_schedule.c
b/src/gallium/drivers/vc4/vc4_qpu_schedule.c
index
98b7b60
..
76cad2e
100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_qpu_schedule.c
+++ b/
src/gallium/drivers/vc4/vc4_qpu_schedule.c
@@
-259,7
+259,8
@@
process_waddr_deps(struct schedule_state *state, struct schedule_node *n,
}
} else if (is_tmu_write(waddr)) {
add_write_dep(state, &state->last_tmu_write, n);
- } else if (qpu_waddr_is_tlb(waddr)) {
+ } else if (qpu_waddr_is_tlb(waddr) ||
+ waddr == QPU_W_MS_FLAGS) {
add_write_dep(state, &state->last_tlb, n);
} else {
switch (waddr) {