Skip to content
Commit a9ff9995 authored by Erik Faye-Lund's avatar Erik Faye-Lund Committed by Thierry Reding
Browse files

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: default avatarErik Faye-Lund <kusmabite@gmail.com>
Reviewed-by: default avatarArto Merilainen <amerilainen@nvidia.com>
Acked-By: default avatarTerje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent f28c38ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment