diff options
author | Jason Ekstrand <[email protected]> | 2017-03-13 16:18:54 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-04-27 20:08:46 -0700 |
commit | 494d6f65a7c5138bd3bda062afd6a1c4adadc1e8 (patch) | |
tree | 8dac4ec72b7bbddf86af69fab4d30263e1ecbe6a /common.py | |
parent | 5d25ac6a4b0bb655101b67e267fdac7a15775916 (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().
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions