Skip to content
  • Faith Ekstrand's avatar
    anv/allocator: Add a BO cache · 494d6f65
    Faith Ekstrand authored
    
    
    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: default avatarChad Versace <chadversary@chromium.org>
    494d6f65