diff options
author | Rafael Antognolli <[email protected]> | 2019-01-15 13:57:00 -0800 |
---|---|---|
committer | Rafael Antognolli <[email protected]> | 2019-01-17 15:08:20 -0800 |
commit | 5d61c74f3de0510289b2527562607042c4995094 (patch) | |
tree | e1557b5e08bc43a4807a6606da584a542bee6e4b /src/intel/vulkan/anv_image.c | |
parent | dfc9ab2ccd93863387073e7eb5c50c29f0abb68f (diff) |
anv/allocator: Enable snooping on block pool and anv_bo_pool BOs.
We are not going to use userptr for anv block pool BOs anymore. However,
so far we have been relying on the fact that userptr BOs are snooped on
non-llc platforms. Let's make sure that the block pool BOs are still
snooped, and we can also remove the clflush'ing that we do on all state
buffers.
And since we plan to remove the flushes, set the anv_bo_pool BOs to
cached (snooped on non-LLC platforms) too. For LLC platforms, they are
all cached by default, so this becomes a no-op.
v5:
- Add snooping to anv_bo_pool BOs too (Jason).
- Remove anv_gem_set_domain.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_image.c')
0 files changed, 0 insertions, 0 deletions