From: Dmitry Osipenko <digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: David Ung <davidu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
airlied-cv59FeDIM0c@public.gmane.org
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
tbergstrom-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org,
swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org,
amerilainen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org
Subject: Re: [PATCH] gpu: host1x: Store physical address to all bufs
Date: Sat, 17 Jan 2015 04:43:15 +0300 [thread overview]
Message-ID: <54B9BE33.8010907@gmail.com> (raw)
In-Reply-To: <1421456866-31670-1-git-send-email-davidu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
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
next prev parent reply other threads:[~2015-01-17 1:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
[not found] ` <54B9BE33.8010907-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-01-17 6:27 ` David Ung
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54B9BE33.8010907@gmail.com \
--to=digetx-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=airlied-cv59FeDIM0c@public.gmane.org \
--cc=amerilainen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=davidu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
--cc=tbergstrom-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.