Re: [Mesa-dev] [PATCH v2 7/9] anv/allocator: Add a syncobj cache

2017-08-04 Thread Jason Ekstrand
On Fri, Aug 4, 2017 at 1:59 AM, Chris Wilson wrote: > Quoting Jason Ekstrand (2017-08-04 02:25:26) > > This is mostly a copy+paste of the BO cache but it's a bit simpler > > because syncobjs don't have actual backing storage so we don't need to > > check sizes or anything like that. Also, we put

Re: [Mesa-dev] [PATCH v2 7/9] anv/allocator: Add a syncobj cache

2017-08-04 Thread Chris Wilson
Quoting Jason Ekstrand (2017-08-04 02:25:26) > This is mostly a copy+paste of the BO cache but it's a bit simpler > because syncobjs don't have actual backing storage so we don't need to > check sizes or anything like that. Also, we put the refcount directly > in anv_syncobj because they will alwa

[Mesa-dev] [PATCH v2 7/9] anv/allocator: Add a syncobj cache

2017-08-03 Thread Jason Ekstrand
This is mostly a copy+paste of the BO cache but it's a bit simpler because syncobjs don't have actual backing storage so we don't need to check sizes or anything like that. Also, we put the refcount directly in anv_syncobj because they will always be heap pointers. --- src/intel/vulkan/anv_alloca