Re: [Mesa-dev] [PATCH] anv: add support for allocating more than 1 block of memory

2017-03-09 Thread Juan A. Suarez Romero
On Wed, 2017-03-08 at 07:08 -0800, Jason Ekstrand wrote: > On March 8, 2017 2:26:05 AM "Juan A. Suarez Romero" > wrote: > > > On Tue, 2017-03-07 at 09:49 -0800, Jason Ekstrand wrote: > >> On Tue, Mar 7, 2017 at 12:22 AM, Juan A. Suarez Romero > >>

Re: [Mesa-dev] [PATCH] anv: add support for allocating more than 1 block of memory

2017-03-08 Thread Jason Ekstrand
On March 8, 2017 2:26:05 AM "Juan A. Suarez Romero" wrote: On Tue, 2017-03-07 at 09:49 -0800, Jason Ekstrand wrote: On Tue, Mar 7, 2017 at 12:22 AM, Juan A. Suarez Romero wrote: > On Mon, 2017-02-27 at 13:48 +0100, Juan A. Suarez Romero wrote: > >

Re: [Mesa-dev] [PATCH] anv: add support for allocating more than 1 block of memory

2017-03-08 Thread Juan A. Suarez Romero
On Tue, 2017-03-07 at 09:49 -0800, Jason Ekstrand wrote: > On Tue, Mar 7, 2017 at 12:22 AM, Juan A. Suarez Romero > wrote: > > On Mon, 2017-02-27 at 13:48 +0100, Juan A. Suarez Romero wrote: > > > > > Current Anv allocator assign memory in terms of a fixed block size. > >

Re: [Mesa-dev] [PATCH] anv: add support for allocating more than 1 block of memory

2017-03-07 Thread Jason Ekstrand
On Tue, Mar 7, 2017 at 12:22 AM, Juan A. Suarez Romero wrote: > On Mon, 2017-02-27 at 13:48 +0100, Juan A. Suarez Romero wrote: > > Current Anv allocator assign memory in terms of a fixed block size. > > > > But there can be cases where this block is not enough for a memory

Re: [Mesa-dev] [PATCH] anv: add support for allocating more than 1 block of memory

2017-03-07 Thread Juan A. Suarez Romero
On Mon, 2017-02-27 at 13:48 +0100, Juan A. Suarez Romero wrote: > Current Anv allocator assign memory in terms of a fixed block size. > > But there can be cases where this block is not enough for a memory > request, and thus several blocks must be assigned in a row. > > This commit adds support

[Mesa-dev] [PATCH] anv: add support for allocating more than 1 block of memory

2017-02-27 Thread Juan A. Suarez Romero
Current Anv allocator assign memory in terms of a fixed block size. But there can be cases where this block is not enough for a memory request, and thus several blocks must be assigned in a row. This commit adds support for specifying how many blocks of memory must be assigned. This fixes a