From: Erik Faye-Lund Date: Fri, 4 Oct 2013 20:18:33 +0000 (+0000) Subject: gpu: host1x: check relocs after all gathers are consumed X-Git-Tag: v3.13-rc1~76^2~65^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9ff999538ab2bf6d3b1ed8ab5a016bfc6fe2cd1;p=pandora-kernel.git gpu: host1x: check relocs after all gathers are consumed 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 Reviewed-by: Arto Merilainen Acked-By: Terje Bergstrom Signed-off-by: Thierry Reding --- Reading git-diff-tree failed