job.c (a3b072cd180c12e8fe0ece9487b9065808327640) job.c (89e6e8c85f21555a763d0e47841b515ede6278d1)
1/*
2 * Tegra host1x Job
3 *
4 * Copyright (c) 2010-2013, NVIDIA Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.

--- 524 unchanged lines hidden (view full) ---

533 struct host1x_job_gather *g = &job->gathers[i];
534
535 /* process each gather mem only once */
536 if (g->handled)
537 continue;
538
539 g->base = job->gather_addr_phys[i];
540
1/*
2 * Tegra host1x Job
3 *
4 * Copyright (c) 2010-2013, NVIDIA Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.

--- 524 unchanged lines hidden (view full) ---

533 struct host1x_job_gather *g = &job->gathers[i];
534
535 /* process each gather mem only once */
536 if (g->handled)
537 continue;
538
539 g->base = job->gather_addr_phys[i];
540
541 for (j = 0; j < job->num_gathers; j++)
541 for (j = i + 1; j < job->num_gathers; j++)
542 if (job->gathers[j].bo == g->bo)
543 job->gathers[j].handled = true;
544
545 err = do_relocs(job, g->bo);
546 if (err)
547 break;
548
549 err = do_waitchks(job, host, g->bo);

--- 49 unchanged lines hidden ---
542 if (job->gathers[j].bo == g->bo)
543 job->gathers[j].handled = true;
544
545 err = do_relocs(job, g->bo);
546 if (err)
547 break;
548
549 err = do_waitchks(job, host, g->bo);

--- 49 unchanged lines hidden ---