summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-04-06 13:34:38 -0700
committerJason Ekstrand <[email protected]>2017-04-07 12:17:20 -0700
commit4e17b59f6cea79df078f553376b0392fbbf1ae0a (patch)
tree260d9bdfc9a3c58ea95d2c4684d78c92c0d21471 /include
parent5318d1ff94b474103a69e16af25bf641dad20a7b (diff)
anv/query: Use snooping on !LLC platforms
Commit b2c97bc789198427043cd902bc76e194e7e81c7d which made us start using a busy-wait for individual query results also messed up cache flushing on !LLC platforms. For one thing, I forgot the mfence after the clflush so memory access wasn't properly getting fenced. More importantly, however, was that we were clflushing the whole query range and then waiting for individual queries and then trying to read the results without clflushing again. Getting the clflushing both correct and efficient is very subtle and painful. Instead, let's side-step the problem by just snooping. Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions