Revert "iris: Don't check VF address high bits when there is no buffer."

This reverts commit db8f57a5cb.

This is bonkers.  There will always be a BO.
This commit is contained in:
Kenneth Graunke
2019-06-21 18:04:52 -05:00
parent 4449572c47
commit 5da37a826b
+1 -1
View File
@@ -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;
}