* [PATCH] gpu: host1x: Store physical address to all bufs
@ 2015-01-17 1:07 David Ung
[not found] ` <1421456866-31670-1-git-send-email-davidu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: David Ung @ 2015-01-17 1:07 UTC (permalink / raw)
To: airlied-cv59FeDIM0c
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA,
thierry.reding-Re5JQEeQqe8AvxtiuMwx3w,
tbergstrom-DDmLM1+adcrQT0dZR+AlfA, swarren-3lzwWm7+Weoh9ZMKESR00Q,
amerilainen-DDmLM1+adcrQT0dZR+AlfA
From: Arto Merilainen <amerilainen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Signed-off-by: Arto Merilainen <amerilainen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
drivers/gpu/host1x/job.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/host1x/job.c b/drivers/gpu/host1x/job.c
index 63bd63f..7f3cfff 100644
--- a/drivers/gpu/host1x/job.c
+++ b/drivers/gpu/host1x/job.c
@@ -538,9 +538,12 @@ int host1x_job_pin(struct host1x_job *job, struct device *dev)
g->base = job->gather_addr_phys[i];
- for (j = i + 1; j < job->num_gathers; j++)
- if (job->gathers[j].bo == g->bo)
+ for (j = i + 1; j < job->num_gathers; j++) {
+ if (job->gathers[j].bo == g->bo) {
job->gathers[j].handled = true;
+ job->gathers[j].base = g->base;
+ }
+ }
err = do_relocs(job, g->bo);
if (err)
--
1.8.1.5
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <1421456866-31670-1-git-send-email-davidu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH] gpu: host1x: Store physical address to all bufs [not found] ` <1421456866-31670-1-git-send-email-davidu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> @ 2015-01-17 1:43 ` Dmitry Osipenko [not found] ` <54B9BE33.8010907-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Dmitry Osipenko @ 2015-01-17 1:43 UTC (permalink / raw) To: David Ung, airlied-cv59FeDIM0c Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA, thierry.reding-Re5JQEeQqe8AvxtiuMwx3w, tbergstrom-DDmLM1+adcrQT0dZR+AlfA, swarren-3lzwWm7+Weoh9ZMKESR00Q, amerilainen-DDmLM1+adcrQT0dZR+AlfA 17.01.2015 04:07, David Ung пишет: > From: Arto Merilainen <amerilainen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > > Signed-off-by: Arto Merilainen <amerilainen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > --- > drivers/gpu/host1x/job.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/host1x/job.c b/drivers/gpu/host1x/job.c > index 63bd63f..7f3cfff 100644 > --- a/drivers/gpu/host1x/job.c > +++ b/drivers/gpu/host1x/job.c > @@ -538,9 +538,12 @@ int host1x_job_pin(struct host1x_job *job, struct device *dev) > > g->base = job->gather_addr_phys[i]; > > - for (j = i + 1; j < job->num_gathers; j++) > - if (job->gathers[j].bo == g->bo) > + for (j = i + 1; j < job->num_gathers; j++) { > + if (job->gathers[j].bo == g->bo) { > job->gathers[j].handled = true; > + job->gathers[j].base = g->base; > + } > + } > > err = do_relocs(job, g->bo); > if (err) > No commit description? Is it bugfix or optimization... -- Dmitry ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <54B9BE33.8010907-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* RE: [PATCH] gpu: host1x: Store physical address to all bufs [not found] ` <54B9BE33.8010907-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2015-01-17 6:27 ` David Ung 0 siblings, 0 replies; 3+ messages in thread From: David Ung @ 2015-01-17 6:27 UTC (permalink / raw) To: 'Dmitry Osipenko', airlied-cv59FeDIM0c@public.gmane.org Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, Terje Bergstrom, swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org, Arto Merilainen > -----Original Message----- > From: Dmitry Osipenko [mailto:digetx@gmail.com] > Sent: Friday, January 16, 2015 5:43 PM > To: David Ung; airlied@linux.ie > Cc: linux-tegra@vger.kernel.org; thierry.reding@gmail.com; Terje > Bergstrom; swarren@wwwdotorg.org; Arto Merilainen > Subject: Re: [PATCH] gpu: host1x: Store physical address to all bufs > > 17.01.2015 04:07, David Ung пишет: > > From: Arto Merilainen <amerilainen@nvidia.com> > > > > Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> > > --- > > drivers/gpu/host1x/job.c | 7 +++++-- > > 1 file changed, 5 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/gpu/host1x/job.c b/drivers/gpu/host1x/job.c index > > 63bd63f..7f3cfff 100644 > > --- a/drivers/gpu/host1x/job.c > > +++ b/drivers/gpu/host1x/job.c > > @@ -538,9 +538,12 @@ int host1x_job_pin(struct host1x_job *job, struct > > device *dev) > > > > g->base = job->gather_addr_phys[i]; > > > > - for (j = i + 1; j < job->num_gathers; j++) > > - if (job->gathers[j].bo == g->bo) > > + for (j = i + 1; j < job->num_gathers; j++) { > > + if (job->gathers[j].bo == g->bo) { > > job->gathers[j].handled = true; > > + job->gathers[j].base = g->base; > > + } > > + } > > > > err = do_relocs(job, g->bo); > > if (err) > > > No commit description? Is it bugfix or optimization... Sorry this is actually a part of the series of patches that adds other host1x clients. So its more like a features patch. I shall post this as part of a series, so please ignore this for now. David ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-17 6:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-17 1:07 [PATCH] gpu: host1x: Store physical address to all bufs David Ung
[not found] ` <1421456866-31670-1-git-send-email-davidu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-01-17 1:43 ` Dmitry Osipenko
[not found] ` <54B9BE33.8010907-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-01-17 6:27 ` David Ung
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.