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

Arto Merilainen amerilainen at nvidia.com
Tue Oct 8 07:22:51 CEST 2013


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
> consumed.
>
> Signed-off-by: Erik Faye-Lund <kusmabite at gmail.com>

Reviewed-by: Arto Merilainen <amerilainen at nvidia.com>

- Arto


More information about the dri-devel mailing list