linux/drivers/gpu/host1x
Erik Faye-Lund a9ff999538 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 <kusmabite@gmail.com>
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Acked-By: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2013-10-31 09:20:04 +01:00
..
drm drm: Make irq_enabled bool 2013-10-09 15:55:32 +10:00
hw gpu: host1x: Rework CPU syncpoint increment 2013-06-22 12:43:55 +02:00
cdma.c gpu: host1x: Add debug support 2013-04-22 12:32:46 +02:00
cdma.h gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
channel.c gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
channel.h gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
debug.c gpu: host1x: Add debug support 2013-04-22 12:32:46 +02:00
debug.h gpu: host1x: Add debug support 2013-04-22 12:32:46 +02:00
dev.c gpu: host1x: Check for valid host1x pointer 2013-09-03 10:10:11 +02:00
dev.h gpu: host1x: Sort drivers by probe order 2013-09-03 10:10:12 +02:00
host1x_bo.h gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
host1x_client.h gpu: host1x: Remove second host1x driver 2013-04-22 12:39:59 +02:00
host1x.h drm/tegra: Add gr2d device 2013-04-22 12:40:04 +02:00
intr.c gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
intr.h gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
job.c gpu: host1x: check relocs after all gathers are consumed 2013-10-31 09:20:04 +01:00
job.h gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
Kconfig drm/tegra: Move drm to live under host1x 2013-04-22 12:39:11 +02:00
Makefile drm/tegra: Add gr2d device 2013-04-22 12:40:04 +02:00
syncpt.c gpu: host1x: Rework CPU syncpoint increment 2013-06-22 12:43:55 +02:00
syncpt.h gpu: host1x: Rework CPU syncpoint increment 2013-06-22 12:43:55 +02:00