On Wed, Mar 15, 2017 at 08:54:40AM -0700, Jason Ekstrand wrote:
>On Wed, Mar 15, 2017 at 8:37 AM, Chris Wilson
><[1]ch...@chris-wilson.co.uk> wrote:
>
> On Wed, Mar 15, 2017 at 08:28:24AM -0700, Jason Ekstrand wrote:
> > On Wed, Mar 15, 2017 at 5:21 AM, Chris Wilson
> >
On Wed, Mar 15, 2017 at 8:37 AM, Chris Wilson
wrote:
> On Wed, Mar 15, 2017 at 08:28:24AM -0700, Jason Ekstrand wrote:
> >On Wed, Mar 15, 2017 at 5:21 AM, Chris Wilson
> ><[1]ch...@chris-wilson.co.uk> wrote:
> >
> > On Wed, Mar 15, 2017 at 09:50:57AM +, Chris Wilson wrote:
> >
On Wed, Mar 15, 2017 at 08:28:24AM -0700, Jason Ekstrand wrote:
>On Wed, Mar 15, 2017 at 5:21 AM, Chris Wilson
><[1]ch...@chris-wilson.co.uk> wrote:
>
> On Wed, Mar 15, 2017 at 09:50:57AM +, Chris Wilson wrote:
> > On Tue, Mar 14, 2017 at 10:43:07PM -0700, Jason Ekstrand wrot
On Wed, Mar 15, 2017 at 5:21 AM, Chris Wilson
wrote:
> On Wed, Mar 15, 2017 at 09:50:57AM +, Chris Wilson wrote:
> > On Tue, Mar 14, 2017 at 10:43:07PM -0700, Jason Ekstrand wrote:
> > > +void
> > > +anv_bo_cache_release(struct anv_device *device,
> > > + struct anv_bo_cac
On Wed, Mar 15, 2017 at 09:50:57AM +, Chris Wilson wrote:
> On Tue, Mar 14, 2017 at 10:43:07PM -0700, Jason Ekstrand wrote:
> > +void
> > +anv_bo_cache_release(struct anv_device *device,
> > + struct anv_bo_cache *cache,
> > + struct anv_bo *bo_in,
> > +
On Tue, Mar 14, 2017 at 10:43:07PM -0700, Jason Ekstrand wrote:
> +void
> +anv_bo_cache_release(struct anv_device *device,
> + struct anv_bo_cache *cache,
> + struct anv_bo *bo_in,
> + VkAllocationCallbacks *alloc)
> +{
> + assert(anv_bo
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().
---
src/
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.
---
src/intel/vulkan/anv_allocator.c | 212 +++
src/intel/vulkan/anv_private.h | 26