commit | b6ceb27d3dd026e0417f6907211fdaa5f5f45e26 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Mon Mar 13 16:18:54 2017 -0700 |
committer | Craig Stout <cstout@google.com> | Wed Aug 23 15:55:30 2017 -0700 |
tree | 26cc7e5d18c7d147da4f3bb1376ab72dbc12777b | |
parent | dbba746a0c24b08695c9d3895f0c5cb20578b973 [diff] |
anv/allocator: Add a BO cache This cache allows us to easily ensure that we have a unique anv_bo for each gem handle. We'll need this in order to support multiple-import of memory objects and semaphores. v2 (Jason Ekstrand): - Reject BO imports if the size doesn't match the prime fd size as reported by lseek(). Change-Id: Id070c0e3495b6e4e90c1038d541dceede06c77e1 Reviewed-by: Chad Versace <chadversary@chromium.org>