Skip to content

anv/xe: vm_bind reworks for Sparse resources

Paulo Zanoni requested to merge pzanoni/mesa:anv-vmbind-sparse-prep into main

Here are some patches that I've been carrying on !23045 (merged) for a while, and even received some comments there.

  • The first 3 patches are absolutely necessary for Sparse resources to work. I should point that the final API for asynchronous binding is not decided and is being actively discussed.
  • Patches 4 and 6 are minor.
  • Patch 5 is a trivial part of what was implemented in dde39409 and 0cd78445 . It may help a little bit with the CPU overhead we've seen on xe.ko when compared to i915.ko in games with high FPS. I'll leave the part where we asynchronously wait for the vmbind for later, as async vmbind support on xe.ko is still not finalized.

Merge request reports