commit | b24ae53ad5ade29ed491d8662a36336b2d05322c | [log] [tgz] |
---|---|---|
author | John Bauman <jbauman@google.com> | Wed Oct 23 14:11:29 2019 -0700 |
committer | Craig Stout <cstout@google.com> | Thu Oct 31 10:50:36 2019 -0700 |
tree | 0e801418206dd115ecca7ca939fd379e53f231f2 | |
parent | 7062199644cedf66fe5a69319cf63663d0d5f99a [diff] |
Use channel-based APIs to open devices Implement vk_icdInitializeConnectToServiceCallback and use the callback to connect to tracing, sysmem, and the driver, and pass those connections to libmagma. This involves changing a bunch of APIs inside anvil to take an anv_device_handle_t instead of an fd. Test: go/magma-tps#L0 and termina_integration_tests on NUC Bug: 13095 Change-Id: Ia7c470eb1b830bb49550428de10f3325827920a8