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

From: Arto Merilainen
Date: Tue Oct 08 2013 - 01:27:07 EST


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@xxxxxxxxx>

Reviewed-by: Arto Merilainen <amerilainen@xxxxxxxxxx>

- Arto
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/