Re: [PATCH] gpu: host1x: check relocs after all gathers are consumed

2013-10-08 Thread Thierry Reding
On Fri, Oct 04, 2013 at 08:18:33PM +, Erik Faye-Lund wrote: > The num_relocs count are passed to the kernel per job, not per gather. > > For multi-gather jobs, we would previously fail if there were relocs in > other gathers aside from the first one. > > Fix this by simply moving the check un

Re: [PATCH] gpu: host1x: check relocs after all gathers are consumed

2013-10-08 Thread Terje Bergström
On 04.10.2013 23:18, Erik Faye-Lund wrote: > The num_relocs count are passed to the kernel per job, not per gather. > > For multi-gather jobs, we would previously fail if there were relocs in > other gathers aside from the first one. > > Fix this by simply moving the check until all gathers have

Re: [PATCH] gpu: host1x: check relocs after all gathers are consumed

2013-10-07 Thread Arto Merilainen
On 10/04/2013 11:18 PM, Erik Faye-Lund wrote: The num_relocs count are passed to the kernel per job, not per gather. For multi-gather jobs, we would previously fail if there were relocs in other gathers aside from the first one. Fix this by simply moving the check until all gathers have been co

[PATCH] gpu: host1x: check relocs after all gathers are consumed

2013-10-04 Thread Erik Faye-Lund
The num_relocs count are passed to the kernel per job, not per gather. For multi-gather jobs, we would previously fail if there were relocs in other gathers aside from the first one. Fix this by simply moving the check until all gathers have been consumed. Signed-off-by: Erik Faye-Lund --- dri