gpu: host1x: Optimize BOs usage when firewall is enabled
authorDmitry Osipenko <digetx@gmail.com>
Mon, 29 Jun 2020 03:18:39 +0000 (06:18 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 17 Jul 2020 14:06:14 +0000 (16:06 +0200)
commit26c8de5e5dea6f42bb5553ad09aaa94b6139a77b
treeb05c8237d0a2944431229850e7487380252a2022
parentb3f1b760710f2acfc04abefc09358c26a75e7e89
gpu: host1x: Optimize BOs usage when firewall is enabled

We don't need to hold and pin original BOs of the gathers in a case of
enabled firewall because in this case gather's content is copied and the
copy is used by the executed job.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/job.c