diff options
author | Jason Ekstrand <[email protected]> | 2016-11-05 19:47:33 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-11-09 11:31:12 -0800 |
commit | 8b61c57049ff75766715ad4f7b1ad2d3657b9b4d (patch) | |
tree | e05714e8c01219542ec2e169d8c80bef493094ee /.gitignore | |
parent | 595400d57745fba198b42d95f3c4f5d855023c33 (diff) |
anv: Move relocation handling from EndCommandBuffer to QueueSubmit
Ever since the early days of the Vulkan driver, we've been setting up the
lists of relocations at EndCommandBuffer time. The idea behind this was to
move some of the CPU load out of QueueSubmit which the client is required
to lock around and into command buffer building which could be done in
parallel. Then QueueSubmit basically just becomes a bunch of execbuf2
calls.
Technically, this works. However, when you start to do more in QueueSubmit
than just execbuf2, you start to run into problems. In particular, if a
block pool is resized between EndCommandBuffer and QueueSubmit, the list of
anv_bo's and the execbuf2 object list can get out of sync. This can cause
problems if, for instance, you wanted to do relocations in userspace.
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Cc: "13.0" <[email protected]>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions