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 the prime fd size as
>    reported by lseek().
> 
> v3 (Jason Ekstrand):
>  - Get rid of the alloc parameter to all of the calls and just use
>    device->alloc instead.
>  - Allocate the correct amount of memory for the anv_cached_bo structure.
> 
> Cc: Chad Versace <chadvers...@chromium.org>
> ---
>  src/intel/vulkan/anv_allocator.c | 263 
> +++++++++++++++++++++++++++++++++++++++
>  src/intel/vulkan/anv_private.h   |  21 ++++
>  2 files changed, 284 insertions(+)

Reviewed-by: Chad Versace <chadvers...@chromium.org>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to