projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4449572
)
Revert "iris: Don't check VF address high bits when there is no buffer."
author
Kenneth Graunke
<kenneth@whitecape.org>
Fri, 21 Jun 2019 23:04:52 +0000
(18:04 -0500)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Sat, 22 Jun 2019 01:50:42 +0000
(20:50 -0500)
This reverts commit
db8f57a5cb4ab8e1ad789793678797c04e95de21
.
This is bonkers. There will always be a BO.
src/gallium/drivers/iris/iris_blorp.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_blorp.c
b/src/gallium/drivers/iris/iris_blorp.c
index ede679e731af0002d05157def0640731a7e5b7ea..209940e9bc788ff1aadc5eb061268b8440be444b 100644
(file)
--- a/
src/gallium/drivers/iris/iris_blorp.c
+++ b/
src/gallium/drivers/iris/iris_blorp.c
@@
-212,7
+212,7
@@
blorp_vf_invalidate_for_vb_48b_transitions(struct blorp_batch *blorp_batch,
struct iris_bo *bo = addrs[i].buffer;
uint16_t high_bits = bo ? bo->gtt_offset >> 32u : 0;
- if (
bo &&
high_bits != ice->state.last_vbo_high_bits[i]) {
+ if (high_bits != ice->state.last_vbo_high_bits[i]) {
need_invalidate = true;
ice->state.last_vbo_high_bits[i] = high_bits;
}