Re: [Mesa-dev] [PATCH] anv/allocator: Add a BO cache

2017-04-12 Thread Chad Versace
On Mon 10 Apr 2017, Jason Ekstrand wrote: > 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 t

[Mesa-dev] [PATCH] anv/allocator: Add a BO cache

2017-04-10 Thread Jason Ekstrand
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(). v3 (Jason