This is primarily a re-send of the previous series. In responding to some of Chris Wilson's comments, I found more bugs in the existing relocation code which required some fixing.
One major change from the previous series is that I put all of the new relocation handling code in anv_batch_chain.c with the rest of the relocation handling code. I also added an environment variable to turn of userspace relocations. Jason Ekstrand (7): anv/device: Add an execbuf wrapper anv: Add a cmd_buffer_execbuf helper anv: Don't presume to know what address is in a surface relocation anv: Add a new bo_pool_init helper anv/allocator: Simplify anv_scratch_pool anv: Initialize anv_bo::offset to -1 anv/batch_chain: Improve write_reloc Kristian Høgsberg (1): anv: Do relocations in userspace before execbuf ioctl src/intel/vulkan/anv_allocator.c | 118 +++++++++----------- src/intel/vulkan/anv_batch_chain.c | 222 ++++++++++++++++++++++++++++--------- src/intel/vulkan/anv_device.c | 67 ++++++----- src/intel/vulkan/anv_intel.c | 11 +- src/intel/vulkan/anv_private.h | 26 ++++- 5 files changed, 285 insertions(+), 159 deletions(-) -- 2.5.0.400.gff86faf _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev