summaryrefslogtreecommitdiffstats
path: root/VERSION
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-04-09 15:39:56 -0700
committerKenneth Graunke <[email protected]>2018-05-22 10:02:28 -0700
commit92f01fc5f914fd500497d0c3aed75f3ac8dc054d (patch)
tree4f770b126dd1bf91399ff4bb0e982304bc6a3798 /VERSION
parentc7259259d4c0df9ba339f4927891c855c7f91924 (diff)
i965: Emit VF cache invalidates for 48-bit addressing bugs with softpin.
We'd like to start using soft-pin to assign BO addresses up front, and never move them again. Our previous plan for dealing with 48-bit VF cache bugs was to relocate vertex buffers to the low 4GB, so we'd never have addresses that alias in the low 32 bits. But that requires moving buffers dynamically. This patch tracks the last seen BO address for each vertex/index buffer, and emits a VF cache invalidate if the high bits change. (Ideally, we won't hit this case very often.) This should work for the soft-pin case, but unfortunately won't work in the relocation case, as we don't actually know the addresses. So, we have to use both methods. v2: Mention that the cache uses a <VertexBufferIndex, Address> tuple more explicitly (suggested by Scott). Mention "single batch" too (suggested by Chris). Reviewed-by: Scott D Phillips <[email protected]>
Diffstat (limited to 'VERSION')
0 files changed, 0 insertions, 0 deletions