Re: [Mesa-dev] [PATCH v3] anv: handle failures when growing reloc lists

2017-03-16 Thread Pohjolainen, Topi
On Thu, Mar 16, 2017 at 08:56:30AM +0100, Iago Toral wrote: > On Wed, 2017-03-15 at 16:56 +0200, Pohjolainen, Topi wrote: > > On Wed, Mar 15, 2017 at 01:03:37PM +0100, Iago Toral Quiroga wrote: > > > > > > Growing the reloc list happens through calling anv_reloc_list_add() > > > or > > > anv_reloc

Re: [Mesa-dev] [PATCH v3] anv: handle failures when growing reloc lists

2017-03-16 Thread Iago Toral
On Wed, 2017-03-15 at 16:56 +0200, Pohjolainen, Topi wrote: > On Wed, Mar 15, 2017 at 01:03:37PM +0100, Iago Toral Quiroga wrote: > > > > Growing the reloc list happens through calling anv_reloc_list_add() > > or > > anv_reloc_list_append(). Make sure that we call these through > > helpers > > tha

Re: [Mesa-dev] [PATCH v3] anv: handle failures when growing reloc lists

2017-03-15 Thread Pohjolainen, Topi
On Wed, Mar 15, 2017 at 01:03:37PM +0100, Iago Toral Quiroga wrote: > Growing the reloc list happens through calling anv_reloc_list_add() or > anv_reloc_list_append(). Make sure that we call these through helpers > that check the result and set the batch error status if needed. > > v2: > - Handl

[Mesa-dev] [PATCH v3] anv: handle failures when growing reloc lists

2017-03-15 Thread Iago Toral Quiroga
Growing the reloc list happens through calling anv_reloc_list_add() or anv_reloc_list_append(). Make sure that we call these through helpers that check the result and set the batch error status if needed. v2: - Handling the crashes is not good enough, we need to keep track of the error, for